If ema conditions are bullish,
get long on the next RSI dip under the condition that super trend is bullish.
(Get out if supertrend turns bearish.)
When i enter if bar since exit > xx to reduce whipsaw for this trendfollower, i dont get any results. What did i do wrong?
{
if (BarsSinceExit() > 10
&& EMA(21)[0] > EMA(55)[0]
&& EMA(55)[0] > EMA(200)[0]
&& EMA(55)[0] > EMA(55)[1]
&& EMA(200)[0] > EMA(200)[1])
if (SuperTrend(14, 2.618).Trend[0] //&& !SuperTrend(14, 2.618).Trend[1]
&& CrossBelow(RSI(4, 0), 70, 1))
{
EnterLong(DefaultQuantity, "");
}
Comment