Topic: EMA crossover and slight retracement

Hi,
Plz i need help with this,

I am working on a strategy that says:

1) EMA 12 cross EMA 21
2) candlestick is above EMA12
3) then wait until any new candle (within maximum 5 bars) to retrace and touch (Low touch) the EMA12
4) buy order

Plz anyone can help?
How to define that within the last 5 candlestick, if the EMA crossed, and if Low(0) touched <= EMa(12)---send buy order?
Very frustrating!!

Re: EMA crossover and slight retracement

I would use something along these lines.

Post's attachments

New Strategy.xml 10.12 kb, 8 downloads since 2017-03-24 

You don't have the permssions to download the attachments of this post.

Re: EMA crossover and slight retracement

HIGHLY appreciate it
MANY THANKS!

Re: EMA crossover and slight retracement

Dear,
please can i ask you to explain why you made "signal repeat=5" in the moving average crossover?

thank you,

Re: EMA crossover and slight retracement

That's for "within the last 5 candlestick" part. It's quite discretionary strategy, these are hard to automate.