您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:模仿【金K线】《通达信源码、主图、附图》

模仿【金K线】《通达信源码、主图、附图》


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2013-04-19 08:30:00
公式简介:

在某论坛看到【金K线】该作者要好多滴金币,俺也看到飞狐滴【金K线】。
所以俺模仿【金K线】玩玩;公式本身是很简单的, 由于某些屌丝喜欢玩指标。可能这些屌丝会随便繁殖,就说原创啦。车、俺搞点障眼法与你玩玩。如果是使用者,木要随便繁殖、多繁殖一点钞票更好!
【金K线】源码;


综价:=(3*C+O)/4;
综价均3:=WMA(综价,3);
短升:=综价均3>REF(综价均3,1);
金操盘线:IF(短升,综价均3*0.95,综价均3*1.05),COLOR006600;
IF(短升,金操盘线,DRAWNULL),COLOR008888,LINETHICK3;
IF(短升,金操盘线,DRAWNULL),COLORYELLOW;
STICKLINE(短升,H,L,0,0),COLORYELLOW;
STICKLINE(短升,O,C,3,0),COLOR3666EE;
STICKLINE(短升,O,C,3,0),COLOR2299EE;
STICKLINE(短升,O,C,3,0),COLOR11AAEF;
STICKLINE(短升,O,C,3,0),COLOR00BBFE;
STICKLINE(短升,O,C,3,0),COLOR00CCFE;
STICKLINE(短升,O,C,3,0),COLOR00DDFF;
STICKLINE(短升,O,C,2,0),COLOR00EEFF;
STICKLINE(短升,O,C,1,0),COLOR00FFFF;
STICKLINE(NOT(短升),H,L,0,0),COLOR006600;
STICKLINE(NOT(短升),O,C,3,0),COLOR006600;
买入:短升 AND COUNT(短升,2)=1,COLOR0000FF,LINETHICK0;
DRAWICON(买入,L,1);
HGY:=17;
转强信号:=FILTER(COUNT((100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-
REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY),
HGY),1))<REF((100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(EMA(C,
HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1)),1),5)>=4
AND ((WINNER(C*0.95)>0.5 AND COST(85)<C AND (100*(EMA(EMA(EMA(C,HGY),
HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),
HGY),HGY),1))>0) OR ((100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA
(EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))>
REF((100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),
HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1)),1) AND (100*(EMA(EMA(
EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))/
REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))>0) OR ((100*(EMA(EMA(EMA(C,HGY),
HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),
HGY),HGY),1))<=0 AND (100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(
EMA(C,HGY),HGY),HGY),1))/REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1))>REF((
100*(EMA(EMA(EMA(C,HGY),HGY),HGY)-REF(EMA(EMA(EMA(C,HGY),HGY),HGY),
1))/REF(EMA(EMA(EMA(C,HGY),HGY),HGY),1)),1))),5),COLOR00FFFF;
STICKLINE(转强信号,L*0.99,L*0.97,3,0),LINETHICK1,COLORRED;
STICKLINE(转强信号,L*0.99,L*0.97,1,0),LINETHICK1,COLORYELLOW;
DRAWTEXT(转强信号,L*0.95,'转强信号')COLORYELLOW;
止损:=REF(HHV(H,13),1)*0.95,COLORGRAY,DOTLINE;
STICKLINE(CURRBARSCOUNT=1,止损,止损,80,-1),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,止损*0.995,'盘中破坚决止损★'),COLORGREEN;
买卖:(EMA(C,3.14)+EMA(C,6.28))/2,COLORRED,NODRAW;
吸:买卖*0.935,COLORWHITE,NODRAW;
抛:买卖*1.075,COLORYELLOW,NODRAW;
DRAWTEXT(L<买卖*0.935,L*0.98,'吸1/5')COLORWHITE;
DRAWTEXT(L<买卖*0.935,L*0.95,'反弹出')COLORYELLOW;
DRAWTEXT(H>买卖*1.075 AND C/REF(C,1)<1.091,H*1.04,'抛一半')COLORWHITE;
DRAWTEXT(H>买卖*1.075 AND C/REF(C,1)<1.091,H*1.01,'再低吸')COLORYELLOW;


[url=http://www.goodgupiao.com/gupiaogongshi/27841.html][B]模仿【金K线】《通达信源码、主图、附图》[/B][/url]