2017-09-23から1日間の記事一覧

For ループの中にアラート呼び出しを書くと初回起動したときに過去のアラートが全部表示される問題対策

MQL

if (counted_bars==0) limit=Bars-MathMax(PerNR,PerATR); if(counted_bars<0) return(-1);//---- last counted bar will be recounted if(counted_bars>0) limit=Bars-counted_bars; limit--; //---- main loop for(int i=limit; i>=0; i--) { tempval=0.0;…