Trade signals of a line

pansa
577
pansa  

Hello Experts!

Who knows a programm (metode)that use for trade signals not crossing from 2 lines,but

signal only from one line(sampel-CCI).Were logic used : last[i] < Pred1[i-1] and Pred2[i-2] < Pred1[i-1].

Thanks

pansa

Alexander
241
Alexander  
double PrevBid = -1;

int  start() {

double  LinieValue = 1.6666; //Sample

if(PrevBid != -1)  {
if ((PrevBid <= LinieValue && LinieValue < Close[0]) || (PrevBid >= LinieValue && LinieValue > Close[0]))  OrderSend......
}


PrevBid = Close[0];
return (0);
}
pansa
577
pansa  
FinGeR:

Hallo FinGer!

thanks! kud You tell were from is that pies??

Im not a programmer but look for good signals.

pansa