请选择 进入手机版 | 继续访问电脑版
查看: 449|回复: 5

135操盘线

[复制链接]

新浪微博达人勋

五级海风会员

发表于 2017-5-21 18:26 | 显示全部楼层 |阅读模式

马上注册海风会员,享受更多便捷服务!

您需要 登录 才可以下载或查看,没有帐号?注册会员 新浪微博登陆

x
EMA13:MA(C,5),COLORF00FF0;
EMA34:MA(C,20),COLOR00FFFF;
EMA55:MA(C,60),COLORGREEN,LINETHICK1;
DRAWTEXT(CROSS(EMA34,EMA13),EMA34,'分道'), COLOR00FF00;
DRAWTEXT(CROSS(EMA55,EMA13),EMA55,'穿心'), COLOR00FF00;
DRAWTEXT(CROSS(EMA55,EMA34),EMA55,'各政'), COLOR00FF00;
DRAWTEXT(CROSS(EMA13,EMA34),EMA34,'增持'),COLORRED;
DRAWTEXT(CROSS(EMA13,EMA55),EMA55,'加仓'),COLORRED;
DRAWTEXT(CROSS(EMA34,EMA55),EMA55,'重仓'),COLORRED;
STICKLINE(EMA13>=EMA34 AND C>=O,O,C,4,1),COLOR00FFFF;
STICKLINE(EMA13>=EMA34 AND C>=O,H,L,0.5,1),COLOR00FFFF;
STICKLINE(EMA13>=EMA34 AND C<O,O,C,4,0),COLOR00FFFF;
STICKLINE(EMA13>=EMA34 AND C<O,H,L,0.5,1),COLOR00FFFF;


STICKLINE(EMA13>=EMA55 AND EMA13>=EMA34 AND C>=O,H,L,0.5,1),COLORF00FF0;
STICKLINE(EMA13>=EMA55 AND EMA13>=EMA34 AND C>=O,O,C,4,1),COLORF00FF0;
STICKLINE(EMA13>=EMA55 AND EMA13>=EMA34 AND C<O,H,L,0.5,1),COLORF00FF0;
STICKLINE(EMA13>=EMA55 AND EMA13>=EMA34 AND C<O,O,C,4,0),COLORF00FF0;

STICKLINE(EMA34>=EMA55 AND EMA13>=EMA55 AND EMA13>=EMA34 AND C>=O,H,L,0.5,1),COLORRED;
STICKLINE(EMA34>=EMA55 AND EMA13>=EMA55 AND EMA13>=EMA34 AND C>=O,O,C,4,1),COLORRED;
STICKLINE(EMA34>=EMA55 AND EMA13>=EMA55 AND EMA13>=EMA34 AND C<O,H,L,0.5,1),COLORRED;
STICKLINE(EMA34>=EMA55 AND EMA13>=EMA55 AND EMA13>=EMA34 AND C<O,O,C,4,0),COLORRED;

STICKLINE(EMA34>EMA13 AND C>=O,H,L,0.5,1),COLOREEDD00;
STICKLINE(EMA34>EMA13 AND C>=O,O,C,4,1),COLOREEDD00;
STICKLINE(EMA34>EMA13 AND C<O,H,L,0.5,1),COLOREEDD00;
STICKLINE(EMA34>EMA13 AND C<O,O,C,4,0),COLOREEDD00;

STICKLINE(EMA55>EMA13 AND EMA34>EMA13 AND C>=O,H,L,0.5,1),COLORB20000;
STICKLINE(EMA55>EMA13 AND EMA34>EMA13 AND C>=O,O,C,4,1),COLORB20000;
STICKLINE(EMA55>EMA13 AND EMA34>EMA13 AND C<O,H,L,0.5,1),COLORB20000;
STICKLINE(EMA55>EMA13 AND EMA34>EMA13 AND C<O,O,C,4,0),COLORB20000;

STICKLINE(EMA55>EMA34 AND EMA55>EMA13 AND EMA34>EMA13 AND C>=O,H,L,0.5,1),COLORGREEN;
STICKLINE(EMA55>EMA34 AND EMA55>EMA13 AND EMA34>EMA13 AND C>=O,O,C,4,1),COLORGREEN;
STICKLINE(EMA55>EMA34 AND EMA55>EMA13 AND EMA34>EMA13 AND C<O,H,L,0.5,1),COLORGREEN;
STICKLINE(EMA55>EMA34 AND EMA55>EMA13 AND EMA34>EMA13 AND C<O,O,C,4,0),COLORGREEN;

黄金广告位招租
回复

使用道具 举报

新浪微博达人勋

五级海风会员

 楼主| 发表于 2017-5-21 18:51 | 显示全部楼层
DIF1:=EMA(CLOSE,12) - EMA(CLOSE,26),LINETHICK2;
DEA1:=EMA(DIF1,9),LINETHICK2;
MACD1:=2*(DIF1-DEA1),STICK;
MACD2:=EMA(MACD1,3);
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,3.2,0),COLOR000055;
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2.7,0),COLOR000077;
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2.1,0),COLOR000099;
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,1.5,0),COLOR0000BB;
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,0.9,0),COLOR0000DD;
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,0.3,0),COLOR0000FF;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,3.2,0),COLOR555555;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,2.7,0),COLOR777777;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,2.1,0),COLOR999999;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,1.5,0),COLORBBBBBB;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,0.9,0),COLORDDDDDD;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,0.3,0),COLORFFFFFF;
STICKLINE(MACD1<MACD2,0,MACD1,3.2,0),COLORB20000;
STICKLINE(MACD1<MACD2,0,MACD1,2.7,0),COLOREC0000;
STICKLINE(MACD1<MACD2,0,MACD1,2.1,0),COLORFF4600;
STICKLINE(MACD1<MACD2,0,MACD1,1.5,0),COLORFF6300;
STICKLINE(MACD1<MACD2,0,MACD1,0.9,0),COLORFF8B00;
STICKLINE(MACD1<MACD2,0,MACD1,0.3,0),COLORFFAB00;
STICKLINE(MACD1>=0 OR MACD1<=0,0,0,50,1),COLORWHITE;
DIF:DIF1,COLOR33FF33;
DEA:DEA1,COLORYELLOW;

低位金叉:=CROSS(DIF1,DEA1) AND DIF1<-0.1;

JCCOUNT:=COUNT(CROSS(DIF1,DEA1),BARSLAST(DEA1>=0));
二次金叉:=CROSS(DIF1,DEA1) AND DEA1<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,0,0.06,6,0),COLORFF00FF;
DRAWICON(二次金叉,DEA1*0.9,1) ;
DRAWTEXT(二次金叉,0.4,' 二次金叉'),COLORYELLOW;

A1:=BARSLAST(REF(CROSS(DIF1,DEA1),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIF1>REF(DIF1,A1+1) AND CROSS(DIF1,DEA1);
STICKLINE(底背离,0,0.03,4,0),COLOR00FF00;
DRAWTEXT(底背离,DEA1,' 底背离'),COLORYELLOW;
A2:=BARSLAST(REF(CROSS(DEA1,DIF1),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIF1,A2+1)>DIF1 AND CROSS(DEA1,DIF1);
DRAWTEXT(顶背离,DEA1,'顶背离'),COLORGREEN;
OBV:=EMA(CLOSE,12) - EMA(CLOSE,26),LINETHICK2;
P:=5;
AA1:=REF(OBV,P)=HHV(OBV,2*P+1);
B1:=FILTER(AA1,P);
C1:=BACKSET(B1,P+1);
D1:=FILTER(C1,P);{高点}
AA2:=REF(OBV,P)=LLV(OBV,2*P+1);
B2:=FILTER(AA2,P);
C2:=BACKSET(B2,P+1);
D2:=FILTER(C2,P);{低点}

{金叉共振及三全项}
DRAWICON(D1,OBV,2);
DRAWICON(D2,OBV,1);
回复 支持 反对

使用道具 举报

新浪微博达人勋

五级海风会员

 楼主| 发表于 2017-5-22 11:04 | 显示全部楼层
EMA13:MA(C,5),COLORF00FF0;
EMA34:MA(C,20),COLOR00FFFF;
EMA55:MA(C,60),COLORGREEN,LINETHICK1;
DRAWTEXT(CROSS(EMA34,EMA13),EMA34,'分道'), COLOR00FF00;
DRAWTEXT(CROSS(EMA55,EMA13),EMA55,'穿心'), COLOR00FF00;
DRAWTEXT(CROSS(EMA55,EMA34),EMA55,'各政'), COLOR00FF00;
DRAWTEXT(CROSS(EMA13,EMA34),EMA34,'增持'),COLORRED;
DRAWTEXT(CROSS(EMA13,EMA55),EMA55,'加仓'),COLORRED;
DRAWTEXT(CROSS(EMA34,EMA55),EMA55,'重仓'),COLORRED;
STICKLINE(EMA13>=EMA34 AND C>=O,O,C,4,1),COLOR00FFFF;
STICKLINE(EMA13>=EMA34 AND C>=O,H,L,0.5,1),COLOR00FFFF;
STICKLINE(EMA13>=EMA34 AND C<O,O,C,4,0),COLOR00FFFF;
STICKLINE(EMA13>=EMA34 AND C<O,H,L,0.5,1),COLOR00FFFF;


STICKLINE(EMA13>=EMA55 AND EMA13>=EMA34 AND C>=O,H,L,0.5,1),COLORF00FF0;
STICKLINE(EMA13>=EMA55 AND EMA13>=EMA34 AND C>=O,O,C,4,1),COLORF00FF0;
STICKLINE(EMA13>=EMA55 AND EMA13>=EMA34 AND C<O,H,L,0.5,1),COLORF00FF0;
STICKLINE(EMA13>=EMA55 AND EMA13>=EMA34 AND C<O,O,C,4,0),COLORF00FF0;

STICKLINE(EMA34>=EMA55 AND EMA13>=EMA55 AND EMA13>=EMA34 AND C>=O,H,L,0.5,1),COLORRED;
STICKLINE(EMA34>=EMA55 AND EMA13>=EMA55 AND EMA13>=EMA34 AND C>=O,O,C,4,1),COLORRED;
STICKLINE(EMA34>=EMA55 AND EMA13>=EMA55 AND EMA13>=EMA34 AND C<O,H,L,0.5,1),COLORRED;
STICKLINE(EMA34>=EMA55 AND EMA13>=EMA55 AND EMA13>=EMA34 AND C<O,O,C,4,0),COLORRED;

STICKLINE(EMA34>EMA13 AND C>=O,H,L,0.5,1),COLORWHITE;
STICKLINE(EMA34>EMA13 AND C>=O,O,C,4,1),COLORWHITE;
STICKLINE(EMA34>EMA13 AND C<O,H,L,0.5,1),COLORWHITE;
STICKLINE(EMA34>EMA13 AND C<O,O,C,4,0),COLORWHITE;

STICKLINE(EMA55>EMA13 AND EMA34>EMA13 AND C>=O,H,L,0.5,1),COLOREEDD00;
STICKLINE(EMA55>EMA13 AND EMA34>EMA13 AND C>=O,O,C,4,1),COLOREEDD00;
STICKLINE(EMA55>EMA13 AND EMA34>EMA13 AND C<O,H,L,0.5,1),COLOREEDD00;
STICKLINE(EMA55>EMA13 AND EMA34>EMA13 AND C<O,O,C,4,0),COLOREEDD00;

STICKLINE(EMA55>EMA34 AND EMA55>EMA13 AND EMA34>EMA13 AND C>=O,H,L,0.5,1),COLORGREEN;
STICKLINE(EMA55>EMA34 AND EMA55>EMA13 AND EMA34>EMA13 AND C>=O,O,C,4,1),COLORGREEN;
STICKLINE(EMA55>EMA34 AND EMA55>EMA13 AND EMA34>EMA13 AND C<O,H,L,0.5,1),COLORGREEN;
STICKLINE(EMA55>EMA34 AND EMA55>EMA13 AND EMA34>EMA13 AND C<O,O,C,4,0),COLORGREEN;
回复 支持 反对

使用道具 举报

新浪微博达人勋

五级海风会员

 楼主| 发表于 2017-5-22 13:11 | 显示全部楼层
DIF1:=EMA(CLOSE,12) - EMA(CLOSE,26),LINETHICK2;
DEA1:=EMA(DIF1,9),LINETHICK2;
MACD1:=2*(DIF1-DEA1),STICK;
MACD2:=EMA(MACD1,3);
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,3.2,0),COLOR000055;
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2.7,0),COLOR000077;
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2.1,0),COLOR000099;
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,1.5,0),COLOR0000BB;
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,0.9,0),COLOR0000DD;
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,0.3,0),COLOR0000FF;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,3.2,0),COLOR555555;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,2.7,0),COLOR777777;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,2.1,0),COLOR999999;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,1.5,0),COLORBBBBBB;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,0.9,0),COLORDDDDDD;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,0.3,0),COLORFFFFFF;
STICKLINE(MACD1<MACD2,0,MACD1,3.2,0),COLORB20000;
STICKLINE(MACD1<MACD2,0,MACD1,2.7,0),COLOREC0000;
STICKLINE(MACD1<MACD2,0,MACD1,2.1,0),COLORFF4600;
STICKLINE(MACD1<MACD2,0,MACD1,1.5,0),COLORFF6300;
STICKLINE(MACD1<MACD2,0,MACD1,0.9,0),COLORFF8B00;
STICKLINE(MACD1<MACD2,0,MACD1,0.3,0),COLORFFAB00;
STICKLINE(MACD1>=0 OR MACD1<=0,0,0,50,1),COLORWHITE;
DIF:DIF1,COLORF00FF0;
DEA:DEA1,COLOR00FF00;

低位金叉:=CROSS(DIF1,DEA1) AND DIF1<-0.1;

JCCOUNT:=COUNT(CROSS(DIF1,DEA1),BARSLAST(DEA1>=0));
二次金叉:=CROSS(DIF1,DEA1) AND DEA1<0 AND COUNT(JCCOUNT=2,21)=1;
STICKLINE(二次金叉,0,0.06,6,0),COLORFF00FF;
DRAWICON(二次金叉,DEA1*0.9,1) ;
DRAWTEXT(二次金叉,0.4,' 二次金叉'),COLORYELLOW;

A1:=BARSLAST(REF(CROSS(DIF1,DEA1),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIF1>REF(DIF1,A1+1) AND CROSS(DIF1,DEA1);
STICKLINE(底背离,0,0.03,4,0),COLOR00FF00;
DRAWTEXT(底背离,DEA1,' 底背离'),COLORYELLOW;
A2:=BARSLAST(REF(CROSS(DEA1,DIF1),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIF1,A2+1)>DIF1 AND CROSS(DEA1,DIF1);
DRAWTEXT(顶背离,DEA1,'顶背离'),COLORGREEN;
OBV:=EMA(CLOSE,12) - EMA(CLOSE,26),LINETHICK2;
P:=5;
AA1:=REF(OBV,P)=HHV(OBV,2*P+1);
B1:=FILTER(AA1,P);
C1:=BACKSET(B1,P+1);
D1:=FILTER(C1,P);{高点}
AA2:=REF(OBV,P)=LLV(OBV,2*P+1);
B2:=FILTER(AA2,P);
C2:=BACKSET(B2,P+1);
D2:=FILTER(C2,P);{低点}

{金叉共振及三全项}
DRAWICON(D1,OBV,2);
DRAWICON(D2,OBV,1);
回复 支持 反对

使用道具 举报

新浪微博达人勋

五级海风会员

 楼主| 发表于 2017-5-22 22:54 | 显示全部楼层
VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
买盘:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));  
卖盘:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));  
买卖差:=(买盘 + 卖盘);
JX1:=BARSSINCE(买盘);  
JY1:=IF(((121 > JX1) AND (JX1 > 0)),JX1,120);  
JY2:=IF(((4 > JX1) AND (JX1 > 0)),JX1,3);  
VAR30:=MA(VOL,JY2);
神比:=(买盘 / VAR30);  
鬼比:=(卖盘 / VAR30);  
VAR2:=(HIGH - LOW);  
VAR3:=ABS((OPEN - CLOSE));  
VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));  
VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);  
VAR6:=((VAR3 / VAR2) * VOL);  
VAR7:=((VAR4 / VAR2) * VOL);  
VAR8:=((VAR5 / VAR2) * VOL);  
EMA13:=MA(C,5);
EMA34:=MA(C,20);
EMA55:=MA(C,60);
STICKLINE(EMA13>=EMA34,0,VOL,5,1),COLOR00FFFF;
STICKLINE(EMA13>=EMA55 AND EMA13>=EMA34,0,VOL,5,1),COLORF00FF0;
STICKLINE(EMA34>=EMA55 AND EMA13>=EMA55 AND EMA13>=EMA34,0,VOL,5,1),COLORRED;
STICKLINE(EMA34>EMA13,0,VOL,4,0),COLORWHITE;
STICKLINE(EMA55>EMA13 AND EMA34>EMA13,0,VOL,4,0),COLOREEDD00;
STICKLINE(EMA55>EMA34 AND EMA55>EMA13 AND EMA34>EMA13,0,VOL,4,0),COLORGREEN;

STICKLINE(( 买卖差 < 0),0,买卖差,4,0),COLOREEDD11;
STICKLINE((((买卖差 > 0  AND  C>=MA(C,5) AND VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),0,VAR6,4,0),COLOR00FFFF;
STICKLINE( 买卖差 > 0  AND  C>=MA(C,5),买盘,0,2,0),COLOR0000FF;
  买卖:1*买卖差/10000,COLORFF00FF;
回复 支持 反对

使用道具 举报

新浪微博达人勋

五级海风会员

 楼主| 发表于 2017-5-22 23:15 | 显示全部楼层
VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
买盘:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));  
卖盘:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));  
买卖差:=(买盘 + 卖盘);
JX1:=BARSSINCE(买盘);  
JY1:=IF(((121 > JX1) AND (JX1 > 0)),JX1,120);  
JY2:=IF(((4 > JX1) AND (JX1 > 0)),JX1,3);  
VAR30:=MA(VOL,JY2);
神比:=(买盘 / VAR30);  
鬼比:=(卖盘 / VAR30);  
VAR2:=(HIGH - LOW);  
VAR3:=ABS((OPEN - CLOSE));  
VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));  
VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);  
VAR6:=((VAR3 / VAR2) * VOL);  
VAR7:=((VAR4 / VAR2) * VOL);  
VAR8:=((VAR5 / VAR2) * VOL);  
EMA13:=MA(C,5);
EMA34:=MA(C,20);
EMA55:=MA(C,60);
STICKLINE(EMA13>=EMA34,0,VOL,5,1),COLOR00FFFF;
STICKLINE(EMA13>=EMA55 AND EMA13>=EMA34,0,VOL,5,1),COLORF00FF0;
STICKLINE(EMA34>=EMA55 AND EMA13>=EMA55 AND EMA13>=EMA34,0,VOL,5,1),COLORRED;
STICKLINE(EMA34>EMA13,0,VOL,5,1),COLORWHITE;
STICKLINE(EMA55>EMA13 AND EMA34>EMA13,0,VOL,5,1),COLOREEDD00;
STICKLINE(EMA55>EMA34 AND EMA55>EMA13 AND EMA34>EMA13,0,VOL,5,1),COLORGREEN;

STICKLINE(( 买卖差 < 0),0,买卖差,4,0),COLOREEDD11;
STICKLINE((((买卖差 > 0  AND  C>=MA(C,5) AND VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),0,VAR6,4,0),COLOR00FFFF;
STICKLINE( 买卖差 > 0  AND  C>=MA(C,5),买盘,0,2,0),COLOR0000FF;
  买卖:1*买卖差/10000,COLORFF00FF;
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员 新浪微博登陆

本版积分规则

QQ|小黑屋|手机版|海风股票论坛 ( 闽ICP备05030991号-1 )|网站地图

GMT+8, 2017-10-21 12:51

 
快速回复 返回顶部 返回列表