#property indicator_chart_window #property indicator_buffers 3 #property indicator_color1 Green #property indicator_color2 Green #property indicator_color3 Green #property indicator_style1 STYLE_SOLID #property indicator_style2 STYLE_SOLID #property indicator_style3 STYLE_SOLID #property indicator_width1 2 #property indicator_width2 2 #property indicator_width3 2 double BufUP[]; double BufCenter[]; double BufDOWN[]; // 初期化関数 int init() { SetIndexBuffer(0, BufUP); SetIndexBuffer(1, BufCenter); SetIndexBuffer(2, BufDOWN); return(0); } // 指標計算関数 int start() { int limit = Bars-IndicatorCounted(); for(int i=0; i