资金监测,抓板资金监控指标(通达信公式 副图 源码 测试图)

[复制链接]
查看56 | 回复0 | 2022-6-27 16:23:18 | 显示全部楼层 |阅读模式

 资金监测8

DRAWGBK(C>0,RGB(0,0,0),RGB(66,66,66),0,' ',0);
{六脉神剑}
DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);
DEA:=EMA(DIFF,5);
A1:=DIFF>DEA;
RSV1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
K:=SMA(RSV1,3,1);
D:=SMA(K,3,1);
A2:=K>D;
 
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
A3:=RSI1>RSI2;
 
RSV:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
A4:=LWR1>LWR2;
 
BBI:=(MA(CLOSE,3)+MA(CLOSE,5)+MA(CLOSE,8)+MA(CLOSE,13))/4;
A5:=CLOSE>BBI;
 
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
A6:=MMS>MMM;
 
{(A1 AND A2 AND A3 AND A4 AND A5 AND A6),COLORFFFF00;}
 
海豚共振选股:=A1 AND A2 AND A3 AND A4 AND A5 AND A6=1
AND REF(A1 AND A2 AND A3 AND A4 AND A5 AND A6,1)=0,NODRAW;
 
上涨安全区:=(A1 AND A2 AND A3 AND A4 AND A5 AND A6) OR 海豚共振选股,NODRAW;
DRAWICON(上涨安全区=1,0,26);
 
{抓板资金监控}
VAR1:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
VAR2:=REF(EMA(VAR1,3),1);
VAR3:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
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));
VAR5:=VOL/CAPITAL;
VAR6:=IF(VAR5>10,10,VAR5);
VAR7:=VAR4/20/1.15;
VAR8:=VAR7*0.55+REF(VAR7,1)*0.33+REF(VAR7,2)*0.22;
VAR9:=EMA(VAR8,8);
VAR10:=EMA(VAR8,3);
STICKLINE(VAR7*0.4>=0,(VAR7*0.4+VAR10),0,3,0),COLORYELLOW;
STICKLINE(VAR7*0.4<0,(VAR7*0.4+VAR10),0,3,0),COLORCYAN;
VAR11:=IF(VAR7*0.4+VAR10>0,VAR7*0.4+VAR10,DRAWNULL);
VAR12:=IF(VAR7*0.4+VAR10<0,VAR7*0.4+VAR10,DRAWNULL);
VAR13:=VAR7*0.4+VAR10;
VAR14:=AMOUNT/10000;
资金净进出:IF(VAR7*0.4+VAR10>0,VAR11,VAR12),POINTDOT,COLORWHITE;
进出比例%:IF(VAR7*0.4+VAR10>0,VAR11/VAR14*100,VAR12/VAR14*100),COLORYELLOW;
VAR15:=VAR10;{分析家公式网}
STICKLINE(VAR15>0,VAR15,0,1.68,0),COLORRED;
STICKLINE(VAR15>0 && VAR15<REF(VAR15,1),VAR15,0,1.68,0),COLOR000080;
STICKLINE(VAR15<0,VAR15,0,1.68,0),COLORFF3300;
VAR16:=REF(VAR12,1)<0 AND VAR11>30 AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND CLOSE>MA(CLOSE,3);
VAR17:=(3*CLOSE+2*LOW+OPEN+HIGH)/7;
VAR18:=(20*VAR17+19*REF(VAR17,1)+18*REF(VAR17,2)+17*REF(VAR17,3)+16*REF(VAR17,4)+15*REF(VAR17,5)+14*REF(VAR17,6)+13*REF(VAR17,7)+12*REF(VAR17,8)+11*REF(VAR17,9)+10*REF(VAR17,10)+9*REF(VAR17,11)+8*REF(VAR17,12)+7*REF(VAR17,13)+6*REF(VAR17,14)+5*REF(VAR17,15)+4*REF(VAR17,16)+3*REF(VAR17,17)+2*REF(VAR17,18)+REF(VAR17,20))/210;
VAR19:=VAR11>300 AND CROSS(CLOSE,VAR18);
{DRAWTEXT(VAR16,(-30),13),COLORMAGENTA;
DRAWTEXT(VAR19,VAR7*0.4*1.5*1.4,13),COLORRED;}
翻黄:IF(BARSLASTCOUNT(VAR15>0&&VAR7*0.4>=0)=1,HHV(MAX(VAR15,VAR7*0.4),200)*2/3,0),LINETHICK2,COLORYELLOW;
共振买:IF(BARSLASTCOUNT(VAR15>0&&VAR7*0.4>=0&&上涨安全区=1)=1,HHV(MAX(VAR15,VAR7*0.4),200)*3/3,0),LINETHICK3,COLORMAGENTA;
 
{DRAWICON((PERIOD=3 OR PERIOD=4 OR PERIOD=5 OR PERIOD=6) AND REF(VAR15,2)>REF(VAR15,1) AND VAR15>REF(VAR15,1),VAR15,1);
DRAWICON((PERIOD=3 OR PERIOD=4 OR PERIOD=5 OR PERIOD=6) AND REF(VAR15,2)<REF(VAR15,1) AND VAR15<REF(VAR15,1),VAR15,2);
DRAWICON((PERIOD=3 OR PERIOD=4 OR PERIOD=5 OR PERIOD=6) AND REF(VAR7*0.4+VAR10,2)>REF(VAR7*0.4+VAR10,1) AND VAR7*0.4+VAR10>REF(VAR7*0.4+VAR10,1),VAR7*0.4+VAR10,1);
DRAWICON((PERIOD=3 OR PERIOD=4 OR PERIOD=5 OR PERIOD=6) AND REF(VAR7*0.4+VAR10,2)<REF(VAR7*0.4+VAR10,1) AND VAR7*0.4+VAR10<REF(VAR7*0.4+VAR10,1),VAR7*0.4+VAR10,2);};
 

20211120846011462.rar

4.34 KB, 下载次数: 0

售价: 3 金钱  [记录]  [购买]

20211120846011462.rar

回复

使用道具 举报

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

本版积分规则