股票公式平台 股票公式 股票软件 手机炒股软件 登录 注册
公式平台网
未来函数检测
首 页 精品公式 通达信公式 大智慧公式 同花顺公式 通达信股票池 大智慧股票池 益盟公式 文华公式 博易大师公式 通达信软件 更多
当前位置:公式平台网同花顺公式 → 正文

MACD经典战法同花顺副图指标,牛人做牛市

发布时间:2023/12/10 10:14:55  浏览次数:
MACD经典战法同花顺副图指标,
牛人做牛市

N:=21;M:=11;
DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,27);
DEA1:=EMA(DIFF1,9);
MACD:=2*(DIFF1-DEA1),STICK;
DRAWBAND(DIFF1,RGB(200,50,55),DEA1,RGB(0,100,50));
DIFF:DIFF1,COLOR33FF33;
DEA:DEA1,coloryellow;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,0.9,0),COLORFF8B00;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,0.3,0),COLORFFAB00;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,0.9,0),COLOR0000DD;
STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,0.3,0),COLOR0000FF;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,0.9,0),COLORDDDDDD;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,0.3,0),COLORFFFFFF;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,0.9,0),COLORFF8B00;
STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,0.3,0),COLORFFAB00;
STICKLINE(MACD>=0 OR MACD<=0,0,0,50,2),colorwhite;
金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
DRAWICON(金叉,DEA,23);
DRAWTEXT(金叉,DEA,' 低金'),coloryellow;
JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
二金:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
DRAWICON(二金,DEA*1.04,13) ;
DRAWTEXT(二金,-0.1,' 二金'),COLORFF00FF;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
底背:DRAWLINE(A1=0,DEA,底背离,DEA,0),colorred,POINTDOT;
DRAWTEXT(底背离,-0.2,'底背'),colormagenta;
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);
顶背:DRAWLINE(A2=0,DEA,顶背离,DEA,0),colorgreen,POINTDOT;
DRAWTEXT(顶背离,DIFF,'顶背'),colorgreen;
AA:=REF(HHV(HIGH,N),1);
BB:=REF(LLV(LOW,N),1);
GG:=(AA+BB)/2;
TJ1:=(AA-BB)/GG<(M/100);
TJ2:=C>REF(HHV(HIGH,N),1);
XG:=TJ1 AND TJ2;
LB:=V/REF(V,1)>2;
W88:金叉 AND XG  AND LB;
STICKLINE(W88,0,0.2,3,0),COLOR00FFFF;


MACD经典战法同花顺副图指标,牛人做牛市

增值电信业务经营ICP许可证:合字B2-20230351  粤ICP备2023083431号-1
免责声明:公式平台网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,由此引起的投资亏损与本站无关.
Copyright © 2023 gspt.com , All Rights Reserved.