MA5:MA(CLOSE,5);ma10:ma(c,10);MA20:MA(CLOSE,20);MA30:MA(CLOSE,30);ma60:ma(c,60);MA120:MA(CLOSE,120);MA:MA(CLOSE,250),colorred;stickline(c>1.099*ref(c,1),o,c,8,0),coloryellow;{C1:=EMA(INDEXC,500)/EMA(C,500);D4:=INDEXC/c1;}stickline(c>1.099*ref(c,1),o,c,8,0),coloryellow;{上火车轨:=MA10>MA20 and MA10>ref(MA10,1) and MA20>ref(MA20,1) and ma10-ma20>ref(ma10-ma20,1);下火车轨:=MA10
ref(ma20-ma10,1);FILLRGN(ma10,ma20,上火车轨,RGB(255,69,0),下火车轨,RGB(0,100,0)),LAYER7;}上火车轨:=MA20>MA30 and MA20>ref(MA20,1) and MA3