二根线操盘指标(可用于日K线,周线,月线)
2011-8-22 19:48:09 来源:不详 佚名
指标是本人的专注:可以用于日K线,周线,月线使用,效果极佳。
{ 用法:在绿色线是向上 的情况下。K线是红色做多,蓝色做空,黄点是转折点。绿色线上穿黄色线买入,绿色线下穿黄色线卖出。死叉是十字星信号,金叉是粉红色钻石信号。};
{二根线操盘源码如下:}
B:EMA(C,2),COLOR000000;
S:EMA(SLOPE(C,21)*20+C,42),POINTDOT,COLOR000000;
BUY:=CROSS(B,S);
SEL:=CROSS(S,B);
STICKLINE(B>=S,LOW,HIGH,0.02,0),COLORRED;
STICKLINE(B>=S,CLOSE,OPEN,2.5,0),COLOR0000AA;
STICKLINE(B>=S,CLOSE,OPEN,2.5,0),COLOR0000CC;
STICKLINE(B>=S,CLOSE,OPEN,2,0),COLOR0000DD;
STICKLINE(B>=S,CLOSE,OPEN,1,0),COLOR0000FF;
STICKLINE(B<S,CLOSE,OPEN,1,0),COLOREEEE00;
STICKLINE(B<S,CLOSE,OPEN,2,0),COLORDDDD00;
STICKLINE(B<S,CLOSE,OPEN,2.5,0),COLORCCCC00;
STICKLINE(B<S,CLOSE,OPEN,2.5,0),COLORAAAA00;
STICKLINE(B<S,LOW,HIGH,0.02,0),COLORFFFF00;
STICKLINE(CROSS(B,S) OR CROSS(S,B),OPEN,CLOSE,2.5,0),COLORYELLOW;
XJ:(C+0.618*REF(C,1)+0.382*REF(C,2)+0.236*REF(C,3)+0.146*REF(C,4))/2.382,,POINTDOT,COLORRED;
GAO:=HHV(H,0)-LLV(L,0);
TIAOJIE:=IF(GAO>=1,IF(GAO>=5,2,1),0.618);
ZDX1:XJ+(SMA(MAX(XJ-REF(XJ,1),0),5,1)/SMA(ABS(XJ-REF(XJ,1)),5,1)
*TIAOJIE-TIAOJIE*0.5);
ZDX2:=XJ+(SMA(MAX(XJ-REF(XJ,1),0),5,1)/SMA(ABS(XJ-REF(XJ,1)),5,1)*100-50);
绿色线:IF(C>100,ZDX2,ZDX1),LINETHICK1,LINETHICK2,COLORGREEN;
黄色线:EMA(((SLOPE(CLOSE,20) * 20) + CLOSE),60),LINETHICK3,COLORYELLOW;
DRAWICON(CROSS(绿色线,黄色线),黄色线,25);
DRAWICON(CROSS(黄色线,绿色线),绿色线,23);(南方财富网SOUTHMONEY.COM)
(责任编辑:张晓轩)
南方财富网声明:股市资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
延伸阅读
|
||||||||||
|
要闻导读
|
||||||||||
|