财盛证券_专业配资炒股_实盘配资开户

沪深通 通达信“超跌牛启动”副图指标选股公式--底部擒牛

发布日期:2024-09-02 09:24    点击次数:170

图片

图片

一、指标说明:由MACD改良而来,当零轴下出现黄柱时,表示止跌见底。出现钱袋红柱牛启动时为买入信号,当两个信号之间出现红色虚线,表示信号之间产生背离,通常同时着着更大级别的牛市启动。二、副图指标公式:差异:EMA(收盘价,12)-EMA(收盘价,26);DEA:EMA(DIFF,9);MACD:(DIFF-DEA)*2,COLORSTICK;CTA1:=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);粘线(CTA1,0,MACD,0.3,0),颜色黄色;DRAWTEXT_FIX(C>O,0,0.98,0,'微信公众号:欧欧量化'),COLOR0000FF;CTA2:=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);CTA3:=DEA-差异;CTA4:=IF(MACD<0,SUM(MACD,BARSLAST(CTA3<0)),0);CTA5:=LLV(低,BARSLAST(CTA3<0));CTA6:=HHV(高,BARSLAST(CTA3>0));CTA7:=IF(MACD<0,BARSLAST(CROSS(DIFF,DEA)),0);CTA8:=REF(CTA4,CTA7+1);CTA9:=REF(CTA5,CTA7+1);CTA10:=IF(CTA4<0 且 ABS(CTA4)<ABS(CTA8),1,0);CTA11:=MACD<0 AND REF(MACD,1)<0 AND 收盘价<CTA9 AND ABS(CTA4)<ABS(CTA8) AND ABS(MACD)<ABS(REF(MACD,1));CTA12:=IF(交叉(DIFF,DEA),REF(CTA10,1),0);CTA13:=IF(DIFF>REF(DIFF,1),REF(CTA10,1),0) AND DIFF<0 AND DEA<0;CTA14:=BARSLAST(REF(CROSS(DIFF,DEA),1))*1;CTA15:=参考(收盘,CTA14+1)>收盘和差值>参考(差值,CTA14+1)和交叉(差值,DEA)*1;绘制线(CTA14=0,DEA-0.02,CTA15,DEA-0.02,0)*1,点线,彩色;牛启动:=FILTER(CTA13,10);CTA17:=过滤器(CTA13,10);CTA18:=牛启动 AND CTA17;粘线(CTA18,(-0.08),DIFF,2,0),洋红色;STICKLINE(牛启动,0,MACD,1,0),COLORLIMAGENTA;DRAWTEXT(牛启动,0+0.01,'牛启动'),COLORYELLOW;DRAWICON(牛启动,0,9);三、牛启动选股公式:DIFF:=EMA(收盘价,12)-EMA(收盘价,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;CTA1:=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);CTA2:=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);CTA3:=DEA-差异;CTA4:=IF(MACD<0,SUM(MACD,BARSLAST(CTA3<0)),0);CTA5:=LLV(低,BARSLAST(CTA3<0));CTA6:=HHV(高,BARSLAST(CTA3>0));CTA7:=IF(MACD<0,BARSLAST(CROSS(DIFF,DEA)),0);CTA8:=REF(CTA4,CTA7+1);CTA10:=IF(CTA4<0 且 ABS(CTA4)<ABS(CTA8),1,0);CTA13:=IF(DIFF>REF(DIFF,1),REF(CTA10,1),0) AND DIFF<0 AND DEA<0;XG:过滤器(CTA13,10);

风险提示:本指标公式仅作为知识分享,模拟测试不构成任何投资建议,不作投资参考。

图片

结尾

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报。