形态揭秘主图指标公式 源码
-
相关简介:形态揭秘主图指标公式 源码 MA1:MA(CLOSE,5); MA2:MA(CLOSE,10); MA3:MA(CLOSE,30); MA4:MA(CLOSE,120); DRAWTEXT(sysparam(3)=BARPOS and href(h,1) and l=ref(l,1) and C(ref(o,1)+ref(c,1))/2,hhv(h,30)+50*mindiff,'多头攻击形'),ALIGN2,coloryellow; DRAWTEXT(sysparam(3)=BARPOS an
-
文章来源:股海网作者:股海网发布时间:2016-08-08浏览次数:
形态揭秘主图指标公式
源码
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,30);
MA4:MA(CLOSE,120);
DRAWTEXT(sysparam(3)=BARPOS and h>ref(h,1) and l>=ref(l,1) and C>(ref(o,1)+ref(c,1))/2,hhv(h,30)+50*mindiff,'多头攻击形'),ALIGN2,coloryellow;
DRAWTEXT(sysparam(3)=BARPOS and h>ref(h,1) and l>=ref(l,1) and C<=(ref(o,1)+ref(c,1))/2,hhv(h,30)+50*mindiff,'多头攻击失败形'),ALIGN2,coloryellow;
DRAWTEXT(sysparam(3)=BARPOS and h<=ref(h,1) and l<ref(l,1) and C<=(ref(o,1)+ref(c,1))/2,hhv(h,30)+50*mindiff,'空头攻击形'),ALIGN2,coloryellow;
DRAWTEXT(sysparam(3)=BARPOS and h<=ref(h,1) and l<ref(l,1) and C>(ref(o,1)+ref(c,1))/2,hhv(h,30)+50*mindiff,'空头攻击失败形'),ALIGN2,coloryellow;
DRAWTEXT(sysparam(3)=BARPOS and h>ref(h,1) and l<ref(l,1) and C>max(ref(o,1),ref(c,1)),hhv(h,30)+50*mindiff,'多空消耗形,多胜'),ALIGN2,coloryellow;
DRAWTEXT(sysparam(3)=BARPOS and h>ref(h,1) and l<ref(l,1) and C<=max(ref(o,1),ref(c,1)),hhv(h,30)+50*mindiff,'多空消耗形,空胜'),ALIGN2,coloryellow;
DRAWTEXT(sysparam(3)=BARPOS and h<=ref(h,1) and l>=ref(l,1) and C>(ref(o,1)+ref(c,1))/2,hhv(h,30)+50*mindiff,'多空试探形,多占上风'),ALIGN2,coloryellow;
DRAWTEXT(sysparam(3)=BARPOS and h<=ref(h,1) and l>=ref(l,1) and C<=(ref(o,1)+ref(c,1))/2,hhv(h,30)+50*mindiff,'多空试探形,空占上风'),ALIGN2,coloryellow;