I am trying to control the adjusting of my stoploss based on the price from the main instrument. ES -> MES.
MES is on BarsinProgress 3. Hence the below gets me into the MES based on the action of the ES.
EnterLong(3,TradeSize, "MIMIC");
Can you tell me how to keep adjusting the stoploss for the instrument on Bars array 3 in a trailing stop manner.
Thanks. My regular setstoplossfor MIMIC doesn't seem to control the instrument in Barsarray 3 when called under bars in progress ==0.
Comment