Divergences trading

Forums ProRealTime English forum ProOrder support Divergences trading

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

    Dear all,

    Greetings !

    That is a great forum…Well done and thank you!

    I have a favor…

    I am trying to code a strategy that might look up for divergences (RSI today but could be another indicators…).

    I am using PRT Probacktest cause I do not know the coding language…Sorry 🙁

    Q: How can I have the code below *looking back from RSI bar close < 30 up to BAR 6 AND/OR 7 AND/OR 8  etc.. up to X bars ???

    *The curent RSI bar must be over 40…with a 6 bars gap in between (could be less…)

    I would be happy to receive any help from any one at any time 😉

    Hereafter is what I have so far…

    Thank you.

    DJ

     

    #25870

    Q: How can I have the code below *looking back from RSI bar close < 30 up to BAR 6 AND/OR 7 AND/OR 8 etc.. up to X bars ??? *The curent RSI bar must be over 40…with a 6 bars gap in between (could be less…)

    Sorry, I’d like to help, but I don’t understand clearly your question. Could you please, upload a screenshot or an example of this condition you are trying to catch? Many thanks in advance.

    #25917

    Hi Nicolas.

    Merci pour votre reacivite.

    The strategy current barclose should enter LONG if :

    Price onbarclosed is currently doing a lower low from let’s say *6 bars ago. *variable.

    RSI made a lower low *x bar ago too and must have been lower than 30 (same as price *6 bars ago) BUT current bar close must be higher than 40 =>divergence.

    Then enter LONG.

    1. However, between curent price bar and previous lower low, *4 bars mini should be in between (6 mentionned above just for example..).
    2. *4 bars mini: here is the trick… The strategy should look back for lower lows that occured on RSI until the trader’s choice ( mini 4 up to 30 or 40 bars back I suppose…)

    Truly hope that my explanation make more sense now for you Nicolas 😉

    However I do remain at your entire disposal should you need more information.

    Happy Trading.

    DJ

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