High Crosses above signal bar

Optuma Forums Optuma Scripting High Crosses above signal bar

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #59805
    • Topics: 14
    • Replies: 11
    • Posts: 25


    My primary signal is  when 7 day rsi crosses above 70. The entry is when the high of that signal bar is crossed. I have coded as below but it dosent seems to be working. Can any one please help.

    • Topics: 5
    • Replies: 292
    • Posts: 297


    The V1 line of your script is a Boolean, meaning the result will oscillate between 0 and 1.  Because of that V2 would be producing a value no higher than 1.  V3 then looks at the High price of the chart itself, and looks for instances where it is crossing above 1, so in most cases won’t produce any results.

    If i’m reading your setup correctly, you want to know the high of the chart when the RSI crosses above 70, the trigger is then when the chart value crosses above that high?  If that is right, the following script will work:

    If you are after something different you’ll need to post a few screen shot examples highlighting the setup you’re trying to identify.

    • This reply was modified 2 weeks, 1 day ago by MatthewMatthew.
    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.