HSJD:=(3*C+H+L+O)/6;
HSJD1:=(8*HSJD+7*REF(HSJD,1)+6*REF(HSJD,2)+5*REF(HSJD,3)+4*REF(HSJD,4)+3*REF(HSJD,5)+2*REF(HSJD,6)+REF(HSJD,8))/36;
HSJD2:=(HHV(HSJD1,5)+HHV(HSJD1,10)+HHV(HSJD1,20))/3;
HSJD3:=(LLV(HSJD1,5)+LLV(HSJD1,10)+LLV(HSJD1,20))/3;
HSJD4:=(HHV(HSJD2,5)+HHV(HSJD2,10)+HHV(HSJD2,20))/3;
HSJD5:=(LLV(HSJD3,5)+LLV(HSJD3,10)+LLV(HSJD3,20))/3;
HSJD6:=(LLV(HSJD1,2)+LLV(HSJD1,4)+LLV(HSJD1,6))/3;
DRAWBAND(HSJD1,RGB(155,0,0),HSJD6,RGB(0,155,0));
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
【操盘线】:HSJD1,COLORYELLOW,LINETHICK2;
【生命线】:HSJD6,COLORRED,LINETHICK2;
【空仓线】:IF(HSJD1=HSJD6,HSJD6,DRAWNULL),COLORGREEN,LINETHICK2;
起爆:DRAWICON(REF(HSJD1,1)=REF(HSJD6,1) AND crOSS(C,HSJD1),L*0.99,42),COLORRED;
卖出:DRAWICON(REF(HSJD1,1)>REF(HSJD6,1) AND CROSS(HSJD1,C),H*1.01,43),COLORGREEN;
评论(0)