// Condition set 1
if (CrossAbove(T3(MyInput0, 3, 0.7), T3(MyInput1, 3, 0.7), 1)
&& Close[0] < Bollinger(2, MyInput2).Lower[0])
{
EnterLong(DefaultQuantity, "");
}
If the T3 crossover occurs, there's a strong uptrend and Close[0] will in most cases be in -or- above the upper range of the Bollingerbands, and not below the lower band.
Therefore I suggest you increase the CrossAbove lookback period to 10 or more depending on your timeframe settings.
That way, if a crossover occurs, the code will look if Close[0] goes below the lower BollingerBand for the next 10 bars, and not only at exactly the time (ie. the same bar) the crossover occurs.
like this:
if (CrossAbove(T3(MyInput0, 3, 0.7), T3(MyInput1, 3, 0.7), [B][SIZE=3][COLOR=red]10[/COLOR][/SIZE][/B])
&& Close[0] < Bollinger(2, MyInput2).Lower[0])
{
EnterLong(DefaultQuantity, "");
}

Comment