以下是通达信中线判势主图源码(无源码的请下载附件导入)
{N1=20
N2=20}
JX:(MA(C,10)*30+MA(C,30)*10+MA(C,60)*5+MA(C,120)*3)/48;
JXMA:MA(JX,10);
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;
77577519.jpg
|