通达信中线判势主图指标公式
{N1=20
N2=20}
JX:(MA(C,10)*30+MA(C,30)*10+MA(C,60)*5+MA(C,120)*3)/(3+5+10+30);
JXMA:MA(JX,10);{公式在线提供:www.gszx.com.cn}
STICKLINE(JX JXMA,JX,JXMA,2,0),COLORRED;
STICKLINE(JX =JXMA,JX,JXMA,2,0),COLORGREEN;
DRAWICON(CROSS(JX,JXMA),JX-0.2,1);
DRAWICON(CROSS(JXMA,JX),JXMA+0.2,2);
HHV(HIGH,N1);
LLV(LOW,N2);
DRAWICON(CLOSE REF(HHV(HIGH,N1),1),HHV(HIGH,N1),5);
DRAWICON(CLOSE REF(LLV(LOW,N2),1),LLV(LOW,N2),1),COLORYELLOW;