Codifica Pattern Unger

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #201852 quote
    Simon
    Participant
    New

    Buongiorno a tutti,

    c’è qualcuno che ha già codificato e potrebbe condividere i pattern Unger in linguaggio PRC?

    Ringrazio anticipatamente

    #201857 quote
    robertogozzi
    Moderator
    Master

    Cercando la parola UNGER sul forum non hai trovato niente?

    Io non li conosco, sai darmi qualche indicazione dove potere trovare la loro formula?

    #201863 quote
    Simon
    Participant
    New

    Ciao Roberto, sono diversi pattern, non è possibile pubblicarli sul forum.

    Potresti cortesemente dirmi come calcolare il range degli ultimi 5 giorni?

    questo codice mi da errore

    x=highest[5](Dhigh)lowest[5](Dlow)

    grazie

    #201961 quote
    robertogozzi
    Moderator
    Master

    Perché Dhigh, Dlow, Dopen e Dclose vogliono sempre le parentesi tonde con 0 per il giorno corrente, 1 quello precedente, ecc… (quindi Dhigh(0), Dlow(0), Dopen(0) e Dclose(0)).

    In questo caso va messo quello correte (0), ci pensano HIGHEST e LOWEST ad andare a prendere i valori dei giorni precedenti (5 giorni partendo da 0, quindi 0, 1, 2, 3 e 4):

    x=highest[5](Dhigh(0))-lowest[5](Dlow(0))
    Simon thanked this post
    #201962 quote
    Simon
    Participant
    New

    Grazie della spiegazione Roberto, gentilissimo.

    Saluti

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Codifica Pattern Unger


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
Simon @simontemp Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by Simon
3 years, 4 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 10/03/2022
Status: Active
Attachments: No files
Logo Logo
Loading...