精准度99的波段指标
发布日期: 2025-08-19 | 阅读量:46
CXHZB:=(120-60)/10;
MA60:=CXHZB*EMA(C-REF(C,1),60);
CXH:=SMA(MA60,13,1),COLORFEDCBA;
ZHIB:=SMA(CXH,13,1),COLOR13F8F9;
程序化指标:=2.5*CXH-1.5*ZHIB,COLORF813F9;
RF:=REF(程序化指标,1);
STICKLINE(程序化指标>RF,程序化指标,RF,2.3,0),COLORYELLOW;
STICKLINE(程序化指标>0 AND 程序化指标>RF,程序化指标,RF,2.2,0),COLORRED;
STICKLINE(程序化指标<0 AND 程序化指标>RF,程序化指标,RF,2.2,0),COLORMAGENTA;
STICKLINE( 程序化指标<RF,程序化指标,RF,2.2,0),COLOR338833;
STICKLINE(程序化指标>0 AND 程序化指标<RF,程序化指标,RF,1.0,0),COLOR00FF00;
DRAWTEXT_FIX(1,0.52,0,0,'☆微信公众号:(程序化指标) ☆'),COLORRED;
DRAWTEXT_FIX(1,0.2,0,0,'(使用说明:粉红柱为建仓区,红金柱为主升区,大绿柱必卖) '),COLORFFFFFF;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26),NODRAW;
DEA:=EMA(DIF,9),NODRAW;
零下金叉:CROSS(DIF,DEA) AND DIF<0,NODRAW,COLOR0000FF;
零上金叉:CROSS(DIF,DEA) AND DIF>=0 AND DIF<0.25 ,NODRAW,COLOR4080FF;
DRAWICON(零上金叉,程序化指标,11) ;
DRAWICON(零下金叉,程序化指标,1) ;
MA60:=CXHZB*EMA(C-REF(C,1),60);
CXH:=SMA(MA60,13,1),COLORFEDCBA;
ZHIB:=SMA(CXH,13,1),COLOR13F8F9;
程序化指标:=2.5*CXH-1.5*ZHIB,COLORF813F9;
RF:=REF(程序化指标,1);
STICKLINE(程序化指标>RF,程序化指标,RF,2.3,0),COLORYELLOW;
STICKLINE(程序化指标>0 AND 程序化指标>RF,程序化指标,RF,2.2,0),COLORRED;
STICKLINE(程序化指标<0 AND 程序化指标>RF,程序化指标,RF,2.2,0),COLORMAGENTA;
STICKLINE( 程序化指标<RF,程序化指标,RF,2.2,0),COLOR338833;
STICKLINE(程序化指标>0 AND 程序化指标<RF,程序化指标,RF,1.0,0),COLOR00FF00;
DRAWTEXT_FIX(1,0.52,0,0,'☆微信公众号:(程序化指标) ☆'),COLORRED;
DRAWTEXT_FIX(1,0.2,0,0,'(使用说明:粉红柱为建仓区,红金柱为主升区,大绿柱必卖) '),COLORFFFFFF;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26),NODRAW;
DEA:=EMA(DIF,9),NODRAW;
零下金叉:CROSS(DIF,DEA) AND DIF<0,NODRAW,COLOR0000FF;
零上金叉:CROSS(DIF,DEA) AND DIF>=0 AND DIF<0.25 ,NODRAW,COLOR4080FF;
DRAWICON(零上金叉,程序化指标,11) ;
DRAWICON(零下金叉,程序化指标,1) ;
