Need help with this code with exit based on RSI

Forums ProRealTime English forum ProOrder support Need help with this code with exit based on RSI

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

    So if i change my exit between “rsi 2 crosses under: “60” or “70” or “90” i get 3 completely different scenarios!

    I havnt changed the entry at all so why wouldnt it take all 3 trades whatever my exit is with the rsi?

     

    trade 1 (pic1) = rsi2 crosses under 90

    trade 2 (pic2) = rsi2 crosses under 70

    trade 3 ( pi3) = rsi2 crosses under 60

    #84972
    • Pic X1: at the time of the setup candle C6 was FALSE since no crossing had occurred at RSI90 and the trade was opened
    • Pic X2: at the time of the setup candle C6 was TRUE  since a  crossing  had occurred at RSI70 and the trade, despite all other conditions being true, was even closed before being entered since opposite conditions were true at the same time
    • Pic X3: at the time of the setup candle C6 was TRUE  since a  crossing  had occurred at RSI60 and the trade, despite all other conditions being true, was even closed before being entered since opposite conditions were true at the same time (and at this time also the previous trade was not issued since the crossing under 60 is also a crossing under 70)

    That is logically correct as from my point of view, but it seems a litttle bit bizzarre. I knew ProOrder needed a bar before being able to update its status about OnMarket or not. In this case ProOrder should have sent two orders consecutively to the Broker, the first one was a BUY order and the next, immediately, a SELL order to close the position and this should have been reflected in the performance report as a trade entered and exited immediately with a loss equal to (or slightly greater than) the spread. Is ProOrder smart enough to detect such rare occurrences by NOT sending those two orders?

    #85000

    @jebus89

    Please use a more detailed title for your topic next time than

    “Need help with this code”

    • For a new topic, your title should be explicit enough to prompt the community to read your discussion.

    Thanks in advance 😉

    #85010

    Yeah …  the Community would be missing  Roberto’s a very useful and educational analysis if they  don’t read this Thread!

    Thank You Roberto … I’m going to peruse it fully over my evening meal tonight! 🙂

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