通达信副图公式源码 通达信西电进出副图公式源码
2015-4-3 11:00:41 股票入门 http://rumen.southmoney.com
通达信副图公式源码 通达信西电进出副图公式源码:
DRAWTEXT(CURRBARSCOUNT=60,LLV(L,60)*1.1,‘====【股市礼物】====’), COLORWHITE;
AAA:=MAX(DYNAINFO(3),DYNAINFO(5))*1.215;
BBB:=MIN(DYNAINFO(3),DYNAINFO(6))/1.215;
CCC:=AAA-BBB;
中轨:(AAA+BBB)/2,COLOR999900;
DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*500/EMA(CLOSE,26);
DEAA:=EMA(DIFF,9);
MACD:=(DIFF-DEAA)/4;
STICKLINE(MACD》=REF(MACD,1)AND MACD《=0,中轨,中轨+MACD,2,1),COLOR006666;
STICKLINE(MACD》REF(MACD,1)AND MACD》=0,中轨,中轨+MACD,2,1),COLOR110055;
STICKLINE(MACD《REF(MACD,1)AND MACD《0,中轨,中轨+MACD,2,1)COLOR444400;
STICKLINE(MACD《REF(MACD,1)AND MACD》0,中轨,中轨+MACD,2,1),COLOR444400;
STICKLINE(C》=O,H,L,0,0),COLOR00EEFF;
STICKLINE(C》=O,C,O,3,0),COLOR0000FF;
STICKLINE(C《O,H,L,0,0),COLOR00FF00;
STICKLINE(C《O,C,O,3,0),COLOR008800;
中轨A:=MA(C,20);
礼为上:中轨A+2*STD(C,24),POINTDOT,LINETHICK3,COLORFF9966;
物为下:中轨A-2*STD(C,24),POINTDOT,LINETHICK3,COLORFF9966;
Q:=REF(C,1);
K:=SMA(MAX(C-Q,0),6,1)/SMA(ABS(C-Q),6,1)*100;
DRAWTEXT(CROSS(80,K),H*1.02,‘顶 ’);
阻挡:=SMA(H,13,2)*1.04;
DRAWICON(C《REF(C,1) AND H》阻挡 AND C《阻挡,H*1.02,2);
AA:=H《REF(H,1);
BB:=REF(H,1)《REF(H,2);
CC:=REF(H,2)》REF(H,3);
DD8:=AA AND BB AND CC;
ATA:=MA(DD8,13);
VARXD:=REF(CLOSE,1)-REF(ATA,1);
交易:HHV(VARXD,13),LINETHICK1, COLORYELLOW;
DRAWTEXT(ISLASTBAR,交易,‘交易’), COLORYELLOW;
TR1:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR9:=MA(TR1,22);
止损线: HHV(H-3*ATR9,22),COLORWHITE,DOTLINE;
DRAWTEXT(ISLASTBAR,止损线,‘止损线’),COLORWHITE;
VR2:=HHV(HIGH,70);
VR3:=HHV(HIGH,20);
X:= VR2*0.83;
D:= VR3*0.91;
DRAWTEXT(CROSS(D,X),L*0.99,‘◤’),COLORMAGENTA;
DRAWICON(CROSS(D,止损线),L*0.99,34);
DRAWICON(CROSS(D,X),L*0.99,23);
DRAWTEXT(CROSS(D,止损线),L*0.99,‘◢◣’),COLORRED;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。