[通达信L-2] 信号加油站
[通达信L-2] 信号加油站
F:=C/O;
STICKLINE(F>=1,C,O,1.8,0),COLORYELLOW;
STICKLINE(F>=1,C,H,1.8,0),COLORYELLOW;
STICKLINE(F>=1,H,C,1.5,1),COLORYELLOW;
STICKLINE(F>=1,O,L,1.8,1),COLORYELLOW;
STICKLINE(F<1,O,L,0.8,0),COLORYELLOW;
STICKLINE(F<=1,H,L,1.8,1),COLORYELLOW;
STICKLINE(F<1,C*0.98,O,1.8,1),COLORYELLOW;
A1:=MA(C,5),COLORRED LINETHICK1;
A2:=MA(C,3)COLORGREEN LINETHICK1;
〓加油站〓:DRAWLINE(A1<A2,L,CLOSE>OPEN,L,2),COLORYELLOW LINETHICK2;
趋势一:DRAWLINE(A1>A2,H,CLOSE<OPEN,H,2),COLORWHITE LINETHICK2;
趋势二:DRAWLINE(A1<A2,L,CLOSE<OPEN,L,2),COLORGREEN LINETHICK2;
趋势三:DRAWLINE(A1>A2,O,CLOSE>OPEN,L,2),COLORMAGENTA LINETHICK2;
VA3:=MA(CLOSE,1)*1.01;
VA4:=MA(OPEN,3)*1.01;
VA5:=(MA(HIGH,3)+MA(LOW,3)+MA(CLOSE,3)+MA(OPEN,3)+MA(HIGH,2)+MA(LOW,2)+MA(CLOSE,2)+MA(OPEN,2)+HIGH+LOW+OPEN+CLOSE)/12{+VAR2};
VA6:=IF(VA4>VA5,VA4,VA5);
VA7:=IF(VA4<VA5,VA4,VA5);
VA8:=2/100;
STICKLINE(VA3<VA4,VA3,VA5*1.001,2.3,1)COLORWHITE;
STICKLINE(VA3<VA4,VA3,VA5,1.8,0)COLORRED;
STICKLINE(VA5>VA4,VA5,VA4,1,0)COLORCYAN;
DRAWTEXT(O/1.008>趋势一,H*1.05,'【小心】') COLORGREEN;
DRAWTEXT(O*1.006<〓加油站〓,L/1.09,'▲上涨▲') COLORRED;
{IF(趋势二>〓加油站〓,L/1.09,DRAWNULL);};