Would anyone know how to program a ‘WAIT’ into code in for automated trading. In other words, in auto trading I have code that says buy or sell when one MA crosses over another.
However when that happens I want to wait until my DEMA has changed direction as well.
Any idea how to write code to ‘wait’ for a number of indicators to happen over a 5 minuteperiod while in the 1 minute timeframe before buying or selling. Appreciate in advance any help