通达信主力筹码仓位源码

[复制链接]
查看65 | 回复0 | 2021-8-19 19:50:56 | 显示全部楼层 |阅读模式

以下是通达信主力筹码仓位源码(无源码的请下载附件导入)

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;

{-----------------------------------}

635433543.jpg

635433543.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则