beyond202104 发表于 2023-8-28 16:42:20

独醉分时指标 通达信 分时主图 买卖点 操盘控盘






公式源码:

A1:=(DVOL/C)/2,NODRAW;

A2:=SUM(IF(A1>100 AND CLOSE>REF(CLOSE,1),A1,0),0);

A3:=SUM(IF(A1>100 AND CLOSE<REF(CLOSE,1),A1,0),0);

A4:=SUM(IF(A1<100 AND CLOSE>REF(CLOSE,1),A1,0),0);

A5:=SUM(IF(A1<100 AND CLOSE<REF(CLOSE,1),A1,0),0);

A6:=A2+A3+A4+A5;

A7:=IF((BARSTATUS=2),((100*A2)/A6),0);

A8:=((IF((BARSTATUS=2),((100*A3)/A6),0)));

A9:=((IF((BARSTATUS=2),((100*A4)/A6),0)));

A10:=((IF((BARSTATUS=2),((100*A5)/A6),0)));

突破:=REF(EMA(C,14),1);

A1X:=(EMA(C,10)-突破)/突破*100;

多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL);

空方:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL);

最新:CLOSE,LINETHICK1,COLORWHITE;

AA:=SUM(AMOUNT,BARSCOUNT(C))/SUM(VOL*100,BARSCOUNT(C));

BB:=BETWEEN(C/AA,C+H,C-H);

均价:=SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK1;

H1:=MAX(DYNAINFO(3),DYNAINFO(5));

L1:=MIN(DYNAINFO(3),DYNAINFO(6));

P1:=H1-L1;

阻力:=L1+P1*7/8,COLORGREEN;

支撑:=L1+P1*0.5/8,COLORMAGENTA;

DRAWICON(LONGCROSS(支撑,现价,2),-88,1); DRAWICON(LONGCROSS(现价,阻力,2),95,2);

N:=1.5;买:=(AYGB2/AYGB6);卖:=(AYGB3/AYGB6); TT:=EXPMA(C,10)>EXPMA(C,60) AND EXPMA((DCLOSE/VBNH),120)>1.003 AND 趋势线>=90 AND V12 AND VLST4>=0; XG:=ABS((买-卖))/ABS((REF(买,1)-REF(卖,1)))>=N AND 买>卖 AND TT;

VARJ1:=EMA(EMA(CLOSE,13),13);控盘2:=(VARJ1-REF(VARJ1,1))/REF(VARJ1,1)*1000; STJ01:=控盘2<REF(控盘2,1) AND 控盘2>0.5; STJ02:=控盘2>0; BTJ2:=控盘2>REF(控盘2,1) AND 控盘2<-0.2; BTJ22:=控盘2>REF(控盘2,1) AND 控盘2<0 ; JJ:=DYNAINFO(11); P:=55;S:=8;M1:=3;能量:=(EMA(CLOSE,S)-EMA(C,P))*10;空头:=EMA(能量,M1),COLOR00FF00; BTJ1:=(CLOSE-JJ)/JJ<-0.005; BTJ11:=(CLOSE-JJ)/JJ<-0.03; BTJ12:=COUNT(JJ>=REF(JJ,1),5)>=4 AND (CLOSE-JJ)/JJ<0.005; STJ1:=(C-JJ)/JJ>0.005; BTJ3:=CROSS(能量,空头) AND 能量<-0.3; BTJ32:=CROSS(能量,空头) AND 能量<-0.1; STJ31:=CROSS(空头,能量);STJ32:=CROSS(空头,能量) AND 能量>1.618; A:=8; BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,A); BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,A); BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,A);时长:=IF(HOUR>=9 AND HOUR<14 ,1,0);{9点至 14点}捡钱:=BTJ811 AND TIME>15 AND 时长;STICKLINE(捡钱,-90,-30,1,0),COLORRED; DRAWTEXT(捡钱,-30,'关'),COLORLIMAGENTA;

主力差:=机买-机卖;LQH:=主力差>0 AND REF(主力差,1)<=0; STICKLINE(LQH,-30,30,2,0),COLORYELLOW; DRAWTEXT(LQH,-30,'入'),COLORYELLOW;

突破:=FILTER(横涨,100); STICKLINE(突破,30,90,4,0),COLORWHITE; DRAWTEXT(突破,30,'突'),COLORWHITE;


深海呼吸1 发表于 2023-9-13 08:52:05

帮帮顶顶!!

大爱黑觍翘 发表于 2023-10-8 11:52:54

顶贴光荣!

囚人出狱都 发表于 2024-1-29 13:56:39

不错不错,楼主您辛苦了。。。

后知后觉777 发表于 2024-3-31 15:00:15

沙发,多多点赞好好学习
页: [1]
查看完整版本: 独醉分时指标 通达信 分时主图 买卖点 操盘控盘