在线检测未来函数

通达信主力游资能量指标公式

来源:Internet,编辑:股旁网,2023-12-05

{指标介绍:
当个股有可能从横盘转入拉升,其中资金会比游资量提示较早出现红色区域,让我们能够及时关注该股即将发生的异动,但不是马上介入,游资量数值超过或接近5时我们择机逢低进入。
黄为主力资金异动线,上穿底部区域回踩不破底部区虚线表示个股走强。
进入时机可参考下面的能量潮,能量潮为红柱且突破底部区域(也就是突破兰色下虚线)时为较好介入点,当红柱突破紫色上虚线且无限接近土黄色横线,股价有可能触顶回落,随时注意获利了结!}

A1:=0<=20231210;
DRAWBAND(3*(EMA(C,3)-EMA(C,8)-EMA(EMA(C,3)-EMA(C,8),20))*5+20*A1,RGB(250,80,80),20,RGB(0,180,180 ))*A1;
DRAWTEXT(ISLASTBAR,20.5,' 主力')*A1,COLORMAGENTA ;
A:=vol*CLOSE;
B:=SUM(A,1)/SUM(VOL,1)*A1;
B1:=EMA(B,8)*A1;
游资:((B-B1)*100/B)*A1,NODRAW,COLORRED;
DRAWBAND(游资+35,RGB(250,0,00),35,RGB(0,255,0))*A1;
DRAWTEXT(ISLASTBAR,35.5,' 游资')*A1,COLORRED;
主力资金:(3*(EMA(C,3)-EMA(C,8)-EMA(EMA(C,3)-EMA(C,8),20))*5)*A1,COLORYELLOW;
VAR2:=((CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*200*10)*A1;
能量: (SMA(VAR2,5,1)/100)*A1,COLORRED;
DRAWBAND(能量>REF(能量,1),RGB(250,0,120),0,RGB(0,180,180))*A1;
STICKLINE(能量>REF(能量,1),0,能量,2.5/3,0),COLOR7800FF;
STICKLINE(能量<REF(能量,1),0,能量,2.5/3,0),COLORFF7800;
危险区:18,COLOR208FFF;
次险区:15,COLORFF33FF,DOTLINE;
VAR3:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN))*A1;
VAR4:=(IF(CLOSE>OPEN,VAR3*(HIGH-LOW),IF(CLOSE<OPEN,VAR3*(HIGH-OPEN+CLOSE-LOW),VOL/2))/(IF(CLOSE>OPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-VAR3*(HIGH-LOW),0-VOL/2))*(-1))-IF(CLOSE>OPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-VAR3*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSE>OPEN,VAR3*(HIGH-LOW),IF(CLOSE<OPEN,VAR3*(HIGH-OPEN+CLOSE-LOW),VOL/2)));
VAR5:=AMOUNT/(100*VOL)*A1;
VAR6:=MA(VAR5,40)*A1;
VAR7:=100*(CLOSE-VAR6)/VAR6;
底部区: IF(VAR4>0 AND VAR7<-12 AND CLOSE/OPEN>1.07,300,200)/100,COLORFFFF00,DOTLINE;
DRAWTEXT(ISLASTBAR,1.5,' 能量'),COLOR7800FF ;
量堆:=COUNT(V>=REF(V,1)*2,BARSLAST(crOSS(C,MA(C,20))));
量堆1:=(IF(量堆=1,1000,0)/100)*A1,COLORYELLOW,LINETHICK3;
最高价:=HIGH*A1;
最低价:=LOW*A1;
比:=(H-L)/L*100;
低:=(C-L)/L*100;
图比:=低/比*100;
低开:(OPEN-REFV(C,1))/REFV(C,1)*100,COLORWHITE,NODRAW;

通达信主力游资能量指标公式

相关文章