Hi, I would like to apply a stoploss on next day OPEN when PREVIOUS day CLOSE hits stop and Sellprice=Open. In the AFL library, I could only find the solution for "Scenario 3: you trade on next day OPEN and want to exit by stop on OPEN price when PREVIOUS day H-L range hits stop"
This is almost good for me except I want the Applystop function to check the PREVIOUS day Close instead of the H-L range. The settings I would like to use is as follows. SetOption("AllowSameBarExit",1); SetOption( "ActivateStopsImmediately", 1); SetTradeDelays( 1, 1, 1, 1 ); BuyPrice=O; SellPrice=O; I am stucked. Could anybody help me please how I can do it. Thank you.