__What I can see now is that you are working under "on Timer", while normally you should work under "on Tick"[/quote:21agrvma]
hhmmm...
i am attaching the mql file to see...
strategy is...very profitable at long run and it is very interesting...
Let me explain my strategy:
it based on osma and simple moving average...
- OsMA(12,26,9)
- MA Period - 3, close price, sma,
- MA Period - 5, close price, sma
Strategy:
it checks the H4 for osma either below zero or above
it checkes the H1 for osma either below zero or above
and once if both are above or below confirm...
it take the signal in M15 osma above or below zero. If it confirms above zero then 3 should be crossed 5 from below and it enter the buy trade
Imp Note: it only take trade when there is every fresh cross in m15 and if conditions match in H4 and H1(H1 and H4 is like trend continuation. It only required fresh cross in M15 and not in other both tfs)...
so for buy trades:
osma in H4 is above zero
osma in h1 is above zero
osma in m15 is crossed above zero at previous candle
sma 3 crossed sma 5 from below
close buy trade
sma 3 crossed sma 5 from top
for sell trades
osma in H4 is below zero
osma in h1 is below zero
osma in m15 is crossed below zero at previous candle
sma 3 crossed sma 5 from top
close buy trade
sma 3 crossed sma 5 from bottom
all condition should match at closing candle...
thanks
......
osma(2).mq4