Jim Dean![]() Sage ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3433 Joined: 3/13/2006 Location: L'ville, GA ![]() | If you try to do: Signal = LongSignal or Signal = ShortSignal ... in a STOP, as a separate assignment line, it is IGNORED. But you normally will use one or both of them in a SYSTEM. The only signal assignment (ie setting) you can do in a STOP is: Signal = ExitSignal ==== You can "test" the direction of the active trade in a STOP by: if Signal = LongSignal then ... or if Signal = ShortSignal then ... But you can't change the direction of the signal in a Stop routine ... you can only end the active trade. === If you saw Long/ShortSignal "assignments" in OLang STOP routines before, then probably those routines were faulty. You probably are remembering their use in SYSTEM routines. [Edited by Jim Dean on 12/31/2014 6:51 PM] |