Pin bar alto/bassa

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #129975 quote
    Tradesun
    Participant
    Senior
    //Risultato1
    c1=Low=Lowest[1](Low)
    c2=Close > High-((High-Low)/3)
    c3=Open > High-((High-Low)/3)
    c4=(high - low) >= (range / 10)
    
    //Risultato2
    c5=High=Highest[1](High)
    c6=Close < (Low+((High-Low)/3))
    c7=Open < (Low+((High-Low)/3))
    c8=(high - low) <= (range / 10)
    
    Risultato = 0
    If c1 and c2 and c3 and c4 Then
    Risultato = 1
    Elsif c5 and c6 and c7 and c8 Then
    Risultato = 2
    Endif
    Screener[Risultato](Risultato AS "1=↑,2=↓")

    Salve, ho provato a modificare questi 2 codici di ricerca candele Pin bar inserendo il range dal minimo al massimo, cioè l’ampiezza che deve essere > di 10 pips

    Vorrei chiedere se il mio codice per ricercare l’ampiezza della barre è giusto, oppure va modificato?

    #130004 quote
    robertogozzi
    Moderator
    Master

    E’ sbagliato,  dividendo RANGE per 10 trovi 1/10mo del range, non se questo è > 10 pips, cambia le righe 5 e 11 (devono essere identiche, non fa niente se sono Vredi o Rosse):

    = range <= 10 * pipsize
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Pin bar alto/bassa


ProScreener: Scansione Mercati & Screener

New Reply
Author
author-avatar
Tradesun @tradesun Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
5 years, 10 months ago.

Topic Details
Forum: ProScreener: Scansione Mercati & Screener
Language: Italian
Started: 05/05/2020
Status: Active
Attachments: No files
Logo Logo
Loading...