STICKLINE(C>0,90,95,10,0),COLOR408000;
STICKLINE(C>0,10,5,10,0),COLOR408000;
HDY:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
DRAWBAND(HDY,RGB(255,000,139),10,RGB(255,255,71));
STICKLINE(HDY>90,100,98,2,1),COLORLIGREEN;
STICKLINE(HDY>95,100,98,2,0),COLORGREEN;
STICKLINE(HDY<10,0,2,2,1),COLORLIRED;
STICKLINE(HDY<5,0,2,2,0),COLORRED;
STICKLINE(C>0,90,10,10,0),COLOR000000;
风险值:HDY,COLORCYAN,LINETHICK2;
超高位区:=风险值>=95,COLORGREEN,NODRAW;
高位区:=风险值<95 AND 风险值>90,COLORLIGREEN,NODRAW;
低位区:=风险值<10 AND 风险值>5,COLORLIRED,NODRAW;
超低位区:=风险值<=5,COLORGREEN,NODRAW;
底背离:IF(CREF(风险值,1) AND 风险值<15,1,0),COLORMAGENTA,NODRAW;
STICKLINE(底背离,0,-2,2,0),COLORMAGENTA;
顶背离:IF(C>REF(C,1) AND 风险值85,1,0),COLORBLUE,NODRAW;
STICKLINE(顶背离,100,102,2,0),COLORBLUE;
A:=风险值/REF(风险值,1)-1;
B:=风险值/REF(风险值,2)-1;
高位变盘:A>=-0.035 AND A<=0.035 AND 风险值>50{ AND 风险值<70},NODRAW;
STICKLINE(高位变盘,50,52,2,0),COLORRED;
低位变盘:A>=-0.035 AND A<=0.035 AND 风险值<50{ AND 风险值>30},NODRAW;
STICKLINE(低位变盘,50,48,2,0),COLORGREEN;
危险:=高位变盘 AND CSTICKLINE(危险,52,53,1.6,0),COLORMAGENTA;
STICKLINE(危险,53,54,1.2,0),COLORMAGENTA;
STICKLINE(危险,54,55,0.8,0),COLORMAGENTA;
STICKLINE(危险,55,56,0.4,0),COLORMAGENTA;
STICKLINE(危险,56,57,0.2,0),COLORMAGENTA;
STICKLINE(危险,57,58,0.05,0),COLORMAGENTA;
A1:=CROSS(风险值,20) AND CROSS(风险值,35);
A2:=CROSS(风险值,35) AND CROSS(风险值,50);
A3:=CROSS(风险值,50) AND CROSS(风险值,65);
A4:=CROSS(风险值,65) AND CROSS(风险值,80);
急拉:=A1 OR A2 OR A3 OR A4;
DRAWTEXT(急拉,风险值,'↑急拉,注意'),COLORRED;
A5:=CROSS(20,风险值) AND CROSS(35,风险值);
A6:=CROSS(35,风险值) AND CROSS(50,风险值);
A7:=CROSS(50,风险值) AND CROSS(65,风险值);
A8:=CROSS(65,风险值) AND CROSS(80,风险值);
重挫:=A5 OR A6 OR A7 OR A8;
DRAWTEXT(重挫,风险值,'↓重挫,注意'),COLORYELLOW;
风险线:80,COLORRED;
65线:65,COLORWHITE,DOTLINE;
中轴线:50,COLORWHITE,DOTLINE;
35线:35,COLORWHITE,DOTLINE;
安全线:20,COLORGREEN;
DRAWTEXT(ISLASTBAR,100,'超高位区'),COLORMAGENTA;
DRAWTEXT(ISLASTBAR,95,'高 位 区'),COLORLIMAGENTA;
DRAWTEXT(ISLASTBAR,88,'高缓冲区'),COLORLIRED;
DRAWTEXT(ISLASTBAR,82.5,'80风险线'),COLORRED;
DRAWTEXT(ISLASTBAR,52.5,'50中轴线'),COLORWHITE;
DRAWTEXT(ISLASTBAR,22.5,'20安全线'),COLORGREEN;
DRAWTEXT(ISLASTBAR,10,'低 位 区'),COLORLIGREEN;
DRAWTEXT(ISLASTBAR,5,'超低位区'),COLORLIBLUE;
DRAWTEXT(ISLASTBAR,18,'低缓冲区'),COLORBLUE;
如何把通达信指标公式改成条件选股公式
答案:2 悬赏:0 手机版
解决时间 2021-02-22 14:35
- 提问者网友:战魂
- 2021-02-21 20:04
最佳答案
- 五星知识达人网友:煞尾
- 2021-02-21 21:42
通达信是无法改成这个的。
全部回答
- 1楼网友:傲气稳了全场
- 2021-02-21 21:58
如何把指标修改成条件选股公式呢? ---------------------------- 1,先对原指标的图形进行长期的观察, 2,总结出原指标各指标线的数据关系对未来股价走势的预测, 3,选定某些关系作为选股条件, 4,整理思路,写出选股公式 -------------------------------------------- 比如均线指标如下 : m1:ma(c,20); m2:ma(c,60); 有人经过长期观察,总结出当m1上穿m2时是中长线买入机会, 于是做成选股公式 m1:=ma(c,20); m2:=ma(c,60); 选买入:cross(m1,m2);{注:我这是举例}
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯