I'm trying to develop a strategy using indicators in a multi timeframe system, but something is not working right.
I'm using 10s as the primary series and added a 15min as the secondary series.
LOGIC: After the high cross above EMA50 on the 15min, look for an EMA21 cross below EMA50 on the 10sec chart.
The first entry marked with RED on the 10sec chart was ignored, while the second entry marked with GREEN on the 10sec chart worked fine.
If you look at the time on the 15Min chart you will notice that the bar that cross the EMA happened at 11:15 (11:00-11:15)
Look at the entries on the 10sec chart. The first entry happened at 11:06, while the second entry happened at 11:28, therefore the second entry happened after the 15min bar closed.
This is not the behavior Im expecting. The green circle indicates on both charts that the CrossAbove(Highs[1][0], EMA50,1) had already happened therefore, both entries should be valid.
I cant figure out what is happening here and how to fix it. Any inputs on this matter?
Thank you.
Comment