【通達(dá)信】搶奪牛股線主圖指標(biāo)公式
攻城獅 2015.11.08 03:07
DRAWKLINE(H,O,L,C);
當(dāng)前獲利籌碼:IF(WINNER(CLOSE),WINNER(CLOSE)*100,0),COLORFF7700,NODRAW;
線上強(qiáng):=EMA(C,21);
PLOYLINE(MA(C,3)>線上強(qiáng),線上強(qiáng)),COLORRED,LINETHICK2;
PLOYLINE(MA(C,5)<線上強(qiáng),線上強(qiáng)),COLORLIGREEN,LINETHICK2;
JH:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
SZ:=FILTER(CROSS(JH,35),13);
SX:=FILTER(CROSS(JH,30),7);
AA:=IF(CAPITAL<1,SZ,SX);
CC:=REF(HHV(CLOSE,120),1);
DD:=REF(LLV(CLOSE,120),1);
WW:=((100 * (CLOSE – DD)) / (CC – DD));
EE:=AMOUNT;
FF:=(EMA(EE,5) / REF(EMA(EE,5),5));
搶奪:=FILTER(((((((FF >= 2)) AND (WW < 35))) AND (BARSCOUNT(CLOSE) > 30)) OR (((((FF >= 2)) AND (WW < 100))) AND (BARSCOUNT(CLOSE) < 50))),90);
STICKLINE(C>REF(C,1),H,L,0,0),COLOR0099FF;
STICKLINE(C>REF(C,1),C,O,3.2,0),COLOR0000AA;
STICKLINE(C>REF(C,1),C,O,2.7,0),COLOR0000DD;
STICKLINE(C>REF(C,1),C,O,2.1,0),COLOR0022FF;
STICKLINE(C>REF(C,1),C,O,1.5,0),COLOR0066FF;
STICKLINE(C>REF(C,1),C,O,0.9,0),COLOR0099FF;
STICKLINE(C>REF(C,1),C,O,0.3,0),COLOR00DDFF;
{STICKLINE(霸占,HIGH,LOW,0,1),COLOR0000FF;}
STICKLINE(搶奪,C,O,3,2),COLOR000055;
STICKLINE(搶奪,C,O,2.7,0),COLOR000077;
STICKLINE(搶奪,C,O,2.1,0),COLOR000099;
STICKLINE(搶奪,C,O,1.5,0),COLOR0000BB;
STICKLINE(搶奪,C,O,0.9,0),COLOR0000DD;
STICKLINE(搶奪,C,O,0.3,0),COLOR0000FF;
{STICKLINE(AA,HIGH,LOW,0,1),COLORYELLOW;}
STICKLINE(AA,CLOSE,OPEN,3.2,0),COLOR0088FF;
STICKLINE(AA,CLOSE,OPEN,2.7,0),COLOR00AAFF;
STICKLINE(AA,CLOSE,OPEN,2.1,0),COLOR00CCFF;
STICKLINE(AA,CLOSE,OPEN,1.5,0),COLOR22FFFF;
STICKLINE(AA,CLOSE,OPEN,0.9,0),COLOR66FFFF;
STICKLINE(AA,CLOSE,OPEN,0.3,0),COLOR99FFFF;
漲停:=IF(C>1.099*REF(C,1),1,0);
STICKLINE(漲停,OPEN,CLOSE,1.5,0),COLORYELLOW;
跌停:=IF(C<0.901*REF(C,1),1,0);
STICKLINE(跌停,OPEN,CLOSE,1.5,0),COLORBLUE;
QQ:=BARSCOUNT(C);
DRAWTEXT((QQ+0)/18=FLOOR((QQ+0)/18),H*1.00,’時(shí)間窗’),COLORFFFFFF;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.guangshenggb.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場(chǎng),不代表本網(wǎng)贊同其觀點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請(qǐng)建立在獨(dú)立思考之上。