通信达公式导入 通达信秀才主图指标公式(2)
2018-07-04 16:11 股票知识 zhishi.southmoney.com
YGB3:=MA(CLOSE,20);
X1:=EMA(C,7);
DRAWICON(FILTER(YGB3 AND YGB2 AND COUNT(X1<REF(X1,1),5)>2 AND X1>REF(X1,1),3),L,1);
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(CROSS(75,RSI), HIGH*1.01,' 卖'),COLORWHITE;
STICKLINE(C>REF(C,1)*1.099,C,O,2.7,0)COLORRED,LINETHICK2;
STICKLINE(C<REF(C,1)*0.901,C,O,2.7,0)COLORGREEN,LINETHICK2;
N1:=(3,30,10);
箱顶:=PEAK(CLOSE,N1,1)*0.98,COLORGREEN,LINETHICK1;
箱底:=TROUGH(CLOSE,N1,1)*1.02,COLORCYAN,LINETHICK1;
N:=(80,120,102);
M:=(2,20,7);
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
道1:=AA*N/100,COLORBLUE;
道2:=AA*(200-N)/100,COLORGREEN;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
道3:=(1+M/100)*DD,COLORCYAN;
道4:=(1-M/100)*DD,COLORGRAY;
MB1:=EMA(WINNER(C)*100,5),COLORYELLOW;
MB2:=EMA(MB1,2),COLORBLUE;
MB3:=EMA(MB2,2),COLORBLUE;
MB4:=EMA(MB3,2),COLORBLUE;
MB5:=EMA(MB4,2),COLORBLUE;
MB6:=EMA(MB5,2),COLORBLUE;
MB7:=EMA(MB6,2),COLORBLUE;
MB8:=EMA(MB7,2),COLORBLUE;
MB9:=EMA(MB8,2),COLORBLUE;
MB10:=EMA(MB9,2),COLORBLUE;
MB11:=EMA(MB10,2),COLORBLUE;
MB12:=EMA(MB11,2),COLORBLUE;
MB13:=EMA(MB12,2),COLORBLUE;
MB14:=EMA(MB13,2),COLORBLUE;
VAR3:=DRAWLINE(MB1>=HHV(MB1,5)=1,MB1,MB1<=LLV(MB1,5)=1,MB1,1),COLORWHITE;
XG1:=REF(MB1,1)=REF(VAR3,1) AND REF(MB1,1)<REF(MB4,1);
XG2:=REF(MB1,1)=REF(VAR3,1) AND MB1>REF(MB1,1);
XG3:=C>箱底;(股票知识网zhishi.southmoney.com)
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。