»查看更多分类

通达信山谷策略副图指标 源码 贴图

发布时间:2022-09-22 10:42:00  点击:

通达信山谷策略副图指标 源码 贴图

通达信山谷策略副图指标 源码 贴图

通达信山谷策略副图指标 源码 贴图


X_1:=CLOSE/REF(CLOSE,1)>1.093 AND CLOSE=HIGH OR (CLOSE/OPEN>=1.093 AND CLOSE=HIGH);
X_2:=CLOSE/REF(CLOSE,1)>=1.035 AND CLOSE=HIGH OR (CLOSE/OPEN>=1.035 AND CLOSE=HIGH);
X_3:=IF(NAMELIKE(1),1,0);
X_4:=IF(NAMELIKE(2),1,0);
X_5:=X_3 OR X_4;
X_6:=IF(X_5,X_2,IF(X_5=0,X_1,DRAWNULL));
X_7:=NEWSAR(1,100);
X_8:=X_7<REF(X_7,1) AND REF(X_7,1)<REF(X_7,2) AND REF(X_7,2)<REF(X_7,3) AND CLOSE>X_7;
X_9:=EMA(CLOSE,5);
X_10:=EMA(CLOSE,10);
X_11:=EMA(CLOSE,20);
X_12:=ATAN((X_9/REF(X_9,5)-1)*100)*180/3.1416;
X_13:=ATAN((X_10/REF(X_10,5)-1)*100)*180/3.1416;
X_14:=ATAN((X_11/REF(X_11,5)-1)*100)*180/3.1416;
X_15:=X_12<=(-80) AND X_13<=(-75) AND X_14<=(-70);
X_16:=CLOSE/REF(CLOSE,1)>1.045 AND CLOSE=HIGH OR (CLOSE/OPEN>=1.045 AND CLOSE=HIGH);
X_17:=CLOSE/REF(CLOSE,1)>=1.035 AND CLOSE=HIGH OR (CLOSE/OPEN>=1.035 AND CLOSE=HIGH);
X_18:=IF(NAMELIKE(1),1,0);
X_19:=IF(NAMELIKE(2),1,0);
X_20:=X_18 OR X_19;
X_21:=IF(X_20,X_17,IF(X_20=0,X_16,DRAWNULL));
X_22:=BARSLAST(NOT(IF(CLOSE>HHV(REF(HIGH,1),2),1,IF(CLOSE<LLV(REF(LOW,1),2),(-1),0))=0));
X_23:=IF(IF(CLOSE>HHV(REF(HIGH,1),2),1,IF(CLOSE<LLV(REF(LOW,1),2),(-1),0))=0,REF(IF(CLOSE>HHV(REF(HIGH,1),2),1,IF(CLOSE<LLV(REF(LOW,1),2),(-1),0)),X_22),IF(CLOSE>HHV(REF(HIGH,1),2),1,IF(CLOSE<LLV(REF(LOW,1),2),(-1),0)));
红进:X_21 AND X_15 AND X_8,NODRAW,COLORRED;
绿出:CROSS(0,X_23) AND COUNT(CROSS(0,X_23),BARSLAST(红进))=1,NODRAW,COLORGREEN;
X_24:=COUNT(绿出,BARSLAST(红进))=0;
收益点:IF(COUNT(绿出,BARSLAST(红进))=0>0,CLOSE/REF(CLOSE,BARSLAST(红进))*100-100,DRAWNULL),NODRAW,COLORWHITE;
STICKLINE(X_24 AND X_6,0,2,3,0),COLORFF0099;
STICKLINE(X_24 AND X_6,0,2,2.5,0),COLORFF00AA;
STICKLINE(X_24 AND X_6,0,2,2,0),COLORFF00BB;
STICKLINE(X_24 AND X_6,0,2,1.5,0),COLORFF00CC;
STICKLINE(X_24 AND X_6,0,2,1,0),COLORFF00DD;
STICKLINE(X_24 AND X_6,0,2,0.5,0),COLORFF00EE;
STICKLINE(X_24 AND X_6,0,2,0.25,0),COLORMAGENTA;
STICKLINE(红进>0,0,0.5,2,0),COLORYELLOW;
DRAWICON(红进,3,1);{公式网WWW.GPXIAZAI.COM}
STICKLINE(绿出>0,0,REF(收益点,1),2,0),COLORGREEN;
DRAWICON(绿出,REF(收益点,1)+1.5,2);
STICKLINE(X_24>0,0,收益点,2,0),COLOR000055;
STICKLINE(X_24>0,0,收益点,1.5,0),COLOR000077;
STICKLINE(X_24>0,0,收益点,1,0),COLOR000099;
STICKLINE(X_24>0,0,收益点,0.7,0),COLOR0000BB;
STICKLINE(X_24>0,0,收益点,0.4,0),COLOR0000DD;
STICKLINE(X_24>0,0,收益点,0.2,0),COLORRED;
STICKLINE(X_24>0,0,收益点,0.05,0),COLORWHITE;

 
0

友情提示: 股市有风险,投资需谨慎,资料由公式网整理收集

使用必看(为了保障您的权益,请在研究学习资料前了解相关说明)

  • ›› 指标不属于投资资讯产品和推股软件,指标旨在辅助大家提高投资胜率参考而研发,仅供参考学习研究之用,不构成投资建议或未来保证,依此操作买卖,盈亏自负。
  • ›› 该资料仅供学习和研究使用,不得用于商业或者非法用途。本站对于提供的指标公式不拥有任何权利,其版权归该资源的合法拥有者所有,如有侵犯您的版权,请查看《公式网的侵权处理流程》,本站将于五个工作日内移除相关内容。
  • ›› 如果您发现下载链接错误,请点击报告错误谢谢!

找不到你要的公式?给我们建议