FFFFFF9:DRAWBAND(EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42),RGB(780,100,120),
MA(C,20)-2*STD(CLOSE,20),RGB(00,00,00));DRAWKLINE(H,O,L,C);
TLAMSENR:=MAX(MAX((HIGH-LOW),ABS((REF(CLOSE,1)-HIGH))),
ABS((REF(CLOSE,1)-LOW)));
ATR:=MA(TLAMSENR,13);VAR11A:=(REF(CLOSE,1)-REF(ATR,1));
黄金:(HHV(VAR11A,12)),LINETHICK2,COLOR0080FF;{COLOR0080FF}
生命线:=EMA(MA(C,8),3),COLORFFCC66,LINETHICK1;
黄金线:=COST(24),COLORYELLOW,LINETHICK2;
锅1:=MA((REF(HIGH,2)+REF(LOW,2))/2,6),COLORLIGRAY;
平台:=MA((2*C+H+L)/4,5),LINETHICK1,COLOR50E0D4;{COLOR50E0D4}
长压:=HHV(FORCAST(C,10),17)COLORAACC66,LINETHICK1;{COLOR0099FF};
中轨:=MA(C,20),COLOR9DDEE2,,LINETHICK1;
上:=MA(C,20)+2*STD(CLOSE,20),COLOR808080,LINETHICK4,POINTDOT;{COLORA8C300}
下:=MA(C,20)-2*STD(CLOSE,20),,COLOR808080,LINETHICK4,POINTDOT;
MA6:=MA(CLOSE,6);
{MA(C,20)+1*STD(CLOSE,20)COLOR0080FF;}
MA18:MA(CLOSE,18);
空方:((3)*(MA18) - (2)*(MA6)),COLORD39D91,LINETHICK2;{COLORFF9933}{COLOR3571FF}
{COLORD39D91}
{STICKLINE(空方>上,空方,上,0.22,0),COLORLICYAN;
STICKLINE(空方<下,空方,下,0.22,0),COLORBLUE;}
锅:=MA((REF(HIGH,2)+REF(LOW,2))/2,6),COLOR50E0D4;
上轨:=EMA(EMA(MA(C,21),5)+ 2*STD(CLOSE,20),3),COLOR808080,LINETHICK1;
下轨:=EMA(EMA(MA(C,21),5)-2*STD(CLOSE,20),3),COLOR808080,LINETHICK1;
M60:=MA(C,60),COLORFFCC66;{COLORAA9142}{COLORFFCC66}
M120:=MA(C,120),,COLORGRAY;
{COLORAA9142};
H均:=(5*H+4*REF(H,1)+3*REF(H,2)+2*REF(H,3)+1*REF(H,4))/(5+4+3+2+1)COLOR99BBE2;
L均:=(5*L+4*REF(L,1)+3*REF(L,2)+2*REF(L,3)+1*REF(L,4))/(5+4+3+2+1)COLOR55BBE2;
MTM:=C-REF(C,1);
DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2));
{RSI出击买点}
AA1:="RSI.RSI1"(3,14,24),LINETHICK1,COLOR6295D6;
BB1:=REF("RSI.RSI1"(3,14,24),1),LINETHICK1,COLORFF9800;
{STICKLINE((AA1-BB1)/BB1>13/10,O,C,2.5,3),COLORWHITE;}
{DRAWICON(FILTER(买=1,3),L*0.9988,11),COLORRED;};
STICKLINE((AA1-BB1)/BB1>13/10,
(MAX(C,O)+MIN(O,C)*3)/4,MIN(C,O),3,0),COLORYELLOW;
{STICKLINE(CROSS(C,L均),
(MAX(C,O)+MIN(O,C)*3)/4,MIN(C,O),2.5,0),COLOR00CCFF;}
AA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*1000;
HHH:=BBB-LLV(BBB,10);
SS:=(MA(HHH,2)*3+HHH*13)/16;
短线买点:=IF(SS>13,MA(SS,2),SS);
{STICKLINE(CROSS(短线买点,21),(MAX(C,O)+MIN(O,C)*3)/4,
(MAX(C,O)*3+MIN(O,C)*1)/4,2.5,0),COLORMAGENTA;
STICKLINE(CROSS(短线买点,21),
(MAX(C,O)+MIN(O,C)*3)/4,MIN(C,O),2.5,0),COLOR00CCFF;}
VAR1666:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1;
发现庄迹:DRAWICON(VAR1666<=8,L,11)COLORFF9800;
XS:=MA(LOW,5)*(1-5/100),COLORLIRED;
XS1:=MA(HIGH,5)*(1+5/100),COLORLIRED;
VARR199:=SMA(MAX(CLOSE-REF(C,1),0),5,1)/SMA(ABS(CLOSE-REF(C,1)),5,1)*100;
STICKLINE(CROSS(XS1,C),(MAX(C,O)+MIN(C,O))*0.5,MAX(C,O),2,0),COLORBLUE;
{DRAWICON(买,L,11),COLORRED;};