同花顺超前一步副图指标公式源码


VAR2:=1/WINNER(CLOSE);
VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);
VAR6:=HHV(HIGH,120);
VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);
VARA:=3*VAR8-2*SMA(VAR8,10,1);
VARC:=100-VARB;
V2:=EMA(V1,13)-EMA(V1,34);
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V9:=EMA(V8,13)-EMA(V8,34);
VB:=(V9-VA)/2;
V12:=(EMA(V11,3)-REF(EMA(V11,3),1))/REF(EMA(V11,3),1)*100;
AA:=(EMA(V11,3)<=13) AND FILTER((EMA(V11,3)<=13),15);
买入股票: STICKLINE(EMA(V11,3)<=13 AND V12>13,0,30,5,0),colorlimagenta;
DRAWTEXT (BB,50,'吸筹'),colormagenta;
CC:=(EMA(V11,3)>=90 AND V12) AND FILTER((EMA(V11,3)>=90 AND V12),10);
STICKLINE(IF(VB>=0,VB,0)  AND EMA(V11,3)<13,0,20,10,0),colorlimagenta;
STICKLINE( IF(V4>=0,V4,1) AND EMA(V11,3)<13,0,20,10,0),COLORFF00FF;
DRAWTEXT (CC,50,'抛压'),colorcyan;
Var2:=LLV(LOW,34);
VARE:=REF(LOW,1)*0.9;
VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
VAR12:=CLOSE-REF(CLOSE,1);
VAR14:=ABS(VAR12);
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1E:=SMA(VAR1D,3,1);
VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;
VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));
VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0);
STICKLINE(VAR20,0,60,5,0),LINETHICK1,colorred;
V6:=CLOSE/REF(CLOSE,3)>=1.1;
买:IF((V7 AND COUNT(V7,3)=1),50,0),colormagenta,LINETHICK2;
头部:= IF(V12=50,100,0);
DRAWTEXT(卖,80,' '),colorgreen;
底部:= IF(V11=50,50,0);
V7:=TROUGHBARS(3,15,1)<10; V9:=IF(V7=1,50,0);
G:=MA(B,2);
W:=CROSS(G,B)*10;
DRAWTEXT(D=10,-10,'↑'),colorred,LINETHICK1;
BB:=MA(AA,3);
DD:=REF(100-(100/(1+CC)),1);
a2:=LLV(AA,30);
a4:=EMA((AA-a2)/a3,1)*100;
b2:=LLV(AA,90);
b4:=EMA((AA-b2)/b3,1)*100;
C2:=LLV(AA,240);
C4:=EMA((AA-C2)/C3,1)*100;
 


未来函数检测结果如下:
该公式包含未来函数:TROUGH
该公式包含未来函数:TROUGHBARS
该公式包含未来函数:WINNER
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图