chiusura candele top

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #148444 quote
    lowbat
    Participant
    Senior

    Buonasera, sarebbe possibile creare un sistema che prevede l’indicazione sul grafico delle candele (in caso long sopra la media semplice a 50 periodi) che chiudono sopra il 25% della loro estensione giornaliera?

     

    Grazie

    1-1.png 1-1.png
    #148530 quote
    tom81ad
    Participant
    Average

    Provo a rispondere io

    
    DEFPARAM DRAWONLASTBARONLY = true // disegna solo su ultimo evento verificato
    C1= Close>Average[50](Close] //chiusura prezzo sopra SMA50 calcolata su close
    C2= Close=> Low+Range*0.25 //Chiusura maggiore o uguale a 25% del range
    
    IF C1 AND C2 THEN //se le condizioni sono verificate
    DRAWARROWDOWN(barindex,high) //disegna freccia in giù in corrispondenza del massimo della barra in corso)
    ENDIF
    
    RETURN
    robertogozzi thanked this post
    #148541 quote
    lowbat
    Participant
    Senior

    Innanzitutto grazie, l’idea c’e’ ma, non sarebbe possibile indicare anche le candele passate? es le ultime 100?

     

    grazie

    #148543 quote
    robertogozzi
    Moderator
    Master

    Basta togliere o commentare la riga 1.

    #148544 quote
    lowbat
    Participant
    Senior

    ho provato, ma indica circa il 90% delle candele sopra la media a 50 anche quelle con chiusura sotto la meta’ dell’estensione giornaliera…..

    #148546 quote
    robertogozzi
    Moderator
    Master

    Certo, scusa, hai chiesto il 25% dell’estensione (range).

    #148554 quote
    lowbat
    Participant
    Senior

    non c’e’ soluzione?

    #148556 quote
    tom81ad
    Participant
    Average

    basta sostituire 0.25 con 0.75

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

chiusura candele top


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
lowbat @lowbat Participant
Summary

This topic contains 7 replies,
has 3 voices, and was last updated by tom81ad
5 years, 4 months ago.

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