Enough historical data – Way to test ?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #164840 quote
    Jerome888Jerome888
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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
    robertogozzirobertogozzi
    Moderator
    Legend

    Check BarIndex:

    If Barindex >= 200 Then
       MyMAFast = Average[40](close)
       MyMASlow = Average[200](close)
    Endif
    #164901 quote
    Jerome888Jerome888
    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.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTimeā„¢ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

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 Jerome888Jerome888
5 years, 6 months ago.

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