Need help with adding alert to Fisher_Yurk indi
Update For Loop as below.
for(i=limit-2; i>=0; i--) { current=ExtBuffer0[i]; prev=ExtBuffer0[i+1]; if (((current<0)&&(prev>0))||(current<0)) up= false; if (((current>0)&&(prev<0))||(current>0)) up= true; if(!up) { Alert("Sell : " + current); ExtBuffer2[i]=current; ExtBuffer1[i]=0.0; } else { Alert("Buy : " + current); ExtBuffer1[i]=current; ExtBuffer2[i]=0.0; } }
any help would be appreciated.
thank You in advance.