Hello,
 
Could make it work (detected
by a scan)  :
------------------------------
 
1-      
Draw
manually a trendline on the price chart,
2-      
Detect
automatically a crossover of that trendline :
 
Buy = Cross(C, Study("RE") );
Sell = Cross(C, Study("SU"));
 
(RE
ou SU = Trendline drawn by hand).
 
 
Could not make it work (not
detected by a scan) :
----------------------------------
1-      
Draw
manually a trendline on the indicator window,
2-      
Detect
automatically a crossover of that trendline :
 
Buy = Cross(CCI(14), Study("RE") );
Sell = Cross(CCI(14), Study("SU"));
 
Would appreciate any help to detect automatically
a crossover of the drawn indicator trendline,
 
AL,