Q:=BACKSET(ISLASTBAR,DAYBARPOS);P8:=PEAK(H,,1,1);///////////////////////////////////////////////////////////////////////////////////P81:=PEAKBARS(H,,1,1),NODRAW;P83:=TROUGH(L,,2,1);P82:=TROUGHBARS(L,,1,1),NODRAW;A8:=BACKSET(ISLASTBAR,SUMBARS(P81=0,1));//B8:=BACKSET(ISLASTBAR,BARSLAST(P82=0)+1);A1:=CROSS(A8,);A2:=CROSS(B8,);//P82=0,NODRAW;//////////////////////////////////////////////////HS:=P81<=P82&&P81<>0||P82=0;LS:=P82<=P81&&P82<>0||P81=0;DRAWCOLORKLINE(HS,COLORBLUE,0);///////////蓝色K线DRAWLINE(HS,H,1,L,COLORBLUE),HICK3;//蓝色影线DRAWCOLORKLINE(LS,RGB(213,0,0),0);//////////////红色K线////////DRAWLINE(LS,H,1,L,RGB(213,0,0)),HICK3;////红色影线////////DRAWCOLORKLINE(H>VALUEWHEN(P81<=P82&&Q,REF(H,P81))&&P81<=P82,RGB(213,0,0),0);///////////////////////////DRAWLINE(H>VALUEWHEN(P81<=P82&&Q,REF(H,P81))&&P81<=P82,H,1,L,RGB(213,0,0)),HICK3;
文华财经指标公式源码变色K线精准 来自淘豆网m.daumloan.com转载请标明出处.