Strategia 4 candele

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #134253 quote
    Vinci1966
    Participant
    Average

    Ho difficoltà ad impostare l’indicatore che mi rilevi tre candele successive con chiusura e apertura all’interno del minimo e massimo della quarta candela precedente.

    L’ho impostato nella seguente maniera ma c’è qualcosa che non va.

    indicatore = 0
    
    ca1 = (close [2] or open [2]) > low [3]
    ca2= close [1] or open [1] > low [3]
    ca3 = close or open > low [3]
    ca4= adx [14] > 15
    ca5= close [2] or open [2] < high [3]
    ca6= close [1] or open [2] < high [3]
    ca7= close or open [2] < high [3]
    ca8= close [3] < open [3]
    IF ca1 and ca2 and ca3 and ca4 and ca5 and ca6 and ca7 and ca8 THEN
    indicatore = 1
    ENDIF
    
    RETURN indicatore

     

     

     

    Attendo un vostro contributo.

    eurusdminuti-15911137698lpc4.png eurusdminuti-15911137698lpc4.png eurusdminuti-15911137698lpc41.png eurusdminuti-15911137698lpc41.png
    #134403 quote
    robertogozzi
    Moderator
    Master

    Eccolo:

    indicatore = 0
    Massimo = high[3]
    Minimo  = low[3]
    IF Summation[3](low >= Minimo and high <= Massimo) = 3 THEN
       indicatore = 1
    ENDIF
    RETURN indicatore
    effegi thanked this post
    #134423 quote
    Vinci1966
    Participant
    Average

    Grazie Roberto

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

Strategia 4 candele


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
Vinci1966 @vinci1966 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Vinci1966
5 years, 9 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 06/03/2020
Status: Active
Attachments: 1 files
Logo Logo
Loading...