bande di bollinger su altro TF

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #207107 quote
    Gabriele Battista
    Participant
    Senior

    Ciao, volevo disegnare su m3 le bande di bollinger (15; 1,8) del TF m15 ma non ci riesco. e’ possibile?

    #207130 quote
    robertogozzi
    Moderator
    Master

    Eccolo, puoi metterlo su un grafico a 1, 3, 5 o 15 minuti (oppure inferiore ad un minuto, basta che 15 minuti ne sia un multiplo):

    Timeframe(15mn,default)
    //Timeframe(15mn,UpdateOnClose)
    ONCE n = 15
    ONCE s = 1.8
    Mean   = Average[n,0](close)
    Dev    = s * std[n](close)
    BollUP = Mean + Dev
    BollDN = Mean - Dev
    //
    Timeframe(default)
    RETURN BollUP AS "Banda Superiore",BollDN AS "Banda Inferiore",Mean AS "Media Centrale"

    così com’è adesso si aggiorna anche durante la formazione della candela a 15 minuti, se preferisci che si aggiorni solo alla chiusura basta che inverti i commenti alle prime due righe.

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

bande di bollinger su altro TF


ProOrder: Trading Automatico & Backtesting

New Reply
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
3 years, 1 month ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 01/09/2023
Status: Active
Attachments: No files
Logo Logo
Loading...