Buy when- Crossover between MACD and MACDSignal of 12 and 26 periods, RSI is approx. 30 and trend is up
Sell When- Crossover between MACD and MACDSignal of 26 and 12 periods, RSI is approx. 70 and trend is down
Buy when- Crossover between MACD and MACDSignal of 12 and 26 periods, RSI is approx. 30 and trend is up
Sell When- Crossover between MACD and MACDSignal of 26 and 12 periods, RSI is approx. 70 and trend is down
Can you try with below code?
Buy- CROSSOVER(MACD(26,12,9,EXPONENTIAL),MACDSIGNAL(26,12,9,EXPONENTIAL)) AND CROSSOVER(RSI (CLOSE,10),30) AND TREND(CLOSE,30)=UP Sell- CROSSOVER(MACD(26,12,9,EXPONENTIAL),MACDSIGNAL(26,12,9,EXPONENTIAL)) AND CROSSOVER(70,RSI (CLOSE,10)) AND TREND(CLOSE,30)=DOWN
WHEN BACK TESTING SCRIPT ERROR COMING
BACK TEST ERROR