通达信波段乾坤主图


章鱼大哥:=DYNAINFO(3)*1,COLOR0000FF;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100+50/100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
KK:=章鱼大哥+K/100;
DD:=章鱼大哥+D/100;
JJ:=章鱼大哥+J/100;
EE:=50/100+章鱼大哥;
章鱼A:=JJ>=KK AND KK>=EE;
章鱼B:=JJ>=KK AND KK< EE;
章鱼D:=JJ< KK AND KK>=EE;
章鱼E:=JJ< KK AND KK< EE;
STICKLINE(章鱼A,H,L,0,0),COLOR0000FF;
STICKLINE(章鱼B,H,L,0,0),COLORFF00FF;
STICKLINE(章鱼D,H,L,0,0),COLOR00FFFF;
STICKLINE(章鱼E,H,L,0,0),COLORFFFF00;
STICKLINE(章鱼A,CLOSE,OPEN,3.2,0),COLOR000099;
STICKLINE(章鱼A,CLOSE,OPEN,1.8,0),COLOR0000BB;
STICKLINE(章鱼A,CLOSE,OPEN,1.3,0),COLOR0000DD;
STICKLINE(章鱼A,CLOSE,OPEN,0.5,0),COLOR0000FF;
STICKLINE(章鱼B,CLOSE,OPEN,3.2,0),COLOR990099;
STICKLINE(章鱼B,CLOSE,OPEN,1.8,0),COLORAA00AA;
STICKLINE(章鱼B,CLOSE,OPEN,1.3,0),COLORDD00DD;
STICKLINE(章鱼B,CLOSE,OPEN,0.5,0),COLORFF00FF;
STICKLINE(章鱼D,C,O,3.2,0),COLOR009999;
STICKLINE(章鱼D,C,O,2.4,0),COLOR00BBBB;
STICKLINE(章鱼D,C,O,1.0,0),COLOR00BBDD;
STICKLINE(章鱼D,C,O,0.6,0),COLOR00FFFF;
STICKLINE(章鱼E,C,O,3.2,0),COLOR999900;
STICKLINE(章鱼E,C,O,1.6,0),COLORBBBB00;
STICKLINE(章鱼E,C,O,1.0,0),COLORBBDD00;
STICKLINE(章鱼E,C,O,0.5,0),COLORFFFF00;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;
SELL2:=(CROSS(88,RSI1));
DRAWTEXT(SELL2,HIGH*1.02,'←卖'),COLOR00FF00;
ZYG1:=C-REF(C,1);
ZYG2:=100*EMA(EMA(ZYG1,6),6)/EMA(EMA(ABS(ZYG1),6),6);
ZYG3:=IF(LLV(ZYG2,2)=LLV(ZYG2,7) AND COUNT(ZYG2< 0,2) AND CROSS(ZYG2,MA(ZYG2,2)),1,0);
ZYG4:=FILTER(ZYG3=1,5);
红色:=BARSLASTCOUNT(章鱼A)=1;
DRAWTEXT(红色,LOW*0.998,'←买'),COLOR00FFFF;
DRAWICON(红色,L,9);
DRAWTEXT_FIX(1,0,0,0,HYBLOCK);
威廉波段:=100-(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100;
威廉风险:=IF(威廉波段>95,(100/100+章鱼大哥)-(100/100+章鱼大哥)*0.009,100/100+章鱼大哥),COLOR00FFFF,LINETHICK0;
WLDB:=IF(威廉波段< 5,(0/100+章鱼大哥)+(0/100+章鱼大哥)*0.009,0/100+章鱼大哥),COLORFFFF00,LINETHICK1;
ZGB:VOL*100/HSCOL.HSCOL,NODRAW;
DRAWTEXT(ZGB-REF(ZGB,1)>50,H,'解禁日')COLORGREEN;
生命线:MA(C,30)LINETHICK1,COLORWHITE;
牛熊线:MA(C,60)LINETHICK1,COLORRED;
黄金线:(EMA(C,18)),POINTDOT,LINETHICK5,COLORYELLOW;
神奇线:MA(C,43)DOTLINE,LINETHICK1,COLORGREEN;
_10日涨跌%:=(C-REF(CLOSE,10))/REF(CLOSE,10)*100,COLORGREEN,NODRAW;
涨家数:INDEXADV,COLOR0080FF,NODRAW;
跌家数:INDEXDEC,COLORGREEN,NODRAW;
?章鱼:C+0.05>=(ROUND(REF(C,1)*(100+10*(2-NAMELIKE('ST'))/2))/100),COLOR0080FF,NODRAW;
鱼哥:C-0.05<=(ROUND(REF(C,1)*(100-10*(2-NAMELIKE('ST'))/2))/100),COLORGREEN,NODRAW;
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME< 0.5,TOTAL,MTIME);
VV:=IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,V);
N9:=120;
A100:=CONST(HHV(H,N9)-LLV(L,N9))/CONST(HHV(VV,N9));
B100:=CONST(LLV(L,N9))-CONST(HHV(VV,N9))*A100/8;
天数:=10;
STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),B100+VV*A100/8,B100,-1,-1),COLOR00C0C0;
STICKLINE(C>=O AND CURRBARSCOUNT<=天数,B100+VV*A100/8,B100,3,1),COLOR3232FF;
STICKLINE(C< O AND CURRBARSCOUNT<=天数,B100+VV*A100/8,B100,3,0),COLORFFFF54;
DRAWTEXT_FIX(1,0.60,0.75,0,'更多指标,低费率交易,私聊 '),COLORYELLOW;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,FGBLOCK);
Z3:=STRCAT(Z2,DYBLOCK);
Z4:=STRCAT(Z3,' ');
DRAWTEXT_FIX(ISLASTBAR,0.00,0.99,0,STRCAT(Z4,GNBLOCK)),COLORYELLOW;
A1000:=REF(C,1);
章鱼AA:=IF((C-A1000)*100/A1000>=(10-0.01*100/A1000),1,0);
鱼哥A:=IF((A1000-C)*100/A1000>=(10-0.01*100/A1000),1,0);
章鱼次数:=COUNT(章鱼AA,BARSSINCE(章鱼AA)+1);
鱼哥次数:=COUNT(鱼哥A,BARSSINCE(鱼哥A)+1);
DRAWNUMBER(章鱼AA,HIGH*1.04,章鱼次数),COLORYELLOW;
DRAWNUMBER(鱼哥A,HIGH*1.04,鱼哥次数),COLORCYAN;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.62,0.95,0,章鱼次数),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.72,0.95,0,鱼哥次数),COLORCYAN;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.55,0.95,0,'上市以来共章鱼:'),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.65,0.95,0,'上市以来共鱼哥:'),COLORCYAN;
章鱼K线:=IF((C-A1000)*100/A1000>=(10-0.01*100/A1000),1,0);
鱼哥K线:=IF((A1000-C)*100/A1000>=(10-0.01*100/A1000),1,0);
通达信波段乾坤副图


章鱼大哥:=DYNAINFO(3)*1,COLOR0000FF;
STICKLINE(1,90/100+章鱼大哥,90/100+章鱼大哥,2,0),COLOR00BBBB;
STICKLINE(1,10/100+章鱼大哥,10/100+章鱼大哥,2,0),COLOR0000BB;
STICKLINE(1,100/100+章鱼大哥,100/100+章鱼大哥,2,0),COLORBBBBBB;
STICKLINE(1,50/100+章鱼大哥,50/100+章鱼大哥,2,0),COLORFF0000;
STICKLINE(1,0/100+章鱼大哥,0/100+章鱼大哥,2,0),COLORBBBB00;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100+50/100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
KK:=章鱼大哥+K/100;
DD:=章鱼大哥+D/100;
JJ:=章鱼大哥+J/100;
EE:=50/100+章鱼大哥;
DRAWBAND(KK,RGB(200,0,150),EE,RGB(0,170,120));
DRAWBAND(JJ,RGB(220,0,0),KK,RGB(120,120,170));
DRAWTEXT_FIX(1,0.60,0.75,0,'更多指标,低费率交易,私聊 '),COLORYELLOW;
章鱼小哥:=100-(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100;
章鱼2280279789:=IF(章鱼小哥>95,(100/100+章鱼大哥)-(100/100+章鱼大哥)*0.009,100/100+章鱼大哥),COLOR00FFFF,LINETHICK0;
DRAWBAND(100/100+章鱼大哥,RGB(220,220,0),章鱼2280279789,RGB(0,0,0));
WLDB:=IF(章鱼小哥< 5,(0/100+章鱼大哥)+(0/100+章鱼大哥)*0.009,0/100+章鱼大哥),COLORFFFF00,LINETHICK1;
DRAWBAND(WLDB,RGB(0,220,220),0/100+章鱼大哥,RGB(0,0,0));
通达信波段乾坤选股



章鱼大哥:=DYNAINFO(3)*1,COLOR0000FF;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100+50/100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
KK:=章鱼大哥+K/100;
DD:=章鱼大哥+D/100;
JJ:=章鱼大哥+J/100;
EE:=50/100+章鱼大哥;
AAA:=JJ>=KK AND KK>=EE;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;
SELL2:=(CROSS(88,RSI1));
ZYG1:=C-REF(C,1);
ZYG2:=100*EMA(EMA(ZYG1,6),6)/EMA(EMA(ABS(ZYG1),6),6);
ZYG3:=IF(LLV(ZYG2,2)=LLV(ZYG2,7) AND COUNT(ZYG2< 0,2) AND CROSS(ZYG2,MA(ZYG2,2)),1,0);
ZYG4:=FILTER(ZYG3=1,5);
QXS:=NOT(CODELIKE('4'));
QKC:=NOT(CODELIKE('688'));
QST:=IF(NAMELIKE('S'),0,1);
QXX:=IF(NAMELIKE('*'),0,1);
QBJ:=NOT(CODELIKE('8'));
LTP:=CAPITAL;
LTP1:=FINANCE(40)/100000000>=100;
LTP11:=FINANCE(40)/100000000<=350;
ABCD:=QXS AND QST AND QKC AND QXX AND QBJ;
红色:=BARSLASTCOUNT(AAA)=1;
XG:红色 AND ABCD AND LTP1 AND LTP11;