Let's say I'm trading a breakout - but I don't want to take the breakout immediate but wait for a pullback to enter - how would I "store" that such an event has happened. So, say I have a stock cross over the 20d MA - I don't want to enter now - I want to enter when their is a 5% pullback. Can anybody give me some guidance as to how to code something like this up?
Thanks!
