趋势烈焰,蓝转黄 有行情
STICKLINE(1,0,0,30,0),COLORFFFF00;
DIFFUP:=(EMA(CLOSE,10)-EMA(CLOSE,20))*100;
DEAUP:=EMA(DIFFUP,7);
柱子宽度:=3;
STICKLINE(DIFFUP<0,0,DIFFUP*1.00,柱子宽度,0),COLOR00FF33;
STICKLINE(DIFFUP<0,0,DIFFUP*0.90,柱子宽度,0),COLOR33FF33;
STICKLINE(DIFFUP<0,0,DIFFUP*0.80,柱子宽度,0),COLOR66FF33;
STICKLINE(DIFFUP<0,0,DIFFUP*0.50,柱子宽度,0),COLOR99FF33;
STICKLINE(DIFFUP<0,0,DIFFUP*0.40,柱子宽度,0),COLORCCFF33;
STICKLINE(DIFFUP<0,0,DIFFUP*0.20,柱子宽度,0),COLORFFFF33;
STICKLINE(DIFFUP>=0,0,DIFFUP*1.00,柱子宽度,0),COLOR00FFFF;
STICKLINE(DIFFUP>=0,0,DIFFUP*0.90,柱子宽度,0),COLOR00CCFF;
STICKLINE(DIFFUP>=0,0,DIFFUP*0.80,柱子宽度,0),COLOR0099FF;
STICKLINE(DIFFUP>=0,0,DIFFUP*0.50,柱子宽度,0),COLOR0066FF;
STICKLINE(DIFFUP>=0,0,DIFFUP*0.40,柱子宽度,0),COLOR0033FF;
STICKLINE(DIFFUP>=0,0,DIFFUP*0.20,柱子宽度,0),COLOR0000FF;
STICKLINE(DEAUP>=0,0,DEAUP*1.00,柱子宽度,0),COLORFF0000;
STICKLINE(DEAUP>=0,0,DEAUP*0.90,柱子宽度,0),COLORFF3300;
STICKLINE(DEAUP>=0,0,DEAUP*0.80,柱子宽度,0),COLORFF6600;
STICKLINE(DEAUP>=0,0,DEAUP*0.50,柱子宽度,0),COLORFF9900;
STICKLINE(DEAUP>=0,0,DEAUP*0.40,柱子宽度,0),COLORFFCC00;
STICKLINE(DEAUP>=0,0,DEAUP*0.20,柱子宽度,0),COLORFFFF00;
STICKLINE(DEAUP<0,0,DEAUP*1.00,柱子宽度,0),COLORFF0000;
STICKLINE(DEAUP<0,0,DEAUP*0.90,柱子宽度,0),COLORFF3300;
STICKLINE(DEAUP<0,0,DEAUP*0.80,柱子宽度,0),COLORFF6600;
STICKLINE(DEAUP<0,0,DEAUP*0.50,柱子宽度,0),COLORFF9900;
STICKLINE(DEAUP<0,0,DEAUP*0.40,柱子宽度,0),COLORFFCC00;
STICKLINE(DEAUP<0,0,DEAUP*0.20,柱子宽度,0),COLORFFFF00;
绿色消失买入:IFF(REF(DIFFUP,1)<REF(DEAUP,1) AND DIFFUP>=DEAUP AND DIFFUP<=0,1,0),NODRAW,COLORRED;
黄色消失卖出:IFF(REF(DIFFUP,1)>REF(DEAUP,1) AND DIFFUP<=DEAUP AND DIFFUP>0 ,1,0),NODRAW,COLORGREEN;
蓝色火焰:IFF(1,DEAUP,DRAWNULL),NODRAW,COLORFFFF00;
绿色火焰:IFF(DIFFUP<=0 AND DIFFUP<=DEAUP,DIFFUP,DRAWNULL),NODRAW,COLORGREEN;
黄色火焰:IFF(DIFFUP>0 AND DIFFUP>=DEAUP ,DIFFUP,DRAWNULL),NODRAW,COLORYELLOW;
2022622221375070.png
20226222211321419.png
|