Some help for a beginner in coding for a RSI signal indicator

Forums ProRealTime English forum ProBuilder support Some help for a beginner in coding for a RSI signal indicator

Viewing 3 posts - 1 through 3 (of 3 total)
  • #178708

    Hello,

    I try find a solution to create my first indicator. The idea is very simple, if Rsi is crossing 70, his value is 1 and it’s stay at this value until Rsi is crossing 30 and his value is changed to -1. So we have only 2 values 1 and -1. My code is this:

    But I have no results. Any help it will be appreciate (I have no experience in coding, I try to learn for test some ideeas).

    Thank you,

    Aurelian

    #178709

    Hello,

    ( ) vs [ ]

    Try replacing rsi(5) with rsi[5](close)

    #178715

    Thank you very much!

Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login