以下是通达信主力筹码仓位源码

HJ_1:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*200*10;
主力筹码值:SMA(HJ_1,5,1)/100,NODRAW,COLORWHITE;
 STICKLINE(主力筹码值>REF(主力筹码值,1),0,主力筹码值,2,0),COLORBROWN;
 STICKLINE(主力筹码值<REF(主力筹码值,1),0,主力筹码值,1,0),COLORBROWN;
 HJ_2:=MA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
 HJ_3:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
 HJ_4:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);

 HJ_5:=HJ_2+100;
 HJ_6:=HJ_3+100;
 HJ_7:=HJ_4+100;
底部区域:HJ_5<12 AND HJ_7<8 AND (HJ_6<7.2 OR REF(HJ_6,1)<5) AND (HJ_7>REF(HJ_7,1) OR HJ_6>REF(HJ_6,1)) OR (HJ_5<8 AND HJ_7<7 AND HJ_6<15 AND HJ_6>REF(HJ_6,1)) OR (HJ_5<10 AND HJ_7<7 AND HJ_6<1),COLOR0080FF;
 STICKLINE(底部区域,(-2),0,4,0),COLOR0080FF;
主力买点:15*(HJ_5<15 AND REF(HJ_5,1)<15 AND HJ_7<18 AND HJ_6>REF(HJ_6,1) AND CROSS(HJ_6,HJ_5) AND HJ_6>HJ_7 AND (REF(HJ_6,1)<5 OR REF(HJ_6,2)<5) AND (HJ_7>=HJ_5 OR REF(HJ_6,1)<1)),COLORMAGENTA,LINETHICK2;
低部买点:HJ_5<10 AND CROSS(HJ_6,HJ_5) AND HJ_6-REF(HJ_6,1)>12 AND HJ_6>15,NODRAW,COLORWHITE;
 STICKLINE(低部买点,0,8,2,0),COLORWHITE;
低位抄底:HJ_5<9 AND CROSS(HJ_7,HJ_5) AND HJ_6>20,NODRAW,COLORRED;
 STICKLINE(低位抄底,0,3,3,0),COLORRED;
 HJ_8:=EMA(CLOSE,12)-EMA(CLOSE,26);
 HJ_9:=EMA(HJ_8,9);
 HJ_10:=2*(HJ_8-HJ_9);
有庄潜伏中:COUNT(HJ_10<0,10)=10,NODRAW,COLORYELLOW;
 STICKLINE(有庄潜伏中,0,HJ_10*0.5,8,0),COLORYELLOW;
危险区:18,COLORGREEN;
次危险区:15,DOTLINE,COLORLICYAN;
 HJ_11:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
 HJ_12:=IF(CLOSE>OPEN,HJ_11*(HIGH-LOW),IF(CLOSE<OPEN,HJ_11*(HIGH-OPEN+CLOSE-LOW),VOL/2))/(IF(CLOSE>OPEN,0-HJ_11*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-HJ_11*(HIGH-LOW),0-VOL/2))*(-1))-IF(CLOSE>OPEN,0-HJ_11*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-HJ_11*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSE>OPEN,HJ_11*(HIGH-LOW),IF(CLOSE<OPEN,HJ_11*(HIGH-OPEN+CLOSE-LOW),VOL/2));
 HJ_13:=AMOUNT/(100*VOL);
 HJ_14:=MA(HJ_13,40);
 HJ_15:=100*(CLOSE-HJ_14)/HJ_14;
底部可操作区:IF(HJ_12>0 AND HJ_15<(-12) AND CLOSE/OPEN>1.07,300,200)/100,COLORFF80FF;
天狼_微信号1043:5331.209961,NODRAW,COLOR0080FF;

{———————————–}

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。