Various conding requests

Forums ProRealTime English forum ProOrder support Various conding requests

Viewing 4 posts - 1 through 4 (of 4 total)
  • #244336

    Hello everyone! How are you doing?

    I have some coding requests, i hope you can help me 🙂

    1- The price has increased by x percent over the last x candles.
    2- The price has remained within a certain range (moved sideways) over the last x candles
    3- The price has remained over a moving average over the last x candles
    4- Set the stop loss at the low of the last x candles.

    Bonus: The price has formed higher highs over the last x candles.

    Thanks.

    #244346

    There you go:

    2 users thanked author for this post.
    #244354

    Thank you Roberto!

    Just a question: in n.3 where is “X” used? And why did you greyed out the above condition? Since the price need to stay over the moving average the below condition should be greyed out no?

    So it should be something like

     

    #244358
    1. I forgot to remove that line that I had copied from the prior lines.
    2. Because I coded that line, but then I realized that we don’t need to know it. Since once we know what is the last bar BELOW, all the next ones will be ABOVE for sure!

     

     

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

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