{n,80 m,3}}
水平面:MA(CLOSE,60),COLORFFA2FF;
BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
IF(BBI>REF(BBI,1),BBI,DRAWNULL),COLORRED,LINETHICK2;
IF(BBI<REF(BBI,1),BBI,DRAWNULL),COLORYELLOW,LINETHICK2;
MA1:MA(CLOSE,24),COLOR00E300,LINETHICK1;
V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
STICKLINE(V2>=1,O,C,2,0),COLORYELLOW;
MA13:=MA(CLOSE,13);
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
EMA8:=EMA(C,8);
A1:=MIN(O,C);
B1:=ABS(O-C);
T1:=FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10);
STICKLINE(T1,A1,A1+B1/4,2,0),COLOR007575;
STICKLINE(T1,A1+B1/4,A1+B1/2,2,0),COLORFF0000;
STICKLINE(T1,A1+B1/2,A1+B1*3/4,2,0),COLOR007575;
STICKLINE(T1,A1+B1*3/4,A1+B1,2,0),COLORFF0000;
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
{DRAWTEXT(CROSS(FF,MA15),(LOW * 0.97),'底背離'),COLORA6E500;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.04),'頂背離'),COLOR1880FF;}
STICKLINE(CROSS(FF,MA15),A1,A1+B1/2,2,0),COLOR7F017F;
STICKLINE(CROSS(88,RSI),A1+B1,A1+B1/2,2,0),COLORGREEN;
T2:=COUNT(CROSS(BBI,3),3)=1 AND CROSS(C,BBI);
DRAWTEXT(T2,H*1.05,'反轉'),COLORWHITE;
STICKLINE(T2,O,C,2,0),COLORRED;
T12:=V2>=1;
T0:=BARSLAST(T12);
L1:=REF(L,T0);
H1:=REF(H,T0);
STICKLINE(REF(T12,1) OR REF(T12,2) OR REF(T12,3),H1,H1,4,-1),COLORWHITE;
STICKLINE(REF(T12,1) OR REF(T12,2) OR REF(T12,3),L1,L1,4,-1),COLORWHITE;
{T11:=REF(T12,3) AND COUNT(L<L1,4)=0 AND COUNT(L>H1,4)>1;
DRAWTEXT(T11,H*1.05,'三天'),COLORWHITE;
STICKLINE(T11,O,C,2,0),COLORFF00FF;}
{(REF(V2>=1,3) OR REF(V2>=1,2) OR REF(V2>=1,1)) };
L11:=MIN(REF(L,1),L);
L10:=MIN(L11,REF(L,2));
L21:=MAX(REF(L,1),L);
L20:=MAX(L21,REF(L,2));
T111:=(REF(V2>=1,3) OR REF(V2>=1,2) OR REF(V2>=1,1)) AND
((L10>L1 AND L20>H1) OR (L11>L1 AND L21>H1));
T11:=T111 AND REF(T111,1)=0;
STICKLINE(T11,O,C,2,0),COLORFF00FF;
高:=REF(HHV(H,N),M);
低:=REF(LLV(L,N),M);
H19:=高-(高-低)*0.191;
H38:=高-(高-低)*0.382;
H中:=高-(高-低)*0.5;
H61:=高-(高-低)*0.618;
H80:=高-(高-低)*0.809;
頂點(diǎn):REFDATE(高,DATE),POINTDOT,LINETHICK2,COLORWHITE;
.8:REFDATE(H19,DATE),POINTDOT,LINETHICK2,COLORYELLOW;
8.2:REFDATE(H38,DATE),POINTDOT,LINETHICK2,COLORGREEN;
P:REFDATE(H中,DATE),POINTDOT,LINETHICK2,COLORRED;
a.8:REFDATE(H61,DATE),POINTDOT,LINETHICK2,COLORMAGENTA;
�.9:REFDATE(H80,DATE),POINTDOT,LINETHICK2,COLORBLUE;
低點(diǎn):REFDATE(低,DATE),POINTDOT,LINETHICK2,COLORWHITE;
DRAWTEXT(ISLASTBAR,頂點(diǎn),'頂點(diǎn)'),COLORWHITE;
DRAWTEXT(ISLASTBAR,低點(diǎn),'低點(diǎn)'),COLORWHITE;
STICKLINE(T1,A1,A1+B1/2,2,0),COLOR007575;
STICKLINE(T1,A1+B1/2,A1+B1,2,0),COLORBLUE;
STICKLINE(T11 AND T12,A1,A1+B1/2,2,0),COLORFF00FF;
STICKLINE(T11 AND T12,A1+B1/2,A1+B1,2,0),COLORYELLOW;
STICKLINE(T1 AND T12,A1+B1/3,A1+B1,2,0),COLORYELLOW;
STICKLINE(T1 AND T12,A1,A1+B1/3,2,0),COLOR007575;
STICKLINE(T1 AND T12,A1+B1/3,A1+B1*2/3,2,0),COLORBLUE;
STICKLINE(T2 AND T12,A1+B1/2,A1+B1,2,0),COLORRED;
STICKLINE(T2 AND T12,A1,A1+B1/2,2,0),COLORYELLOW;
{立樁量副圖}
VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,5);
MAVOL2:MA(VOLUME,10);
V2:IF(CURRBARSCOUNT=1,VOL*240/MINUTE/REF(VOL,1)-1,VOL/REF(VOL,1)-1),LINETHICK0,COLORRED;
STICKLINE(V2>=1,0,VOL/3,2,0),COLORYELLOW;
{立樁量選股}
V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
A:=DYNAINFO(9)>0 AND V2>=1 AND C>=O AND VOL/CAPITAL>0.03;
B:=BARSLAST(A);
C>REF(H,B) AND A;
{波段逃頂}
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
階段賣(mài)出:=3.2,COLORCYAN;
STICKLINE(C>0,3.2,3.2,1,1),COLORFF1199;
清倉賣(mài)出: 3.5,COLOR0088FF;
動(dòng)力線(xiàn):= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
STICKLINE(動(dòng)力線(xiàn)>REF(動(dòng)力線(xiàn),1) ,動(dòng)力線(xiàn) ,REF(動(dòng)力線(xiàn),1),2 ,1),COLORRED;
STICKLINE(動(dòng)力線(xiàn)<=REF(動(dòng)力線(xiàn),1) ,動(dòng)力線(xiàn) ,REF(動(dòng)力線(xiàn),1),2 ,1),COLORGREEN;
底部介入:0.2,COLORGREEN;
重點(diǎn)關(guān)注:=0.5,COLOR0FFFFF;
STICKLINE(C>0,0.50,0.50,1,1),COLOR1AFFFF;
DRAWICON( FILTER(CROSS(動(dòng)力線(xiàn),重點(diǎn)關(guān)注),20),動(dòng)力線(xiàn)+0.02 ,1);
DRAWICON( FILTER(CROSS(清倉賣(mài)出,動(dòng)力線(xiàn)),20),動(dòng)力線(xiàn)+0.02,2);
DRAWICON( FILTER(CROSS(動(dòng)力線(xiàn),底部介入),20),動(dòng)力線(xiàn)+0.02 ,1);
DRAWICON( FILTER(CROSS(階段賣(mài)出,動(dòng)力線(xiàn)),20),動(dòng)力線(xiàn)+0.02,2);
強弱分界線(xiàn):1.75,POINTDOT,LINETHICK2,COLORFF80FF;
數值:動(dòng)力線(xiàn),COLORA8A8A8;
STICKLINE(動(dòng)力線(xiàn)>REF(動(dòng)力線(xiàn),1) AND 動(dòng)力線(xiàn)>3.49.8 ,動(dòng)力線(xiàn) ,REF
(動(dòng)力線(xiàn),1),2.5,0),COLOR1EFFFF;
STICKLINE(動(dòng)力線(xiàn)<=REF(動(dòng)力線(xiàn),1) AND REF(動(dòng)力線(xiàn),1)>3.49.8 ,動(dòng)力線(xiàn) ,REF
(動(dòng)力線(xiàn),1),2.5,0),COLOR1EFFFF;
STICKLINE(動(dòng)力線(xiàn)<0.5,動(dòng)力線(xiàn) ,REF(動(dòng)力線(xiàn),1),2.5,0),COLOR0080FF;
STICKLINE(動(dòng)力線(xiàn)<=REF(動(dòng)力線(xiàn),1) AND REF(動(dòng)力線(xiàn),1)<0.5 ,動(dòng)力線(xiàn) ,REF
(動(dòng)力線(xiàn),1),2.5,0),COLOR0080FF;
DRAWTEXT(CROSS(數值,0.50),2.5,'異'),COLORYELLOW;
DRAWTEXT(CROSS(數值,0.50),2,'動(dòng)'),COLORB47DFF;
DRAWTEXT(CROSS(數值,0.50),1.5,'區'),COLOR00C0FF;(南方財富網(wǎng)SOUTHMONEY.COM)
(責任編輯:張曉軒)