公式网-网站导航


网站搜索:  

公式在线网 发表于2014/10/22 7:27:35

形态揭秘源码

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;



网站搜索:  



Copyright © 2009-2010 gszb.com ™,All Rights Reserved. 
公式网-www.gszx.com.cn-股票指标公式网