以下是通达信单阳不破源码和截图
通达信单阳不破源码:
va:=max(ref(c,1),ref(o,1));va1:=min(ref(c,1),ref(o,1));
j:=sum(AMOUNT/100,2)/sum(v,2);
vok:=if(o va1andc va,1,0);
stICKLINE(vok=1,o,c,8,0),colorred;
vok1:=if(ref(c,1) ref(c,2)ando ref(c,1)andl ref(l,1)andc ref(c,1)
orref(c,1) ref(o,1)ando ref(c,1)andl ref(l,1)andc ref(c,1),1,0);
STICKLINE(vok1=1,o,c,8,0),colorff00ff;
vsj1:=BArslAST(vok=1orvok1=1);
mma2:sum(AMOUNT/100,2)/sum(,2),LINETHICK0;
zs:if(vok=1orvok1=1,l,ref(l,vsj1)),coloryellow;
ma2:=sum(AMOUNT/100,2)/sum(v,2);
ma3:=sum(AMOUNT/100,3)/sum(v,3);
ma4:=sum(AMOUNT/100,4)/sum(v,4);
ma5:=sum(AMOUNT/100,5)/sum(v,5);
ma6:=sum(AMOUNT/100,6)/sum(v,6);
ma7:=sum(AMOUNT/100,7)/sum(v,7);
ma8:=sum(AMOUNT/100,8)/sum(v,8);
ma9:=sum(AMOUNT/100,9)/sum(v,9);
ma10:=sum(AMOUNT/100,10)/sum(v,10);
ma11:=sum(AMOUNT/100,11)/sum(v,11);
ma12:=sum(AMOUNT/100,12)/sum(v,12);
ma13:=sum(AMOUNT/100,13)/sum(v,13);
ma14:=sum(AMOUNT/100,14)/sum(v,14);
ma15:=sum(AMOUNT/100,15)/sum(v,15);
ma16:=sum(AMOUNT/100,16)/sum(v,16);
ma17:=sum(AMOUNT/100,17)/sum(v,17);
ma18:=sum(AMOUNT/100,18)/sum(v,18);
ma19:=sum(AMOUNT/100,19)/sum(v,19);
a:max(ma2,max(ma3,max(ma4,max(ma5,max(ma6,max(ma7,max(ma8,max(ma9,max(ma10,
max(ma11,max(ma12,max(ma13,max(ma14,max(ma15,max(ma16,max(ma17,
max(ma18,ma19))))))))))))))))),LINETHICK0;
b:min(ma2,min(ma3,min(ma4,min(ma5,min(ma6,min(ma7,min(ma8,min(ma9,min(ma10,
min(ma11,min(ma12,min(ma13,min(ma14,min(ma15,min(ma16,min(ma17,
min(ma18,ma19))))))))))))))))),LINETHICK0;
DRAWICON(cross(c,a),l,4);
DRAWICON(((a-b)/b)*100 10andcross(c,a),h+0.01,7);
STICKLINE(vok1=1andcross(c,a),o,c,3,0),color00ffff;
STICKLINE(vok=1andcross(c,a),o,c,3,0),color00ffff;
阳涨幅:=5;
阳倍量:=2;
单阳:=C O*(1+阳涨幅/100)ANDVOL REF(VOL,1)*阳倍量;
DRAWTEXT(CURRBARSCOUNT 100AND单阳,L*0.98,'阳'),COLOR00BBBB;
STICKLINE(CURRBARSCOUNT 100AND单阳,O,C,0.8,0),COLOR00FFFF;
高不破价:=REF(C,BARSLAST(单阳));
中不破价:=REF((C+L)/2,BARSLAST(单阳));
低不破价:=REF(L,BARSLAST(单阳));
单阳不破:=CURRBARSCOUNT 100ANDBARSLAST(单阳) 11AND{(LLV(L,BARSLAST(单阳)) 低不破价ORLLV(L,BARSLAST(单阳))=低不破价)}
(LLV(C,BARSLAST(单阳)) 低不破价ORLLV(C,BARSLAST(单阳))=低不破价);
STICKLINE(单阳不破,低不破价-低不破价*0.002,{低不破价}
低不破价-低不破价*0.002,4.1,0),COLORRED;
量:V,NODRAW;
单阳量:REF(V,BARSLAST(单阳)),NODRAW;
单阳后均量:SUM(V,BARSLAST(单阳)-1)/(BARSLAST(单阳)-1),NODRAW;
单阳后缩量:单阳后均量 单阳量*0.75,NODRAW;
单阳线体:=REF(C-O,BARSLAST(单阳)),NODRAW;
小线体:=ABS(C-O) 单阳线体/2.5,NODRAW;
小线体严:COUNT(小线体,BARSLAST(单阳)-1) BARSLAST(单阳)-2,NODRAW;
小线体松:COUNT(小线体,BARSLAST(单阳)-1) BARSLAST(单阳)-3ANDC REF(C,1)*1.03,NODRAW;
两天:=LLV(C,BARSLAST(单阳)) 低不破价ORLLV(C,BARSLAST(单阳))=低不破价;
一般:=LLV(C,BARSLAST(单阳)-2) 低不破价ORLLV(C,BARSLAST(单阳)-2)=低不破价;
一般:STICKLINE(CURRBARSCOUNT 100ANDBARSLAST(单阳) 9AND两天AND一般,低不破价,低不破价,2,0),COLOR88FF00;
较强:=LLV(C,BARSLAST(单阳)-2) 中不破价ORLLV(C,BARSLAST(单阳)-2)=中不破价;
较强选股:STICKLINE(CURRBARSCOUNT 100ANDBARSLAST(单阳) 9AND两天AND较强,中不破价,中不破价,2,0),COLOR0088FF;
最强:=LLV(C,BARSLAST(单阳)-2) 高不破价ORLLV(C,BARSLAST(单阳)-2)=高不破价;
最强选股:STICKLINE(CURRBARSCOUNT 100ANDBARSLAST(单阳) 9AND两天AND最强,高不破价,高不破价,2,0),COLOR00FFFF;
DRAWTEXT(BARSLAST(单阳)=1AND单阳不破,低不破价-低不破价*0.02,'1'),COLOR00BB00;
DRAWTEXT(BARSLAST(单阳)=2AND单阳不破,低不破价-低不破价*0.02,'2'),COLOR00BB00;
DRAWTEXT(BARSLAST(单阳)=3AND单阳不破,低不破价-低不破价*0.02,'3'),COLOR00BB00;
DRAWTEXT(BARSLAST(单阳)=4AND单阳不破,低不破价-低不破价*0.02,'4'),COLOR00BB00;
DRAWTEXT(BARSLAST(单阳)=5AND单阳不破,低不破价-低不破价*0.02,'5'),COLOR00BB00;
DRAWTEXT(BARSLAST(单阳)=6AND单阳不破,低不破价-低不破价*0.02,'6'),COLOR00BB00;
DRAWTEXT(BARSLAST(单阳)=7AND单阳不破,低不破价-低不破价*0.02,'7'),COLOR00BB00;
DRAWTEXT(BARSLAST(单阳)=8AND单阳不破,低不破价-低不破价*0.02,'8'),COLOR00BB00;
DRAWTEXT(BARSLAST(单阳)=9AND单阳不破,低不破价-低不破价*0.02,'9'),COLOR00BB00;
DRAWTEXT(BARSLAST(单阳)=10AND单阳不破,低不破价-低不破价*0.02,'10'),COLOR00BB00;
{松班工作线}
工作线:EMA(C,14),COLOR00FFFF,LINETHICK1;
二号线:EMA(C,25),COLORFF8800,LINETHICK1;
MA13:=MA(C,13);
MA34:=EMA(C,34);
MA55:=EMA(C,55);
RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K:=MA(RSV,2.5);
D:=MA(K,2.5);
J:=3*K-2*D;
JJ:=J
强势回调:=REF(J,1) 20ANDEMA(C,13) REF(EMA(C,13),1)ANDNOT(JJ);
QH:=REF(H,2);
QL:=REF(L,2);
QO:=REF(O,2);
QC:=REF(C,2);
ZO:=REF(O,1);
ZC:=REF(C,1);
JYZHK:=ABS(QO-QC)/QO 0.02ANDZO/ZC 1.03ANDABS(O-C)/O 0.02ANDC MA(C,30);
JYZHV:=V REF(V,1);
金印选股:=JYZHKANDJYZHV;
ST:=(CLOSE/OPEN-1)*100;
Z,:=(C/REF(C,1)-1)*100;
SX1:=ST 3ANDST=HHV(ST,6);
SX2:=Z, 3ANDZ,=HHV(Z,,6);
SX3:=Z, =9ANDCLOSE=HIGH;
烧香:=IF(SX1ORSX2ORSX3,1,0);
DYSJ:=BARSLAST(烧香);
跟踪:=IF(DYSJ =13ANDCOUNT(C REF(L,DYSJ),DYSJ) =DYSJ-1,DYSJ,0);
BBB:=BETWEEN(跟踪,4,9);
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
:=(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,19))/210;
WY1001:=(2*CLOSE+HIGH+LOW)/4;
WY1002:=EMA(WY1001,3);
WY1003:=EMA(WY1002,3);
WY1004:=EMA(WY1003,3);
XYS0:=(WY1004-REF(WY1004,1))/REF(WY1004,1)*100;
XYS2:=MA(XYS0,1);
生命线:=EMA(CLOSE,453);
选股:(强势回调OR(金印选股ORREF(金印选股,1)))ANDBBBAND(C-O) =0ANDC/REF(C,1) =1.02ANDC/REF(C,1) =0.99AND(C =EMA(C,13)OR(C EMA(C,13)AND短期=中期))
AND主力 REF(主力,1)ANDREF(XYS2,2) 0
ANDC
通达信单阳不破截图