通达信公式给大家分享两个利用分时图当天抓涨停板的公式【很准】

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

通达信公式给大家分享两个利用分时图当天抓涨停板的公

式【很准】

LTA:=FINANCE(7)+300000000;

GB:=2*IF(FINANCE(7)

C1:=CLOSE;

V1:=TIME;

A1:=COUNT(BARSCOUNT(C)=1 AND TIME

T:=IF(V1

(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1 /10000))),NODRAW;

成交额:AMOUNT,NODRAW;

大额线:=50*3+300*GB,COLOR00FFFF;

VV2:=SUM(AMOUNT,T),NODRAW;

初正1:=IF(T=1 AND DYNAINFO(4)>=DYNAINFO(3),VV2,0); 初负1:=IF(T=1 AND DYNAINFO(4)

初正2:=CONST(SUM(IF(T=1,初正1,0),T)),NODRAW;

初负2:=CONST(SUM(IF(T=1,初负1,0),T)),NODRAW;

初正:=CONST(SUM(IF(初正1>大额线 AND T=1,初正

1,0),T)),NODRAW;

初负:=CONST(SUM(IF(初负1>大额线 AND T=1,初负

1,0),T)),NODRAW;

T00:=IF(C1>REF(C1,1),0.9,-0.9);

T01:=IF(C1

T02:=T00+T01;

TT1:=BARSLAST(CROSS(T02,0));

TT2:=BARSLAST(CROSS(0,T02));

TT:=IF(T02=1.8,1,IF(T02=-1.8,-1,0));

正V1:=IF(TT=1 OR (TT=0 AND TT1>TT2),成交额,0); 负V1:=IF(TT=-1 OR (TT=0 AND TT1

正总1:=初正1+SUM(正V1,T),NODRAW,COLOR0000FF; 负总1:=初负1+SUM(负V1,T),NODRAW,COLOR00FF00; 总:=(正总1+负总1)+初正2+初负2,NODRAW;

正V:=IF(正V1>大额线,正V1,0);

负V:=IF(负V1>大额线,负V1,0);

正总:初正+SUM(正V,T),NODRAW,COLOR0000FF;

负总:初负+SUM(负V,T),NODRAW,COLOR00FF00; 差%:(正总-负总)/总*100,COLOR00FF00,NODRAW; TTA:=INTPART(2*T/5);

KP30:=T

KPGD:=H=HHV(H,0) AND KP30;

GDSJ:=BARSLAST(KPGD);

{强弱界}

MMA30:=EMA(CLOSE,30);

强弱界定:=EMA(CLOSE,900);

DRAWBAND(MMA30,RGB(100,0,0),强弱界定,RGB(0,255,0)); DRAWICON(CROSS(MMA30,强弱界定),H,1);

CC:=CLOSE,COLORWHITE,LINETHICK2;

VAR7:=SMA(CC,6.18,1);

VAR8:=SMA(VAR7,3.14,1);

RCC:=DYNAINFO(3);

S2:=SMA(C,3,1);

S6:=SMA(C,5,1);

DK:=4*(S2-S6);

KK:=1;

{暗轨}

{AA1:=PLOYLINE(CLOSE5,COST(20));

BB1:=PLOYLINE(CLOSE5,COST(80));

DRAWBAND(BB1,RGB(50,50,50),AA1,DRAWNULL);

{CYC}

VAR1:=AMOUNT/VOL/100;

VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;

VAR3:=SUM(AMOUNT,5)/VAR1/100;

VAR4:=SUM(AMOUNT,13)/VAR1/100;

VAR5:=SUM(AMOUNT,34)/VAR1/100;

CYC5:=DMA(VAR2,VOL/VAR3);

CYC13:=DMA(VAR2,VOL/VAR4);

CYC34:=DMA(VAR2,VOL/VAR5);

DRAWBAND(CYC5,RGB(00,50,50),CYC13,DRAWNULL); DRAWBAND(CYC13,RGB(00,150,150),CYC34,DRAWNULL); {分时MACD}

昨收:=DYNAINFO(3);

HH:=DYNAINFO(5);

LL:=DYNAINFO(6);

FK:=MAX(HH-昨收,昨收-LL)*0.1;

ZS:=昨收-FK*3.2;

Q1:=昨收-FK*3.22;

Q2:=昨收-2*FK*3.22;

Q3:=昨收-3*FK*3.2;

MA5:=MA(CLOSE,5);

MA10:=MA(CLOSE,10);

MA20:=MA(CLOSE,20);

MA30:=MA(CLOSE,30);

DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));

DEA:=(EMA(DIF,6));

MACD:=5*(DIF-DEA);

STICKLINE(MACD>=0 AND

MACD>=REF(MACD,1),RCC*KK,MACD*4+RCC*KK,3,0),COLORFF

相关文档
最新文档