I am using the strategy wizard to set the stop loss to the value of one of the dynamic user defined variables; i.e., the Variable0 is set to a value on the bar proceeding the entry bar upon entering the Long/Short position. Something like:
Variable0 = Close[1];
I don't see the SetStopLoss() method called anywhere in the code.
My question is, is this working? iI the log reflecting perhaps the first stop loss set up? Or am I not getting any stop losses?
I can unlock the code I suppose, but I am still changing alot of the strategy and it is much simpler to use the wizard.
Thanks for any help.
Comment