I'm trying to figure out how to program a continuation trade after my original signal hits its target and then retraces. The way I have it now it just continually takes a trade right after I get out of the last trade. I am trying to say when the current trade goes 5 pts and then ADX resets (slopes down), only enter long again when the ADX slopes up again. I think I want to say when current long goes 5 pts and adx resets, set variable0=1. then i write in another set : when variable0=1, enter long. any idea how I can do this? basically I want to be able to take a continuation trade in the same direction as the original trade, but only after it has gone a certain amount and retraces.
thanks
Comment