指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:macd交易解盘公式 飞狐交易指标 源码
macd交易解盘
input:n(20,1,30);
diff: ema(close,12) - ema(close,26),coloryellow,linethick2;
dea1:=ema(diff,9);0.10;
macd: 2*(diff-dea1),linethick0;
stickline(macd>0,0,macd,8,1),colorred;
stickline(macd<0,0,macd,8,1),colorcyan;
dea: ema(diff,9),colorgreen;
partline(diff>dea,diff),colorff11cc,linethick2;
partline(diff>dea and diff<0,diff),colorred,linethick2;
drawicon(cross(diff,dea),diff-0.01,6);
drawicon(cross(dea,diff),diff,11);
v1:=ema(ema(close,n),n);
v2:=100*winner(close*0.95);
控盘力度:(v1-ref(v1,1))/ref(v1,1)*10,colorwhite,linethick1;
无庄控盘:if(控盘力度<0,控盘力度,0),linethick2,color00ff00,stick;
有庄控盘:if(控盘力度>ref(控盘力度,1) and 控盘力度>0,控盘力度,0),linethick2,colorff00ff,stick;
主力减仓:if(控盘力度< ref(控盘力度,1) and 控盘力度>0,控盘力度,0),linethick2,colorblue,stick;
高度控盘:if(v2>50 and cost(85)< close and 控盘力度>0,控盘力度,0),linethick2,colorred,stick;
开始控盘:if(cross(控盘力度,0),0.2,0),linethick2,colorff00ff;
var1:=ema(close,34)-ema(close,5);
var2:=ema(var1,5);
趋势:=(-3)*(var1-var2), colorstick;
趋势,colorred;
长期趋势:ema(var1,10)*(-1);
explain(趋势>0,'z线趋势上升中\n');
explain(趋势<0,'z线趋势下降中\n');
explain(cross(趋势,0),'z线考虑买入\n');
explain(cross(0,趋势),'z线考虑卖出\n');
var11:=ma((v/(h-l)),4);
var33:=abs(c-o);
var44:=v/(h-l);
explain(var44<var11 and var33<ma(var33,4),'资金无入场意愿,萎缩中\n');
explain(var44<var11 and var33>ma(var33,4),'场内资金运作行为\n');
explain(var44>var11 and var33<ma(var33,4),'多空双方激烈争夺中\n');
explain(var44>var11 and var33>ma(var33,4),'场外资金介入(或出局)意愿强
>>>使用本站搜索工具可以找到更多“macd交易解盘公式 飞狐交易指标 源码”