提醒:本盘算适用于“邃晓信软件“,文中测试盘算截图为电脑版软件截图,能否救助手机请复制源码新建盘算测试。本文种盘算公式源码仅供学习调换,请勿用于股票来往。扫数本色仅供学习,不保证任何效能濑亚美莉作品,不作任何投资提议股市有风险,入市严慎
【小龙】:副图选股盘算
小龙副图,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));
猎U者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;濑亚美莉作品
本文平共享的盘算公式源码王人是测试截图,著述种盘算源码复制--到邃晓信软件新建盘算使用。复制源码细心复制齐备,主图副图选股分开复制新建---接待关心--合手续更新 本站仅提供存储劳动,扫数本色均由用户发布,如发现存害或侵权本色,请点击举报。