Enough historical data – Way to test ?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #164840 quote
    Jerome888
    Participant
    Average

    Hello,

    How could I test that there is enough historical data available to compute these 2 lines for example ?

    MyMAFast = Average[40](close)
    MyMASlow = Average[200](close)

    Thank you

    #164842 quote
    robertogozzi
    Moderator
    Master

    Only post in the language of the forumthat you are posting in. For example English only in the English speaking forums and French only in the French speaking forums.

    Thank you 🙂

    I moved it from the French forum.

    #164843 quote
    robertogozzi
    Moderator
    Master

    Check BarIndex:

    If Barindex >= 200 Then
       MyMAFast = Average[40](close)
       MyMASlow = Average[200](close)
    Endif
    #164901 quote
    Jerome888
    Participant
    Average

    Oups, sorry for the language…

    Thank you for the tips about barindex robertogozzi

    Topic solved.

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

Enough historical data – Way to test ?


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Jerome888 @jerome888 Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by Jerome888
4 years, 10 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 03/22/2021
Status: Active
Attachments: No files
Logo Logo
Loading...