股票的公式有哪些?通达信变盘逃顶主图公式源码无未来
2016-6-14 10:14:11 股票入门 http://rumen.southmoney.com
股票的公式有哪些?通达信变盘逃顶主图公式源码无未来 附:通达信3DMACD副图指标公式源码 南方财富网小编为您提供
【通达信变盘逃顶主图公式源码无未来】
MA5:MA(C,5);
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">MA10:MA(C,10);
MA20:MA(C,20);
VAR1:=(CLOSE+HIGH+LOW)/3;
VAR2:=EMA(VAR1,10);
VAR3:=REF(VAR2,1);
STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.8,0),COLOR000088;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.6,0),COLOR000099;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.4,0),COLOR0000AA;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.2,0),COLOR0000BB;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,2.0,0),COLOR0000CC;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,1.8,0),COLOR0000DD;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,1.5,0),COLOR0000EE;
STICKLINE((VAR2>VAR3),CLOSE,OPEN,1,0),COLOR0000FF;
STICKLINE((VAR2>VAR3),LOW,HIGH,0.0,0),COLOR0000FF;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.8,0),COLOR888800;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.6,0),COLOR999900;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.4,0),COLORAAAA00;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,2,2),COLORBBBB00;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,2.0,0),COLORCCCC00;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,1.8,0),COLORDDDD00;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,1.5,0),COLOREEEE00;
STICKLINE((VAR3>VAR2),CLOSE,OPEN,1,0),COLORFFFF00;
STICKLINE((VAR3>VAR2),LOW,HIGH,0.0,0),COLORFFFF00;
STICKLINE((OPEN>CLOSE),CLOSE,OPEN,0,0),COLORFFFF00;
STICKLINE((OPEN<CLOSE),CLOSE,OPEN,0,0),COLORRED;
C4:=CROSS(VAR2,VAR3);
C5:=CROSS(VAR3,VAR2);
DRAWICON(C4,LOW-0.2,7);
DRAWICON(C5,HIGH+0.2,8);
A1AA:=9;
A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);
DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.03),'小心变盘'),COLORFFFFFF;
DRAWTEXT(CROSS(83,RSI),H*1.04,' 逃顶')COLORYELLOW;
附:【通达信3DMACD副图指标公式源码】
SHORT:=12,NODRAW;
LONG:=26,NODRAW;
MID:=9,NODRAW;
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:EMA(DIF,MID);
MACD:(DIF-DEA)*2,COLORSTICK;
每股公积金:FINANCE(18),NODRAW,COLORYELLOW;
PE动:DYNAINFO(39),NODRAW,COLORCYAN;
量比:IF(BARSCOUNT(C)=CURRBARSCOUNT,DYNAINFO(17),V/REF(MA(V,5),1)),LINETHICK0,COLORYELLOW;
换手:VOL/CAPITAL*100,NODRAW,COLORYELLOW;
五日均换手:MA(换手,5),NODRAW,COLORYELLOW;
十日均换手:MA(换手,10)NODRAW,COLORYELLOW;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,3,0),COLOR000045;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,2.5,0),COLOR000065;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,1.5,0),COLOR0000A5;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLOR0000C5;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,0.5,0),COLOR0000E5;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLOR0000F5;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLOR0000F5;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,0,0),COLORFF5500;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,3.1,0),COLORFF6600;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,2.4,0),COLORFF7700;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,2.0,0),COLORFF8800;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,1.6,0),COLORFF9900;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,1.2,0),COLORFFAA00;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,0.6,0),COLORFFCC00;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,0.1,0),COLORFFFF00;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,0,0),COLORFF5500;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,3.1,0),COLORFF6600;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2.4,0),COLORFF7700;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2.0,0),COLORFF8800;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,1.6,0),COLORFF9900;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,1.2,0),COLORFFAA00;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,0.6,0),COLORFFCC00;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,0.1,0),COLORFFFF00;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLOR7D7DFF;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLOR7D7DFF;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,3.1,0),COLOR1313FF;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2.4,0),COLOR2424FF;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2.0,0),COLOR2D2DFF;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,1.6,0),COLOR4444FF;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,1.2,0),COLOR5757FF;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,0.6,0),COLOR6666FF;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,0.1,0),COLOR7D7DFF;
DRAWICON(CROSS(DIF,DEA),DIF*0.0,25);
DRAWICON(CROSS(DEA,DIF),DEA*0.0,24);
更多股票公式相关资讯请关注南方财富网
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。