High of the last x bars when activation

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #156306 quote
    TanouTanou
    Participant
    Senior

    Hello everyone! i wish you an happy new year! šŸ˜‰

    I would like to know if you could help me on something I think is quite simple but I still can’t figure it out…

     

    I would like to verify that when the high of heikin-ashi crosses over Senkou Span A that the high of this candle is the high of the x last bars (for example of the 20 last bars).

     

    Could someone give me some help? šŸ™‚

     

    Thanks!

    #156320 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    There you go:

    MyCond = 0
    IF HAhigh CROSSES OVER SenkouSpanA THEN
       IF HAhigh = highest[20](HAhigh) THEN
          MyCond = 1
       ENDIF
    ENDIF
    #158252 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Moving this topic from french probuilder forum to english probuilder forum, please use the posting rules in the yellow box below giving guidelines on where to post what for future messages, thank you.

Viewing 3 posts - 1 through 3 (of 3 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

High of the last x bars when activation


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Tanou @tanou Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by JC_BywanJC_Bywan
5 years, 8 months ago.

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