RSI and IBS based EA

Forums ProRealTime English forum ProOrder support RSI and IBS based EA

  • This topic has 9 replies, 4 voices, and was last updated 6 years ago by avatarMarc.
Viewing 10 posts - 1 through 10 (of 10 total)
  • #53719

    Hi together,
    I’d like to share my code with you and want to know if there is any mistake within this code?
    Thank you in advance

    Here are the rules for this system:
    Enter Long when:

    • When RSI with Period 2 is below or equal 10 on previous periods close
    • When RSI with Period 2 is above or equal 10 at close of current periods close
    • When IBS is below or equal 50 on previous periods close
    • When IBS is above or equal 50 at close of current period
    • Open Long at next bar open

    Exit Long when:

    • RSI rises above 80 at close of previous period, close position at next bar open

    Enter Short when:

    • When RSI with Period 2 is above or equal 90 on previous periods close
    • When RSI with Period 2 is below or equal 90 at close of current periods close
    • When IBS is above or equal 50 on previous periods close
    • When IBS is below or equal 50 at close of current period
    • Open Short at next bar open

    Exit Short when:

    • RSI falls below 20 at close of previous period, close position at next bar open

    Here is the code:

     

    #53733

    You should use [1] for previous period and no additional number for  current period.

    1 user thanked author for this post.
    #53735

    You should use [1] for previous period and no additional number for current period.

    Hi victormork,
    thank you very much for your help.
    Currently I’m testing this system manual und hope that this will work constantly on other timeframes…
    To enter additional Orders when entry rules are met here is the amended code:

     

     

    #53736

    another improvement:

     

    #53741

    Now with MA as filter….

     

    #53796

    What timeframe and what market are you planning this strategy on?
    Interesting results but i would definitly use

    If not youre getting an INSANE amount of trades 😛 Even without that its basicly in the market at all times. With 5 min timeframe on the dax i get an avg 18 trades pr day hehe.Its not that crazy bad though, 6258 trades in totalt (INSANE and not very good imo) 4000 wins and 2000 loss. Should indicate that its either superlucky, or actually might have a decent entry 🙂

    #53797

    Hi,

    >> For clarity of messages on ProRealCode’s forums, please use the “<> (insert PRT code)” button in the message editor to separate the text part from the code part! Thank you! <<

    1 user thanked author for this post.
    #53842

    What timeframe and what market are you planning this strategy on? Interesting results but i would definitly use // Definition of code parametersDEFPARAM CumulateOrders = False // Cumulating positions deactivated If not youre getting an INSANE amount of trades 😛 Even without that its basicly in the market at all times. With 5 min timeframe on the dax i get an avg 18 trades pr day hehe. Its not that crazy bad though, 6258 trades in totalt (INSANE and not very good imo) 4000 wins and 2000 loss. Should indicate that its either superlucky, or actually might have a decent entry 🙂

    Hi Jebus89,

    the timeframes I’d use are 1H, 2H, 4H and Daily. 

    Thanks for your information regarding DEFPARAM. This makes it much more easier than to amend the parameters within the code.

    How were the statistics in the test you made?

     

     

    #53860

    CumulateOrders = True? Should it not be set to false? You wanted 1 position only right?

    #53865

    I play with several combination of parameters. Feel free to play with this and every parameter. 🙂

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

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