主圖指標(biāo)源碼:(參數(shù)N=(0,100,9.91)
ZAA1:=MA(C,3),COLORYELLOW;
RC1:=REF(C,1);
ZT:=C/REF(C,1)>1.099 AND H>L AND H=C;
CS:=IF(C>=1,10000,100000);
CQS410:=1.10*RC1-49/CS;{考慮到4舍5入}
CQS45 :=1.05*RC1-49/CS;
CQS510:=0.90*RC1+51/CS;
CQS55 :=0.95*RC1+51/CS;
ST:=NAMELIKE('S') OR NAMELIKE('*S');
QS4:= IF(ST, C>=CQS45, C>=CQS410);
QS5:= IF(ST, C<=CQS55, C<=CQS510);
QS6QS4:=IF(ST, H>=CQS45, H>=CQS410);
QS6QS5:=IF(ST, L<=CQS55, L<=CQS510);
STICKLINE(QS6QS4,H,MAX(C,O),0,0),COLORMAGENTA;{QS4后回落}
STICKLINE(QS6QS5,L,MIN(C,O),0,0),COLORLICYAN;{QS5后回升};
STICKLINE(QS4,O,C,1,0),COLORMAGENTA;
STICKLINE(QS5,O,C,1,0),COLORLICYAN;
MB1:=MA(C,5);
AQ:=(H-MB1)/MB1*100,NODRAW;
拋點:=(H-MB1)/MB1*100>=20 AND H>C;
DRAWTEXT(拋點,H*1.015,'拋'),COLORGREEN;
HH:=COUNT(ZT,15)>=2;
A8:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);
買:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2)) AND HH;
賣:=HHV(A8,2)=HHV(A8,15) AND COUNT(A8>0,2) AND CROSS(MA(A8,2),A8);
買入:STICKLINE(買,OPEN,CLOSE,2.7,0),COLORYELLOW;
STICKLINE(買,O,C,3.1,0),COLOR005555;
STICKLINE(買,O,C,2.6,0),COLOR007777;
STICKLINE(買,O,C,2.1,0),COLOR009999;
STICKLINE(買,O,C,1.6,0),COLOR00BBBB;
STICKLINE(買,O,C,1.0,0),COLOR00DDDD;
STICKLINE(買,O,C,0.3,0),COLOR00FFFF;
STICKLINE(買,H,L,0.0,0),COLOR00FFFF;
VAR1:=買;
T1:=BARSLAST(VAR1);
VAR2:=CONST(T1)+2;
VAR3:=CONST(REF(O,T1+1));
IF(CURRBARSCOUNT<=VAR2,VAR3,DRAWNULL),COLORMAGENTA,LINETHICK2;
DRAWTEXT(CURRBARSCOUNT=VAR2,VAR3,'一線戰(zhàn)天下'),COLORYELLOW;
T2:=REF(T1,T1+1)+T1+1;
T3:=REF(T2,T1+1)+T1+1;
VAR2A:=CONST(T3)+2;
VAR3A:=CONST(REF(O,T3+1));
IF(CURRBARSCOUNT<=VAR2A AND CONST(T3)<=50,VAR3A,DRAWNULL),COLORMAGENTA,LINETHICK2;
DRAWTEXT(CURRBARSCOUNT=VAR2A AND CONST(T3)<=50,VAR3A,'一線戰(zhàn)天下'),COLORYELLOW;
VAR2AA:=CONST(T2)+2;
VAR3AA:=CONST(REF(O,T2+1));
IF(CURRBARSCOUNT<=VAR2AA AND CONST(T2)<=50 AND CONST(T3)-CONST(T2)>=5,VAR3AA,DRAWNULL),COLORMAGENTA,LINETHICK2;
DRAWTEXT(CURRBARSCOUNT=VAR2AA AND CONST(T2)<=50 AND CONST(T3)-CONST(T2)>=5,VAR3AA,'一線戰(zhàn)天下'),COLORYELLOW;
KK:=C/REF(C,1)>1.099 AND H>L AND H=C;
BMM:=BARSLAST(KK),NODRAW;
VV:=REF(BARSLAST(KK),1),NODRAW;
VMK:=REF(C,BMM),NODRAW;
JHG:=REF(O,BMM),NODRAW;
AZ:(VMK+JHG)/2,NODRAW;
QWSDF:=CROSS(C,AZ) AND C>O AND C>REF(C,1) AND VV>=2 AND VV<=15 AND (C-REF(C,1))/REF(C,1)*100>0 AND (H/L-1)*100>0 NODRAW;
QWSDFA:=FILTER(QWSDF,30);
DRAWTEXT(QWSDFA ,L*0.995,'★預(yù)報'),COLORYELLOW;
SS:=QWSDFA=1;
TY:BARSLAST(SS)NODRAW;
TYVMK:=REF(C,TY),NODRAW;
TYJHG:=REF(O,TY),NODRAW;
TYQ:=CROSS(H,TYJHG) AND TY>=5 AND TY<=15;
ER:=FILTER(TYQ,15);
DRAWTEXT(ER ,L*0.995,'加倉'),COLORYELLOW;
QUI:=H=C;
A:=(C-REF(C,1))/REF(C,1)*100>=N AND QUI,NODRAW;
D:=BARSLAST(VAR1),NODRAW;
DRAWTEXT(D AND A AND D<=15,L*0.99,VARCAT(VAR2STR(D,0),'天')),COLORYELLOW;
副圖指標(biāo)源碼
ZT:=C/REF(C,1)>1.099 AND H>L AND H=C;
HH:=COUNT(ZT,15)>=2;
A8:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);
買:=LLV(A8,2)=LLV(A8,10) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2)) AND HH;
VAR1:=買;
CC1:=100*(C-REF(C,1))/REF(C,1);
STICKLINE(VAR1,0,2,3,1),COLORYELLOW;
STICKLINE(VAR1,9,11,3,1),COLORYELLOW;
DRAWTEXT(VAR1,8,' 一線★戰(zhàn)天下'),COLORYELLOW;
DRAWTEXT(VAR1,3.5,' 強信號'),COLORYELLOW;
DRAWTEXT(VAR1 AND CC1>=4,5.5,' 大陽攻擊'),COLORMAGENTA;
DRAWTEXT(VAR1 AND CC1<4,5.5,' 小陽攻擊'),COLORRED;
DRAWICON(VAR1,1,9);
DRAWICON(VAR1,2,2);
DRAWICON(VAR1,3,1);
DRAWICON(VAR1,4,1);
DRAWICON(VAR1,5,1);
DRAWICON(VAR1,6,1);
DRAWICON(VAR1,7,28);
DRAWICON(VAR1,8,1);
DRAWICON(VAR1,9,1);
DRAWICON(VAR1,10,9);
DRAWICON(VAR1,11,1);
{資金副圖}
VAR11:=EMA(MA(C,5),5);
QQ:=(VAR11-REF(VAR11,1))/REF(VAR11,1)*10000,NODRAW;
A10:=CROSS(QQ,0);
WW:=IF(A10,5,0),COLORYELLOW;
STICKLINE(QQ>REF(QQ,1) AND QQ>0,0,QQ,1,0),COLORRED;
主力介入:IF(QQ>REF(QQ,1) AND QQ>0,QQ,0),COLORRED,NODRAW;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(VAR2>50 AND COST(85)<CLOSE AND QQ>0,0,QQ,1,0);
強介入:IF(VAR2>50 AND COST(85)<CLOSE AND QQ>0,QQ,0),COLORYELLOW,NODRAW;
STICKLINE(QQ<REF(QQ,1) AND QQ>0,0,QQ,1,0),COLORBLUE;
洗盤出貨:IF(QQ<REF(QQ,1) AND QQ>0,QQ,0),COLORBLUE,NODRAW;
選股指標(biāo)源碼
ZT:=C/REF(C,1)>1.099 AND H>L AND H=C;
HH:=COUNT(ZT,15)>2;
A8:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);
買:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2)) AND HH;
賣:=HHV(A8,2)=HHV(A8,15) AND COUNT(A8>0,2) AND CROSS(MA(A8,2),A8);
VAR1:買;
聯(lián)系客服