#property indicator_separate_window #property indicator_buffers 1 #property indicator_color1 Blue #property indicator_style1 STYLE_SOLID #property indicator_width1 3 #property indicator_minimum 0 #property indicator_maximum 100 #property indicator_level1 20 #property indicator_level2 80 double BufRSI[]; // 初期化関数 int init() { SetIndexBuffer(0, BufRSI); return(0); } // 指標計算関数 int start() { int limit = Bars-IndicatorCounted(); for(int i=0; i