指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:红买绿卖准 通达信红买绿卖准
红买绿卖准
dif:=ema(close,12)-ema(close,26);
macd:=ema(dif,9),color33ccff;
def:2*(dif-macd),colorffff00,linethick0;
stickline(def>=0 and def>=ref(def,1),0,def,3,1),color6058ff;
stickline(def>=0 and def< ref(def,1),0,def,3,0),color6058ff;
stickline(def<0 and def>=ref(def,1),0,def,3,1),colorff99ff;
stickline(def<0 and def< ref(def,1),0,def,3,0),colorffff00;
if(dif<1000,0,drawnull),colorbrown;
多头趋势:=if(dif>=0 and macd>=0 or (dif<0 and macd>=0),1,0);
空头趋势:=dif<0 and macd<0 or (dif>=0 and macd<0);
缩头:=if(def>0 and ref(def,1)>ref(def,2) and def< ref(def,1),1,0);
缩脚:=if(def<0 and ref(def,1)< ref(def,2) and def>ref(def,1),1,0);
阻力:=if(cross(c,ma(c,20)) or cross(c,ma(c,60)),1,0);
支撑:=if(cross(ma(c,20),c) or cross(ma(c,60),c),1,0);
做多:=if(cross(macd,dif) and dif>0 and macd>0,1,0);
放空:=if(cross(dif,macd) and dif<0 and macd<0,1,0);
k1:=backset(dif>ref(dif,1),2);
强dif:if(k1,dif,drawnull),colorred,linethick2;
k2:=backset(dif<ref(dif,1),2);
弱dif:if(k2,dif,drawnull),color33ff33,linethick2;
if(macd<1000,macd,drawnull),color33ccff;
drawicon(filter(缩头,3) and 缩头,def+0.01,4);
drawicon(filter(缩脚,3) and 缩脚,def,9);
drawicon(filter(阻力,16) and def>=0,def+0.01,2);
drawicon(filter(支撑,16) and def<0,def,2);
>>>使用本站搜索工具可以找到更多“红买绿卖准 通达信红买绿卖准”