Do not trade a price range with losses from previous trades..

Forums ProRealTime English forum ProOrder support Do not trade a price range with losses from previous trades..

Viewing 10 posts - 1 through 10 (of 10 total)
  • #149830

    I need code, for example:
    The bot performs a losing trade on dax at 12920.
    The bot should never again trade in a range of 0.10% above and below 12920 … that is, it should never trade in the 12907-12933 range again.

    #149831

    Sorry managers for the previous post, problem with traductor again.

    #149832

    There you go (not tested):

     

    #149835

    Ok Roberto.

     

    But, with other losser operations.

     

    In backtest are 31 losser operations.

     

    I want no entry new operations on 31 differents ranges.

    #149837

    The correct code is (still not tested):

     

    #149844

    This Code is correct to all bad positivos un backtest???

     

    Tomorrow see.

    #149845

    Sorry…

    Yo all bad trades of backtest???

    #149878

    This Codes no function, Roberto!

    #149896

    I found the bug, this works (tested on Dax, Daily TF):

    As you can see from the screenshot, the strategy stops trading, even if above average within the range, until it’s broken.

    #149930

    Ok Roberto, thanks!

     

    I see this night or tomorrow.

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