2x4股市指南
你的位置:2x4股市指南 > 行业分析 >

投资策略的制定REF(GSKZ10


发布日期:2024-11-05 14:41    点击次数:130

投资策略的制定REF(GSKZ10

提醒:本标的适用于“邃晓信软件“,文中测试标的截图为电脑版软件截图,能否维持手机请复制源码新建标的测试。本文种标的公式源码仅供学习调换,请勿用于股票交游。所有实质仅供学习,不保证任何服从,不作任何投资提议股市有风险,入市严慎

【小龙】:副图选股标的

小龙副图,macd背离点教唆营业点,标的不算作营业依据。(标的仅供学习参考)

图片

  

图片

  

图片

  

图片

副图公式源码

DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:EMA(DIFF,9);

MACD:(DIFF-DEA)*2,COLORSTICK;

GSKZ1:=MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);

STICKLINE(GSKZ1,0,MACD,0.3,0),COLORMAGENTA;

DRAWICON(GSKZ1,0,9);

GSKZ2:=MACD>0 AND MACD<REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND REF(MACD,2)>REF(MACD,3) AND REF(MACD,3)>REF(MACD,4);

GSKZ3:=DEA-DIFF;

GSKZ4:=IF(MACD<0,SUM(MACD,BARSLAST(GSKZ3<0)),0);

GSKZ5:=LLV(LOW,BARSLAST(GSKZ3<0));

GSKZ6:=HHV(HIGH,BARSLAST(GSKZ3>0));

GSKZ7:=IF(MACD<0,BARSLAST(CROSS(DIFF,DEA)),0);

GSKZ8:=REF(GSKZ4,GSKZ7+1);

GSKZ9:=REF(GSKZ5,GSKZ7+1);

GSKZ10:=IF(GSKZ4<0 AND ABS(GSKZ4)<ABS(GSKZ8),1,0);

GSKZ11:=MACD<0 AND REF(MACD,1)<0 AND CLOSE<GSKZ9 AND ABS(GSKZ4)<ABS(GSKZ8) AND ABS(MACD)<ABS(REF(MACD,1));

GSKZ12:=IF(CROSS(DIFF,DEA),REF(GSKZ10,1),0);

GSKZ13:=IF(DIFF>REF(DIFF,1),REF(GSKZ10,1),0) AND DIFF<0 AND DEA<0;

GSKZ14:=BARSLAST(REF(CROSS(DIFF,DEA),1))*1;

GSKZ15:=REF(CLOSE,GSKZ14+1)>CLOSE AND DIFF>REF(DIFF,GSKZ14+1) AND CROSS(DIFF,DEA)*1;

GSKZ16:=FILTER(GSKZ13,10);

GSKZ17:=FILTER(GSKZ13,10);

GSKZ18:=GSKZ16 AND GSKZ17;

STICKLINE(GSKZ18,(-0.08),DIFF,2,0),COLORLIMAGENTA;

STICKLINE(GSKZ16,0,MACD,0.1,0),COLORYELLOW;

DRAWICON(CROSS(DIFF,DEA),DIFF*1.002,1);

DRAWTEXT_FIX(1,0.0,0.8,0,'公'),COLORRED,LINETHICK1; 

DRAWTEXT_FIX(1,0.0,0.8,0,'    众'),COLORRED,LINETHICK1;  

DRAWTEXT_FIX(1,0.0,0.8,0,'        号:邃晓标的'),COLORRED,LINETHICK1;  

选股公式源码

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIFF,9);

MACD:=(DIFF-DEA)*2;

GSKZ1:=MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);

GSKZ2:=MACD>0 AND MACD<REF(MACD,1) AND REF(MACD,1)>REF(MACD,2) AND REF(MACD,2)>REF(MACD,3) AND REF(MACD,3)>REF(MACD,4);

GSKZ3:=DEA-DIFF;

GSKZ4:=IF(MACD<0,SUM(MACD,BARSLAST(GSKZ3<0)),0);

GSKZ5:=LLV(LOW,BARSLAST(GSKZ3<0));

GSKZ6:=HHV(HIGH,BARSLAST(GSKZ3>0));

GSKZ7:=IF(MACD<0,BARSLAST(CROSS(DIFF,DEA)),0);

GSKZ8:=REF(GSKZ4,GSKZ7+1);

GSKZ9:=REF(GSKZ5,GSKZ7+1);

GSKZ10:=IF(GSKZ4<0 AND ABS(GSKZ4)<ABS(GSKZ8),1,0);

GSKZ13:=IF(DIFF>REF(DIFF,1),REF(GSKZ10,1),0) AND DIFF<0 AND DEA<0;

GSKZ16:=FILTER(GSKZ13,10);

小龙:GSKZ16;投资策略的制定

本文等共享的标的公式源码齐是测试截图,著作种标的源码复制--到邃晓信软件新建标的使用。复制源码闲适复制好意思满,主图副图选股分开复制新建---宽宥宥恕--抓续更新 本站仅提供存储事业,所有实质均由用户发布,如发现存害或侵权实质,请点击举报。



Powered by 2x4股市指南 @2013-2022 RSS地图 HTML地图