#property indicator_chart_window #property indicator_buffers 2 #property indicator_color2 LimeGreen #property indicator_style2 STYLE_SOLID #property indicator_width2 3 double BufSAR[]; double BufDOT[]; // 初期化関数 int init() { SetIndexBuffer(0, BufSAR); SetIndexBuffer(1, BufDOT); SetIndexStyle(1,DRAW_ARROW,STYLE_SOLID,2,LimeGreen); SetIndexArrow(1,159); return(0); } // 指標計算関数 int start() { int limit = Bars - IndicatorCounted(); for (int i = 0; i= Close[i+1]) BufDOT[i] = BufSAR[i]; } return(0); }