Lets say I have 3 conditions. Which are the "cross above" type.
IF
foo crosses above 0 (Substitute indicator of choice Ex 'MACD'
boo crosses above 0
soo crosses above 0
THEN
Enter long position or send alert
So now when these three things occur during the same bar; the order is triggered.
What if I don't want to restrict myself to ALL three conditions occurring exactly together?
I thought that by changing the "look back period" on all the conditions to "4" that was creating a more flexible execution scheme. That example would mean;
IF
the three conditions have all occurred within the last 4 bars
THEN Execute instruction.
But perhaps I am misunderstanding "look back". I want to specify that a condition can have occurred within X bars. If look back in not the correct tool or if I am misunderstanding it, Please tell me what is. Thank you
Comment