资源描述:
《超级极品macd指标公式 极品macd》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、超级极品macd指标公式极品MACD导读:就爱阅读网友为您分享以下“极品MACD”资讯,希望对您有所帮助,感谢您对92to.com的支持!DIF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIF,9);MACD:”MACD.MACD”,NODRAW;W1:STICKLINE(MACD>0,MACD,0,3,1),COLORRED;W2:STICKLINE(MACD<0,MACD,0,3,1),COLORCYAN;VA1:=HHVBARS(MACD,BARSLAST(MACD<0)+1);VA2
2、:=CROSS(BACKSET(CROSS(0,MACD),REF(VA1,1)+2),0.5);QG:=CROSS(BACKSET(CROSS(0,MACD)OR(ISLASTBARAND7MACD>0),REF(VA1,1)+2),0.5);前高:DRAWLINE(VA2,MACD,REF(VA2,1),REF(MACD,1),1),COLORMAGENTA;VA3:=LLVBARS(MACD,B7ARSLAST(MACD>0)+1);VA4:=CROSS(BACKSET(CROSS(MACD,0),REF(VA3,1)+2
3、),0.5);BD:=BARSLAST(FILTERX(CROSS(0,MACD),BARSCOUNT(C)));前低:DRAWLINE(VA4,MACD,REF(VA4,1),REF(MACD,1),1);BDTJ:=IF(MACD<0,FILTERX(MACD=LLV(MACD,BARSLAST(MACD>0)),BARSCOUNT(C)),DRAWNULL);TSBDTJ:=BARSLAST(BDTJ);BDZH:=FILTERX(MACD<CONST(LLV(MACD,BD+1)),BARSCOUNT(C));BD
4、TS:=BARSLAST(BDZH);本低:IF(BD+1>=1,CONST(LLV(MACD,BD+1)),DRAWNULL);BDCL:=CROSS(COUNT(CROSS(MACD>本低/2ANDMACD<0,0.5),TSBDTJ)=1,0.5)ANDTSBDTJ>=0;终点:=IF(ISLASTBARANDMACD>0ANDMACD=HHV(MACD,BARSLAST(MACD<0)),1,IF(FILTERX(QG,BARSCOUNT(C)),2,DRAWNULL));UU:=(终点=1OR终
5、点=2)AND7MACD>0;ZZ:=FILTERX(UU,BARSCOUNT(C));本高:DRAWLINE(ZZ,MACD,REF(ZZ,1),REF(MACD,1),1),COLORWHITE;横线:=CONST(REF(MACD,BARSLAST(ZZ)));WW:=MACD>横线;起始点:=FILTERX(REFX(BARSLAST(WW),1)=1,BARSCOUNT(C));天数:BARSLAST(起始点),COLORYELLOW,NODRAW;上横线:DRAWLINE(起始点,横线,ZZ,横线,0),COLORG
6、REEN,DOTLINE;下横线:DRAWLINE(BDZH,CONST(LLV(MACD,BD+1)),BDTJ=1,MACD,0),COLOR8080FF,DOTLINE;DRAWNUMBER(BDTJ,CONST(LLV(MACD,BD+1))*0.9,BDTS);DRAWNUMBER(ZZ,上横线*1.1,天数);TJ:=IF(起始点,BARSNEXT(ZZ),DRAWNULL);红柱数量:IF(天数>0AND天数<=REF(TJ,天数),SUM(MACD>0,天数),DRAWNULL),COLORWHITE,NO
7、DRAW;横线起始价:REF(C,天数),NODRAW;空间评估:(横线起始价-C)/C*100,NODRAW;TT:=BARSLAST(ZZ);WQG:=CROSS(COUNT(CROSS(MACD<本高/2ANDMACD>0,0.5),ZZ)=1,0.5)ANDZZ>=0;STICKLINE(MACD>前高AND本高>前高ANDBARSLAST(CROSS(MACD<本高/2,0.5))>07ANDMACD>(前高+本高)/2,MACD,前高,1,0),COLORYELLOW;前高本高二分
8、位:IF(MACD>0AND本高!=前高,DRAWLINE(WQG,(前高+本高)/2,REF(WQG,1),REF((前高+本高)/2,1),1),DRAWNULL),C