الان ندخل الي الدالة start
ونكتب حلقة for لاتكرارية
[PHP]
int start()
{
int x,i;
int counted_bars=IndicatorCounted();
if(counted_bars<0) return(-1);
if(counted_bars>0) counted_bars--;
x=Bars-counted_bars;
for(i =0 ; i<x ; i++)
{
}
return(0);
}
[/PHP]