指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:价差MACD副图 大智慧价差
价差macd副图,稍作修改为大智慧l2用的!(感谢原作者)
hloc:=(h+l+2*c)/4;
价差:sma((hloc-ref(hloc,1))/ref(hloc,1),3,1)*1000,precis2,linethick0;
macd:=价差;
stickline(macd<ref(macd,1)and macd>0,0,macd,5,0 ),color00aaff;
stickline(macd<ref(macd,1)and macd>0,0,macd,3.5,0 ),color00bbff;
stickline(macd<ref(macd,1)and macd>0,0,macd,2,0 ),color00ccff;
stickline(macd<ref(macd,1)and macd>0,0,macd,1.5,0 ),color00ddff;
stickline(macd<ref(macd,1)and macd>0,0,macd,1,0 ),color00eeff;
stickline(macd<ref(macd,1)and macd>0,0,macd,0.5,0 ),color00ffff;
stickline(macd>=ref(macd,1)and macd>0,0,macd,5,0 ),color0000aa;
stickline(macd>=ref(macd,1)and macd>0,0,macd,3.5 ,0 ),color0011bb;
stickline(macd>=ref(macd,1)and macd>0,0,macd,2,0 ),color0022cc;
stickline(macd>=ref(macd,1)and macd>0,0,macd,1.5 ,0 ),color0033dd;
stickline(macd>=ref(macd,1)and macd>0,0,macd,1 ,0 ),color0044ee;
stickline(macd>=ref(macd,1)and macd>0,0,macd,0.5 ,0 ),color0055ff;
stickline(macd>ref(macd,1)and macd<0,0,macd,5,0 ),coloraa00bb;
stickline(macd>ref(macd,1)and macd<0,0,macd,3.5 ,0 ),colorbb11bb;
stickline(macd>ref(macd,1)and macd<0,0,macd,2,0 ),colorcc22bb;
stickline(macd>ref(macd,1)and macd<0,0,macd,1.5,0 ),colordd33bb;
stickline(macd>ref(macd,1)and macd<0,0,macd,1 ,0 ),coloree44bb;
stickline(macd>ref(macd,1)and macd<0,0,macd,0.5,0 ),colorff55bb;
stickline(macd<=ref(macd,1)and macd<0,0,macd,5,0 ),colorff7700;
stickline(macd<=ref(macd,1)and macd<0,0,macd,3.5 ,0 ),colorff8811;
stickline(macd<=ref(macd,1)and macd<0,0,macd,2,0 ),colorffaa22;
stickline(macd<=ref(macd,1)and macd<0,0,macd,1.5 ,0 ),colorffbb33;
stickline(macd<=ref(macd,1)and macd<0,0,macd,1 ,0 ),colorffdd44;
stickline(macd<=ref(macd,1)and macd<0,0,macd,0.5 ,0 ),colorffff55;
xg1:=count(macd>0 and macd>ref(macd,1),3)=3;
stickline(xg1,macd/2,0,8,0 ),colorblue;
xg2:=ref(macd,1)<ref(macd,2) and (-ref(macd,1))/(-macd)>2 and count(macd<0,3)=3;
stickline(xg2,macd*1.2,macd*1.5,8,0 ),coloryellow;
btx:=sma((forcast(hloc,13)-ref(forcast(hloc,13),1))/ref(forcast(hloc,13),1),3,1)*1000;
波段线:btx,colormagenta,precis2,linethick2,layer0;
partline(波段线,波段线<ref(波段线,1)),colorgreen,linethick2,layer0;
对比线:forcast(波段线,8),precis2,linethick1,dotline,colorwhite,layer0;
>>>使用本站搜索工具可以找到更多“价差MACD副图 大智慧价差”