Hi,
I’d like to code a script for
Buy:
when 10High EMA and 10Low EMA are crossing 50Close EMA from below
Sell:
when 10High EMA and 10Low EMA are crossing 50Close EMA from above
Thanks in advance,
Best regards
Hi,
I’d like to code a script for
Buy:
when 10High EMA and 10Low EMA are crossing 50Close EMA from below
Sell:
when 10High EMA and 10Low EMA are crossing 50Close EMA from above
Thanks in advance,
Best regards
hElLO tRaDeR,
BUY SCRIPT:
EMA(HIGH,10) > EMA(CLOSE,50) AND EMA(LOW,10) > EMA(CLOSE,50)
SELL SCRIPT:
EMA(HIGH,10) < EMA(CLOSE,50) AND EMA(LOW,10) < EMA(CLOSE,50)
Thank you but I have a small clarification, what is happening is the Buy or Sell signal is generated when the either the Low or High EMA 10 is higher or lower than the 50EMA… I want the call to be generated only if both high and low 10EMA are going above 5oEMA. The code and the logic looks correct but the results are very frequent.
But the EMA’s that are drawn are in a different window in the application, is it possible to overlay them on the candles? is it possible?
Hi, You can drag and drop the lines plotted at the bottom panel to over the candlesticks.