以下是通达信一号十字副图源码(无源码的请下载附件导入)
HJ_1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
HJ_2:=SMA(HJ_1,2,1);
HJ_3:=SMA(HJ_2,2,1);
HJ_4:=3*HJ_2-2*HJ_3;
HJ_5:=EMA(CLOSE,12)-EMA(CLOSE,26);
HJ_6:=EMA(HJ_5,9);
HJ_7:=2*(HJ_5-HJ_6);
HJ_8:=REF(VOL,1)<MA(VOL,5) AND REF(VOL,1)<REF(VOL,2) AND VOL>1.2*REF(VOL,1);
HJ_9:=CLOSE/REF(CLOSE,1)>1.03;
HJ_10:=(LLV(LOW,10)-HHV(HIGH,10))/HHV(HIGH,10)*100<15;
HJ_11:=CROSS(HJ_2,HJ_3) AND HJ_8 AND HJ_10 AND HJ_9 AND CAPITAL<10000000 AND HJ_2>20 AND HJ_2<50 AND HJ_7>0;
STICKLINE(HJ_11,0,0.5,3,0),COLORLIMAGENTA;
STICKLINE(HJ_11,0,0.8,2,0),COLORRED;
STICKLINE(HJ_11,0,1,1,0),COLORRED;
DRAWICON(HJ_11,1.198,1);
{-----------------------------------}
853166745.jpg
|