抓板的分时主图指标

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

抓板的分时主图指标

BU:=BARSLAST(CLOSE=HHV(CLOSE,2000));
 SE:=BARSLAST(CLOSE=LLV(CLOSE,2000));
 KK1:=SE;
 KK2:=BU;
 DRAWICON(CROSS(KK1,KK2),OPEN*1,1);
 DRAWTEXT(CROSS(KK1,KK2),OPEN*0.99,'抓'),colorFF00;

 T:=OPENMINUTES(TIME);
总量:=SUM(VOL,T);
总额:=SUM(AMOUNT,T);
均价:=总额/(总量*100);
次数:=COUNT(CLOSE>均价,T);
占比:=次数/T*100;
分时强势:DRAWICON(CROSS(CLOSE,均价) AND CLOSE>均价 AND 占比>80 AND T>5,CLOSE*0.99,4);
 DRAWTEXT(CROSS(CLOSE,均价) and CROSS(KK1,KK2) and CROSS(CLOSE,COST(80)),CLOSE*0.995,'绝 杀'),COLORRED;
 #MAINCHART
 VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
 VAR2:=HIGH-REF(HIGH,1);
 VAR3:=REF(LOW,1)-LOW;
 VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);
 VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);
 VAR6:=VAR4*100/VAR1;
 VAR7:=VAR5*100/VAR1;
 VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,115);
 VAR9:=(VAR8+REF(VAR8,15))/2;
 A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25);
 B:=ZIG(3,7.5/5),COLOR00FF00;
 G:=MA(B,2),COLORYELLOW;
 D:=CROSS(B,G),COLORRED;
 W:=CROSS(G,B),COLOR00FF00;
 E:=REF(INDEXC,1);
 F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1);
 VAR10:=F AND F<8;
 VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
 VAR12:=SMA(VAR11,3,1);
 VAR13:=SMA(VAR12,3,1);
 VAR14:=VAR13 AND VAR13<20;
 MM:=A AND D AND VAR10 AND VAR14 ;
 DRAWTEXT(W,HIGH*1.005,'卖' ),COLOR00FF00;

 DRAWTEXT(D,LOW*0.998,'买'),COLORWHITE;

 

1752177681.gif

1752177681.gif

回复

使用道具 举报

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

本版积分规则