codice per Range ultimi 5 "giorni"

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #79977 quote
    devidz
    Participant
    Average

    Buongiorno a tutti, vorrei calcolare il il range di prezzo da High a Low degli ultimi 5 giorni indipendentemente dal timeframe usato,

    qualcuno sa il codice?

    grazie in anticipo

    #79985 quote
    robertogozzi
    Moderator
    Master

    x=highest[5](high)-lowest[5](low)

    devidz thanked this post
    #79986 quote
    robertogozzi
    Moderator
    Master
    x=highest[5](high)-lowest[5](low)
    devidz thanked this post
    #83132 quote
    Alessio
    Participant
    Senior

    Non credo sia corretto se viene usato su timeframe minori del daily

    devidz thanked this post
    #83134 quote
    robertogozzi
    Moderator
    Master

    Hai ragione, usa:

    x=highest[5](Dhigh)-lowest[5](Dlow)
    devidz thanked this post
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

codice per Range ultimi 5 "giorni"


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
devidz @devidz Participant
Summary

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

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