大智慧华山四海指标公式

[复制链接]
查看112 | 回复0 | 2021-8-21 13:51:02 | 显示全部楼层 |阅读模式

强势线:2,LINETHICK2,colorFF00FF;
准强线:1.3,LINETHICK1,colorgreen;
UP:=(CLOSE>OPEN OR CLOSE>REF(CLOSE,1)) AND VOL>REF(VOL,1);
AA:=COUNT(UP,3)=3;
BB:=LLV(LOW,5)=LLV(LOW,120);
CC:=CLOSE>MA(CLOSE,3);
LLT:=AA AND BB AND CC;
V1:=LLV(LOW,10);
V2:=HHV(HIGH,25);
警戒线:3.1,LINETHICK3,colorFFFF00;
高抛线:3.5,LINETHICK2,colorred;
指导线:EMA((CLOSE-V1)/(V2-V1)*4,4);
M5:=MA(指导线,5);
低吸线:0.3,LINETHICK1,colorFFFFFF;
VAR2:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);
VAR3:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;
VAR4:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
VAR5:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;
VAR6:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
VAR7:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
VAR8:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
VAR9:=(VAR3+VAR4+VAR5+VAR6+VAR7+VAR8)/6;
VARA:=EMA(VAR9,3);
VARB:=ABS(VAR6-VAR8);
VARC:=(VAR9+VARB)/2;
VARD:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;
VARE:=VARD+VARC;
VARF:=IF(VAR2>0 AND VARE<0,200,0);
VAR10:=IF(VARC<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);
VAR11:=IF(VARE<0 AND VAR10=-50,100,0);
VAR12:=MA(CLOSE,3);
VAR13:=REF(CLOSE,2)*0.865;
VAR14:=REF(CLOSE,13)*0.772;
VAR15:=MIN(VAR13,VAR14);
VAR16:=100*VOL/CAPITAL;
VAR17:=MA(CLOSE,13);
VAR18:=IF((CLOSE-VAR15)/CLOSE<0.03 AND SUM(VAR16,5)/5<1.8,1,0);
DRAWTEXTABS(5,5,'股旁网 www.gupang.com'),linethick1,COLOR00EEff;
VAR19:=IF(VAR18>0 AND (VAR10<0 OR VAR2>0),100,0);
VAR1A:=VAR19;
VAR1B:=IF(VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902 OR (VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0) AND (VAR10<0 OR VAR2>0) AND VAR19<10,50,0);
VAR1C:=(VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0) AND (VAR10<0 OR VAR2>0);
VAR1D:=VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;
大底区域:(VAR1C OR VAR1D)*3,LINETHICK2,colorred;
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
阶段卖出:3.2,colorFFFF00;
3.5,color88FF00;
清仓卖出:3.5;
动力线:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
STICKLINE(动力线>REF(动力线,1),动力线,REF(动力线,1),8,1),colorred;
STICKLINE(动力线<=REF(动力线,1),动力线,REF(动力线,1),8,1),colorgreen;
底部介入:0.2,colorFF0000;
重点关注:0.5,colorFFFF00;
DRAWICON(FILTER(CROSS(动力线,重点关注),20),动力线+0.02,1);
DRAWICON(FILTER(CROSS(清仓卖出,动力线),20),动力线+0.02,2);
DRAWICON(FILTER(CROSS(动力线,底部介入),20),动力线+0.02,1);
DRAWICON(FILTER(CROSS(阶段卖出,动力线),20),动力线+0.02,2);
强弱分界线:1.75,POINTDOT,LINETHICK2,colorDDDDDD;

202108211242.jpg

202108211242.jpg

 

回复

使用道具 举报

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

本版积分规则