Indicatore di n piriodi/giorni calcolato n periodi/giorni fa

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #83841 quote
    MuadDib90
    Participant
    New

    Ciao, ho bisogno di calcolare due ATR uno per esempio di 10 periodi con un altro ATR, sempre calcolato sulle ultime 10 barre, ma rilevato 10 barre fa. Come posso farlo? Grazie.

    #83858 quote
    robertogozzi
    Moderator
    Master

    Eccolo:

    DEFPARAM CalculateOnLastBars = 500
    Adx1 = Adx[10]
    Adx2 = Adx1[10]
    return Adx1 coloured(255,0,0,255) AS "Adx1",Adx2 coloured(0,255,0,255) AS "Adx2"
    MuadDib90 thanked this post
    #84094 quote
    MuadDib90
    Participant
    New

    Grazie @robertogozzi 🙂

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

Indicatore di n piriodi/giorni calcolato n periodi/giorni fa


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
MuadDib90 @muaddib90 Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 10/31/2018
Status: Active
Attachments: No files
Logo Logo
Loading...