Re-entry delay from real sell signal

When posting the formula, please make sure that you use Code Tags (using </> code button) as explained here: How to use this site.

Using code button

Code tags are required so formulas can be properly displayed and copied without errors.

You can try the following:

Buy =
Cross( C , TEMA ( C , 12 ) )
AND C > TEMA ( C , 26 );

Sell =
Cross( TEMA ( C , 12 ), C ) 
AND C < TEMA ( C , 26 );

Buy = Buy AND BarsSince( Sell ) >= 3;

Short = 0; Cover = 0;

Using impulse form (Cross) avoids excessive repeated signals.