SellShort not being triggered

Forums ProRealTime English forum ProOrder support SellShort not being triggered

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

    Hello, I’m testing a simple backtest, below is an outline of what it should do

    1. Adjust the level at which a Short is triggered if a higher low for the previous candle occurs.
    2. The level of the Short is set to the value of the new higher low minus 10pips

    For some reason it never triggers, if I set an explicit vale like, 1.48020 then it’ll work fine, attached is a screenshot of my backtest with indicators as to where it starts and where I expect the trigger to occur. Any help or suggestions would be greatly appreciated.

     

     

    #82037

    I reckon the problem is to do with the trackPips, but I can’t explain why (without thinking how to explain, maybe more later)! 🙂

    Also your code doesn’t mention highest low (or can’t I see it?) but your image states that Sellshort should have executed at 10 points below highest low?

    #82048

    while backtesting will surely gives you useful info to spot where the trouble is!

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