{STICKLINE(C>O OR (C=O AND C>REF(C,1)),H,L,0,0),COLOR4444FF;
STICKLINE(C>O OR (C=O AND C>REF(C,1)),C,O,2.5,0),COLOR4444FF;
STICKLINE(C<O OR (C=O AND C<REF(C,1)),H,L,0,0),COLORB0B000;
STICKLINE(C<O OR (C=O AND C<REF(C,1)),C,O,2.5,0),COLORB0B000;}
飞狐改为通达信,源玛无未来,有图哇
VAR1:=(2*CLOSE+OPEN+HIGH+LOW)/5;
VAR2:=VOL;
布林中轴:=SUM(VAR1*VAR2,30)/SUM(VAR2,30);
特殊:EMA(CLOSE,13),COLORRED;{43}
会:6*HHV(布林中轴,3)-5*布林中轴;
员:2*特殊-会,COLOR1155FF;
上穿线:6*HHV(特殊,3)-5*特殊;
下穿线:2*特殊-上穿线;
下通道:2*员-上穿线,LINETHICK2,COLORCCFF66;
上通道:2*特殊-下通道,LINETHICK2,COLORFFFFFF;
AA:=MA(CLOSE,40)+ABS(MA(CLOSE,40)-REF(MA(CLOSE,40),1));
BB:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);{17}
DRAWTEXT(BB>=REF(BB,1) AND AA>=REF(AA,1) AND CROSS(CLOSE,BB),LOW-3,'走牛开始'),COLORMAGENTA;
B3:=C>O;
D3:=HHV(DMI.ADX,5)>25;{65可调,数值大,信号少作中线可靠,熊市调大}
DRAWTEXT(O<XS2.通道2 AND C>XS2.通道2 AND O<XS2.通道4 AND C>XS2.通道4 AND B3 AND D3,LOW-3,'抄底')COLORRED;