function C_Over(Price,Bas)
{ // This function give when
price is over $1.70
{Cond= IIf(Price>Bas,1,0) ; }
;
return Cond
;
} ;
Cond1= C_Over(C,1.7) ;
// Price over $1.70
Plot(Cond1," ",colorRed );
Cond_Lim= IIf(BarsSince(Cond1)<10,0.5,0) ;
// ???????????
Plot(Cond_Lim," ",colorBlue );