Converting Five Bar Trend indicator to Pro Order

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #108013 quote
    VonasiVonasi
    Moderator
    Master

    Not exactly sure what you mean by ‘catch’?

    We do not know that a run of red bars has come to an end until we have a set of dots that is not a run of red dots and not a run of green dots but a bunch of ‘indecision’ mixed dots.

    If you just want to know at the close of a bar that it has been a run of 8 red dots then this should simply do that:

    if down = 5 and dcount = 8 then

    The next set could be a 9th set of red dots and the original code was about spotting the end of runs and not just about counting them!

    soulintact thanked this post
    #108029 quote
    soulintactsoulintact
    Participant
    Senior

    Thank you Vonasi. Catch ≈ trigger

    Of course

    I will try that in combination with other expressions

    Thanks for your patience!

Viewing 2 posts - 16 through 17 (of 17 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

Converting Five Bar Trend indicator to Pro Order


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
soulintact @soulintact Participant
Summary

This topic contains 16 replies,
has 3 voices, and was last updated by soulintactsoulintact
7 years ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 08/25/2019
Status: Active
Attachments: 8 files
ProRealCode ProRealCode
Loading...