线上做股副图公式、源码

[复制链接]
查看72 | 回复0 | 2022-7-24 06:21:05 | 显示全部楼层 |阅读模式

线上做股副图公式、源码

WVAD:=SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,N)/10000;
线上做股:MA(WVAD,M),COLORYELLOW,LINETHICK2;

 VA1:=HHV(HIGH,9)-LLV(LOW,9);      
 VA2:=HHV(HIGH,9)-CLOSE;
 VA3:=CLOSE-LLV(LOW,9);
 VA4:=VA2/VA1*100-70;
 VA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
 VA6:=(CLOSE+HIGH+LOW)/3;
 VA7:=SMA(VA3/VA1*100,3,1);
 VA8:=LLV(LOW,34);
 VA9:=SMA(VA7,3,1)-SMA(VA4,9,1);
 VARA:=IF(VA9>100,VA9-100,0);
 VARB:=HHV(HIGH,34);
 VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13);
 VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);
 VARE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
 VARF:=MA(VARE,3);
 VAR1:=HHV(HIGH,9)-LLV(LOW,9);
 VAR2:=HHV(HIGH,9)-CLOSE;
 VAR3:=CLOSE-LLV(LOW,9);
 VAR4:=((VAR2)/(VAR1))*(100)-70;
 VAR5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
 VAR6:=((2)*(CLOSE)+HIGH+LOW)/(4);
 VAR7:=SMA(((VAR3)/(VAR1))*(100),3,1);
 VAR8:=LLV(LOW,34);
 VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);
 VAR10:=IF((VAR9>100),VAR9-100,0);
 VAR11:=HHV(HIGH,34);
 B1:=EMA(((VAR6-VAR8)/(VAR11-VAR8))*(100),8);

领先:=EMA(B1,5),COLORCYAN;

 A6:=LLV(C,500)=LLV(C,5) AND C/REF(C,1)>(1+9.8/100);
水平线:IF(A6,领先,0),COLORGREEN,LINETHICK2;
 

81211033.gif

81211033.gif

81288533.png

81288533.png

回复

使用道具 举报

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

本版积分规则