以下是通达信阴线副图/公式尾盘买入源码和截图
通达信阴线抄底副图/选股公式尾盘买入源码:
零轴线:0,coloryellow,LINETHICK3;
A1:=EMA(EMA(CLOSE,7),2)-EMA(EMA(CLOSE,21),2);
B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);
做多:IF(A1 =B1,A1,B1),LINETHICK3,COLORFF00FF;
短线做空:B1,LINETHICK2,COLORFFAA00;
STICKLINE(B1 0ANDB1 REF(B1,1),B1*0.7,0,0.05,0),colorred;
STICKLINE(B1 0ANDB1 REF(B1,1),B1*0.7,0,0.05,0),coloryellow;
STICKLINE(B1 REF(B1,1)ANDB1 0,B1*0.7,0,0.05,0),colorred;
STICKLINE(B1 REF(B1,1)ANDB1 0,B1*0.7,0,0.05,0),colorgreen;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),3,1)/SMA(ABS(CLOSE-LC),3,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),4,1)/SMA(ABS(CLOSE-LC),4,1)*100;
RSI4:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;
RSI5:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI6:=SMA(MAX(CLOSE-LC,0),7,1)/SMA(ABS(CLOSE-LC),7,1)*100;
RSI7:=SMA(MAX(CLOSE-LC,0),8,1)/SMA(ABS(CLOSE-LC),8,1)*100;
RSI8:=SMA(MAX(CLOSE-LC,0),9,1)/SMA(ABS(CLOSE-LC),9,1)*100;
RSI9:=SMA(MAX(CLOSE-LC,0),10,1)/SMA(ABS(CLOSE-LC),10,1)*100;
RSI10:=SMA(MAX(CLOSE-LC,0),11,1)/SMA(ABS(CLOSE-LC),11,1)*100;
RSI11:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI12:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;
RSI13:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;
RSI14:=SMA(MAX(CLOSE-LC,0),15,1)/SMA(ABS(CLOSE-LC),15,1)*100;
RSI15:=SMA(MAX(CLOSE-LC,0),16,1)/SMA(ABS(CLOSE-LC),16,1)*100;
RSI16:=SMA(MAX(CLOSE-LC,0),17,1)/SMA(ABS(CLOSE-LC),17,1)*100;
RSI17:=SMA(MAX(CLOSE-LC,0),18,1)/SMA(ABS(CLOSE-LC),18,1)*100;
RSI18:=SMA(MAX(CLOSE-LC,0),19,1)/SMA(ABS(CLOSE-LC),19,1)*100;
RSI19:=SMA(MAX(CLOSE-LC,0),20,1)/SMA(ABS(CLOSE-LC),20,1)*100;
RSI21:=SMA(MAX(CLOSE-LC,0),21,1)/SMA(ABS(CLOSE-LC),21,1)*100;
短线RSI:=(RSI1+RSI2+RSI3+RSI4+RSI5)/5,colorwhite;
RSI:=(RSI6+RSI7+RSI8+RSI9+RSI10+RSI11+RSI12+RSI13+RSI14+RSI15+RSI16+RSI17+RSI18+RSI19+RSI21)/15,coloryellow;
A:=CROSS(短线RSI,中线RSI);
B:=CROSS(中线RSI,短线RSI);
DRAWICON(AAND短线做多 短线做空,短线做多+0.05,1);
DRAWICON(BAND短线做多 =短线做空,短线做多-0.05,2);
X1:=(C-REF(C,7))/REF(C,7)*100;
X2:=REF(X1,1);
X3:=X2
X4:=MA(C,60);
X5:=(C-X4)/X4*100;
X6:=X5
XTJ:=X3ANDX6;
ZDXS:=IF((FINANCE(3)=4OR(DATE 1200822 FINANCE(3)=3)),0.2,0.1);
ZT:=C =ZTPRICE(REF(C,1),ZDXS);
TZT:=BARSLAST(ZT);
ZCT:=IF((H-REF(C,1))*100/REF(C,1) =(10-0.01*100/REF(C,1)),1,0)ANDC
DTJ:=DTPRICE(REF(C,1),ZDXS);
DT:=C =DTPRICE(REF(C,1),ZDXS);
TJ1:=C/REF(C,1)-1 -0.048;
TJ2:=NOT(H-MAX(C,O) ABS(C-O)*1.5);
TJ3:=EVERY(C MA(C,10),15);
TJ4:=NOT(TJ3)ANDTJ1;
TJ5:=TJ2ANDTJ4;
TJ6:=NOT(REF(COUNT(H MAX(C,O)*1.05,5) =1,1));
XTJANDTJ5ANDTJ6;
箭:=(H-L)/ABS(C-O) 5AND(H-MAX(C,O)) (MIN(C,O)-L);
箭数:COUNT(箭,2)=2;
通达信阴线抄底副图/选股公式尾盘买入截图