以下是通达信大财女变线_副图源码
HJ_1:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN,VOL);
HJ_2:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.096 AND CLOSE=HIGH;
HJ_3:=HJ_1>=REF(VOL,1)*1.9 AND (CLOSE>REF(CLOSE,1) OR CLOSE>OPEN);
HJ_4:=HJ_1<REF(HJ_1,1);
HJ_5:=EVERY(HJ_4,3);
HJ_6:=HJ_1=HHV(HJ_1,10) AND HJ_1>1.7*REF(VOL,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE>=OPEN AND HIGH-CLOSE<CLOSE-OPEN;
换手:HJ_1*10000/FINANCE(7),VOLSTICK;
五日换手:SUM(换手,5),NODRAW;
十日换手:SUM(换手,10),NODRAW;
二十日换手:SUM(换手,20),NODRAW;
HJ_7:=SUM(换手,60);
HJ_8:=SUM(换手,120);
HJ_9:=MA(换手,5);
平均换手5日:HJ_9,NODRAW;
HJ_10:=MA(换手,10);
平均换手10日:HJ_10,NODRAW;
HJ_11:=MA(换手,120);
平均换手120日:HJ_11;
HJ_12:=AMOUNT/VOL/100;
HJ_13:=MA(CLOSE,5);
HJ_14:=MA(CLOSE,6);
HJ_15:=MA(CLOSE,7);
HJ_16:=MA(CLOSE,8);
HJ_17:=MA(CLOSE,9);
HJ_18:=MA(CLOSE,10);
HJ_19:=MA(CLOSE,11);
HJ_20:=MA(CLOSE,12);
HJ_21:=MA(CLOSE,13);
HJ_22:=MA(CLOSE,14);
HJ_23:=MA(CLOSE,15);
HJ_24:=MA(CLOSE,16);
HJ_25:=MA(CLOSE,17);
HJ_26:=MA(CLOSE,18);
HJ_27:=MA(CLOSE,19);
HJ_28:=MA(CLOSE,20);
HJ_29:=MA(CLOSE,21);
HJ_30:=MA(CLOSE,22);
HJ_31:=MA(CLOSE,23);
HJ_32:=MA(CLOSE,24);
HJ_33:=MA(CLOSE,25);
HJ_34:=MA(CLOSE,26);
HJ_35:=MA(CLOSE,27);
HJ_36:=M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SCOUNT(CLOSE))));
HJ_49:=HJ_48;
HJ_50:=HJ_1=HHV(HJ_1,HJ_47);
HJ_51:=HJ_1=LLV(HJ_1,HJ_47);
STICKLINE(HJ_50 AND CLOSE<=OPEN,HJ_1*10000/FINANCE(7),0,1.5,0),COLORGREEN;
STICKLINE(HJ_50 AND CLOSE>OPEN,HJ_1*10000/FINANCE(7),0,1.5,0),COLORRED;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VOL*10000/FINANCE(7),0,0.5,(-1)),COLOR00C0C0;
DRAWNUMBER(HJ_1>MA(HJ_1,120)*3,换手,ROUND(HJ_1/MA(HJ_1,120)));
IF(EVERY(换手<=HJ_11,30),HJ_11,DRAWNULL),COLORBLUE,LINETHICK4;
STICKLINE(REF(EVERY(换手<=HJ_11,30),1) AND HJ_3 AND 换手>HJ_11,0,0,5,0),COLORYELLOW;
量顶:REF(REF(换手,BARSLAST(换手=HHV(换手,HJ_47))),1),DOTLINE,COLORGRAY;
HJ_52:=MA(换手,HJ_47);
STICKLINE(量顶<HJ_11,换手,量顶,3,0),COLORBLUE;
STICKLINE(换手>量顶,换手,量顶,1.5,0),COLORYELLOW;
{———————————–}
评论(0)