六六公式网

 找回密码
 立即注册
微信扫一扫 分享朋友圈

已有 2929 人浏览分享

开启左侧

能否将通达信的公式改为盯盘系统

[复制链接]
2929 2
X_1:=1160130;
X_2:=IF(DATE<X_1,1,0);
X_3:=1;
X_4:=WINNER(CLOSE)*100;
X_5:=EMA((-100)*(HHV(HIGH,134)-CLOSE)/(HHV(HIGH,134)-LLV(LOW,134)),14)*X_3;
大丈夫:(X_5+100)*X_3,COLORYELLOW,LINETHICK2;
X_6:=(CLOSE-LLV(LOW,600))/(HHV(HIGH,600)-LLV(LOW,600))*100;
贤内助:SMA(X_6,5,1)*X_3,COLORMAGENTA,LINETHICK3;
X_7:=SMA((CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100,2,1);
熊孩子:SMA(X_7,2,1)*X_3,COLORCYAN;
X_8:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
X_9:=100+(-ABS(X_8));
X_10:=ABS(X_8);
红柱:STICKLINE(CROSS(熊孩子,X_10)*X_3,3,30,2,0),COLORRED;
绿柱:STICKLINE(CROSS(熊孩子,X_9)*X_3,70,100,2,0),COLORGREEN;
X_11:=AMOUNT/VOL/100;
DRAWICON(X_4<10 AND 大丈夫<10 AND 贤内助<5 AND CROSS(X_4>REF(X_4,1) AND X_3,0.618),20,1);
DRAWICON(大丈夫>90 AND 贤内助>90 AND CROSS(大丈夫<REF(大丈夫,1) AND 贤内助<REF(贤内助,1),0.382) AND X_3,80,2);
DRAWICON(TIME2>94500 AND TIME2<130000 AND 大丈夫<3 AND 贤内助<3 AND 熊孩子<3 AND X_3,50,24);
DRAWICON(TIME2>130000 AND 大丈夫<3 AND 贤内助<3 AND 熊孩子<3 AND X_3,50,25);
DRAWICON(TIME2>94000 AND 大丈夫>97 AND 贤内助>97 AND 熊孩子>97 AND X_3,50,15);
DRAWICON(TIME2>130000 AND 大丈夫<2 AND 贤内助<1 AND 熊孩子<1 AND X_3,60,7);
DRAWICON(TIME2>94000 AND 大丈夫>98 AND 贤内助>99 AND 熊孩子>99 AND X_3,60,8);
危险:90,COLORCC6633,LINETHICK2;
警戒:80,COLORFF80FF;
次险:75,COLORGREEN;
过渡:20,COLORGREEN;
安全:10,COLORFF80FF,LINETHICK2;
见底:0,COLORCC6633,LINETHICK2;
青线:熊孩子-REF(熊孩子,1),NODRAW,COLORCYAN;
黄线:大丈夫-REF(大丈夫,1),NODRAW,COLORYELLOW;
紫线:贤内助-REF(贤内助,1),NODRAW,COLORMAGENTA;
乖离:CLOSE/X_11*1000-1000,NODRAW,COLORYELLOW;


将夫为妻纲改为盯盘系统的吗??

举报 使用道具

回复

评论 2

十月鬼娃娃  初级股民  发表于 2016-7-18 09:15:38 | 显示全部楼层
xiexie!!!!!!

举报 使用道具

回复
小韭菜  管理员  发表于 2016-7-17 10:20:56 | 显示全部楼层
WINNER获利盘函数盯盘不支持,把WINNER改成C表示返回该周期的收盘价

X_4:=WINNER(CLOSE)*100;改为了X_4:=C,COLORBLACK;


TIME2函数是取得该周期的时分秒,在盯盘也不支持,现在我用PERIOD代替了,可能效果不好

DRAWICON(TIME2>94500 AND TIME2<130000 AND 大丈夫<3 AND 贤内助<3 AND 熊孩子<3 AND X_3,50,24);
DRAWICON(TIME2>130000 AND 大丈夫<3 AND 贤内助<3 AND 熊孩子<3 AND X_3,50,25);
DRAWICON(TIME2>94000 AND 大丈夫>97 AND 贤内助>97 AND 熊孩子>97 AND X_3,50,15);
DRAWICON(TIME2>130000 AND 大丈夫<2 AND 贤内助<1 AND 熊孩子<1 AND X_3,60,7);
DRAWICON(TIME2>94000 AND 大丈夫>98 AND 贤内助>99 AND 熊孩子>99 AND X_3,60,8);

上面代码改为:

DRAWICON(PERIOD>2 AND PERIOD<3 AND 大丈夫<3 AND 贤内助<3 AND 熊孩子<3 AND X_3,50,24);
DRAWICON(PERIOD>3 AND 大丈夫<3 AND 贤内助<3 AND 熊孩子<3 AND X_3,50,25);
DRAWICON(PERIOD>2 AND 大丈夫>97 AND 贤内助>97 AND 熊孩子>97 AND X_3,50,15);
DRAWICON(PERIOD>3 AND 大丈夫<2 AND 贤内助<1 AND 熊孩子<1 AND X_3,60,7);
DRAWICON(PERIOD>2 AND 大丈夫>98 AND 贤内助>99 AND 熊孩子>99 AND X_3,60,8);


注意上面的修改效果可以不佳!!有经验的可以自己改!我也只能帮到你这了!!






修改后的参考公式

X_1:=1160130;
X_2:=IF(DATE<X_1,1,0);
X_3:=1;
X_4:=C;
X_5:=EMA((-100)*(HHV(HIGH,134)-CLOSE)/(HHV(HIGH,134)-LLV(LOW,134)),14)*X_3;
大丈夫:(X_5+100)*X_3,COLORYELLOW,LINETHICK2;
X_6:=(CLOSE-LLV(LOW,600))/(HHV(HIGH,600)-LLV(LOW,600))*100;
贤内助:SMA(X_6,5,1)*X_3,COLORMAGENTA,LINETHICK3;
X_7:=SMA((CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100,2,1);
熊孩子:SMA(X_7,2,1)*X_3,COLORCYAN;
X_8:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
X_9:=100+(-ABS(X_8));
X_10:=ABS(X_8);
红柱:STICKLINE(CROSS(熊孩子,X_10)*X_3,3,30,2,0),COLORRED;
绿柱:STICKLINE(CROSS(熊孩子,X_9)*X_3,70,100,2,0),COLORGREEN;
X_11:=AMOUNT/VOL/100;
DRAWICON(X_4<10 AND 大丈夫<10 AND 贤内助<5 AND CROSS(X_4>REF(X_4,1) AND X_3,0.618),20,1);
DRAWICON(大丈夫>90 AND 贤内助>90 AND CROSS(大丈夫<REF(大丈夫,1) AND 贤内助<REF(贤内助,1),0.382) AND X_3,80,2);
DRAWICON(PERIOD>2 AND PERIOD<3 AND 大丈夫<3 AND 贤内助<3 AND 熊孩子<3 AND X_3,50,24);
DRAWICON(PERIOD>3 AND 大丈夫<3 AND 贤内助<3 AND 熊孩子<3 AND X_3,50,25);
DRAWICON(PERIOD>2 AND 大丈夫>97 AND 贤内助>97 AND 熊孩子>97 AND X_3,50,15);
DRAWICON(PERIOD>3 AND 大丈夫<2 AND 贤内助<1 AND 熊孩子<1 AND X_3,60,7);
DRAWICON(PERIOD>2 AND 大丈夫>98 AND 贤内助>99 AND 熊孩子>99 AND X_3,60,8);
危险:90,COLORCC6633,LINETHICK2;
警戒:80,COLORFF80FF;
次险:75,COLORGREEN;
过渡:20,COLORGREEN;
安全:10,COLORFF80FF,LINETHICK2;
见底:0,COLORCC6633,LINETHICK2;
青线:熊孩子-REF(熊孩子,1),NODRAW,COLORCYAN;
黄线:大丈夫-REF(大丈夫,1),NODRAW,COLORYELLOW;
紫线:贤内助-REF(贤内助,1),NODRAW,COLORMAGENTA;
乖离:CLOSE/X_11*1000-1000,NODRAW,COLORYELLOW;
[

举报 使用道具

回复 支持 反对

0

关注

11

粉丝

4

主题
随机推荐
热门指标
精品推送
精品指标

QQ|Archiver|小黑屋|六六公式网

GMT+8, 2024-11-23 09:35 , Processed in 0.215403 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.