强势追涨主图指标源码_主力主图指标源码

hacker|
89

文章目录:

请帮我找一种通达信的K线解盘 源码是可以加在任何其他主图指标后面联合使用的?

完整的K线解盘源码太大,你加不进去其他主图里面,只能够作为一个主图单独使用!这个是跟通达信的指标缺陷,容量太小!

找龙回头主图源码公式

公式指标来源于网络.不知道是不是你要的.

{龙回头--主图指标}

MA1:MA(CLOSE,5);

MA2:MA(CLOSE,10);

MA3:MA(CLOSE,20);

MA4:MA(CLOSE,30);

MA5:MA(CLOSE,60);

强势线:MA(C,25)+MA(C,25)*20/100,LINETHICK2,COLORRED;

DM1:=C/REF(C,1)1.09 AND C=O;

DM2:=REF(C,4)REF(O,4) AND REF(C,4)/REF(C,5)0.96 AND REF(C,2)/REF(C,3)1.02 AND REF(C,1)/REF(C,2)1.02;

DM3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))1.036 AND MAX(REF(C,2),REF(O,2))/MIN(REF(C,2),REF(O,2))1.036

AND MAX(REF(C,3),REF(O,3))/MIN(REF(C,3),REF(O,3))1.036;

DXGM:=COUNT(REF(DM1,1),10) AND DM2 AND DM3;

AM1:=C/REF(C,1)1.09 AND C=O;

AM2:=REF(C,3)REF(O,3) AND REF(C,3)/REF(C,4)0.96 AND REF(C,2)/REF(C,3)1.02 AND REF(C,1)/REF(C,2)1.02;

AM3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))1.036 AND MAX(REF(C,2),REF(O,2))/MIN(REF(C,2),REF(O,2))1.036;

AXGM:=COUNT(REF(AM1,1),10) AND AM2 AND AM3;

BM1:=C/REF(C,1)1.09 AND C=O;

BM2:=REF(C,2)REF(O,2) AND REF(C,2)/REF(C,3)0.96;

BM3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))1.05;

BXGM:=COUNT(REF(BM1,1),10) AND BM2 AND BM3;

CM1:=C/REF(C,1)1.09 AND C=O;

CM2:=REF(C,1)REF(O,1) AND REF(C,1)/REF(C,2)0.96;

CXGM:=COUNT(REF(CM1,1),10) AND CM2;

SGX:=MA(C,25)+MA(C,25)*20/100;

GYTJ1:=(BETWEEN(O/MA(C,10),1.02,0.99) OR BETWEEN(L/MA(C,10),1.04,0.99) OR (BETWEEN(L/SGX,1.01,0.995) AND SGX/MA(C,10)1.08))AND CMA(C,10)

AND BETWEEN(C/REF(C,1),1.05,0.97) AND MA(C,5)MA(C,10) AND MA(C,5)/MA(C,10)1.01 AND H/MAX(C,O)1.04

AND CMA(C,120)AND MA(C,20)MA(C,60) AND MA(C,20)MA(C,120) AND REF(L,1)/REF(MA(C,10),1)0.998;

GYTJ2:=REF(C,1)REF(MA(C,5),1) AND OMA(C,5) AND MA(C,10)MA(C,20) AND MA(C,20)MA(C,30);

ABXG:=(DXGM OR AXGM OR BXGM OR CXGM) AND GYTJ1 AND GYTJ2;

DRAWICON(ABXG,L*0.98,11);

DRAWTEXT(ABXG,L*0.94,'龙回头'),COLORWHITE;

SCMXG:=COUNT(ABXG,5) AND CROSS(MA(C,10),MA(C,5));

DRAWICON(SCMXG,L*0.98,9);

DRAWTEXT(SCMXG,L*0.94,'二次尾买'),COLORYELLOW;

主图指标公式源码如何添加

通达信,大智慧可以直接选择主图指标,同花顺不可以,但是可以修改系统默认的主图指标达到添加主图指标的目的

这是个主图指标,请高手给我做个预警公式,当出现"加仓"时出预警,谢谢

AA05:=MA(C,5);

五日乖离率:=(C-AA05)/AA05*100;

BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;

速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);

加速度5:=EMA((速度5-REF(速度5,1)),3);AA10:=MA(C,10);

AA20:=MA(C,20);BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;AA30:=MA(C,30);

三拾日乖离率:=(C-AA30)/AA30*100;VAR1:=(AA20-AA30)REF((AA20-AA30),1) AND AA20REF(AA20,1) AND AA30REF(AA30,1);

加仓:FILTER(COUNT(CROSS(BB05,30),5)=1 AND AA05REF(AA05,1)

AND 三拾日乖离率REF(三拾日乖离率,1)

AND AA10REF(AA10,1)

AND 加速度5REF(加速度5,1)

AND 速度5REF(速度5,1) ,10) ;

请老师帮忙编写下图主图指标公式,用在通达信版

通达信专用机构通道主图指标公式

M1:=EMA(C,5);M2:=EMA(C,13);M3:=EMA(C,34);

MC1:=EMA(C,55);MC2:=EMA(C,89);MA4:=EMA(C,144);

判势线:=NEWSAR(1,100),COLORYELLOW,LINETHICK2;

牛熊线:IF(MC1MAX(MC2,MA4),MC1,IF(MC1MIN(MC2,MA4),MC2,MA4)),COLORFF00CC,LINETHICK2;

AA:=1;

中轨:EMA(CLOSE,17)*AA,LINETHICK1,COLORFFFFFF;

卖出线:中轨+2*STD(CLOSE,17),LINETHICK1,COLOR0000FF;

买入线:中轨-2*STD(CLOSE,17),LINETHICK1,COLOR00CC00;

清仓线:中轨+3*STD(CLOSE,17),LINETHICK1,COLORFF00FF;

满仓线:中轨-3*STD(CLOSE,17),LINETHICK1,COLOR00AA00;

LOCK:=IF(TIME1160101,1,0);

VARA:=MA(CLOSE,20);

趋势线:IF(VARAREF(VARA,2),VARA,IF(VARAREF(VARA,2),VARA,VARA)),COLOR00FF00;

IF(VARAREF(VARA,2),VARA,DRAWNULL),LINETHICK2,COLORFF00FF;

IF(VARA=REF(VARA,2),VARA,DRAWNULL),LINETHICK2,COLORFF0000;

IF(VARAREF(VARA,2),VARA,DRAWNULL),LINETHICK2,COLOR00FF00;

买入:IF(VARAREF(VARA,2) AND REF(VARA=REF(VARA,2),1),1,0),NODRAW,COLORAAAAAA;

DRAWICON(CROSS(LOW,满仓线),满仓线*0.96,11);

DRAWICON(CROSS(HIGH,清仓线),HIGH,12);

TY:=CLOSE;

A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);

A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);

A:=REF(CLOSE,BARSLAST(HD)); B:=REF(CLOSE,BARSLAST(LD));

T1:=BARSLAST(HD)BARSLAST(LD) AND NOT(HD) ;

T2:=BARSLAST(HD)BARSLAST(LD) AND NOT(LD);

波峰:IF(T1,A,A),COLORFF00FF,POINTDOT;

STICKLINE(T1,A,A,1.5,0),COLORFF00FF;

波谷:IF(T2,B,B),COLOR80FF00,POINTDOT;

STICKLINE(T2,B,B,1.5,0),COLOR80FF00;

MA1:=MA(C,3);

XG1:=MA1REF(MA1,1) AND REF(MA1,1)REF(MA1,2) AND CMA(C,7);

DRAWTEXT(FILTER(XG1,9),LOW*0.97,'B'),COLORRED,LINETHICK2;

DRAWICON(FILTER(XG1,9),LOW*0.98,1);

VAR2:=SUM(IF(CLOSEOPEN,VOL,0),30)/SUM(VOL,30)*100;

VAR3:=100-SUM(IF(CLOSEOPEN,VOL,0),30)/SUM(VOL,30)*100;

多头力量:= VAR2;

空头力量:= VAR3;

RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

XG2:=多头力量 空头力量 AND 多头力量 - 空头力量30 AND CROSS(D,K) OR

MA1REF(MA1,1) AND REF(MA1,1)REF(MA1,2) AND REF(MA1,2)REF(MA1,3) AND K50;

DRAWTEXT(FILTER(XG2,9),H*1.06,'S'),COLORGREEN,LINETHICK2;

DRAWICON(FILTER(XG2,9),H*1.02,2);

{跳空缺口}

LL1:=REF(L,1);

HH1:=REF(H,1);

SQK:=LHH1;

XQK:=HLL1;

上跳:IF(SQK=1,L-HH1,DRAWNULL),COLORFF00FF,CROSSDOT,LINETHICK3,NODRAW;

下跳:IF(XQK=1,H-LL1,DRAWNULL),COLORGREEN,CROSSDOT,LINETHICK3,NODRAW;

STICKLINE(SQK,L,HH1,4*1,1),COLORYELLOW;{上跳}

STICKLINE(XQK,H,LL1,4*1,2),COLOR00FF00;{下跳}

DRAWTEXT(SQK,H,'上跳'),COLORYELLOW;

DRAWTEXT(XQK,L,'下跳'),COLOR00FF00;

{补缺口}

K1:=BARSLAST(LREF(H,1));

K2:=LREF(H,K1+1) AND COUNT(LREF(H,K1+1),K1)=1;

STICKLINE(K2,L,O,1,0),COLORFF00FF;{缺口回补};

DRAWTEXT(K2=1,L,'回补'),COLORFF00FF;

通达信主图指标源码,求老师看有没有未来,并帮改成选股和预警公式,谢谢

(1)无未来函数

(2)选股公式如下(买入):

VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));

VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));

VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));

DIR1:=ABS(CLOSE-REF(CLOSE,5));

VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);

ER1:=DIR1/VIR1;

CS1:=ER1*(0.8-2/8)+2/8;

CQ1:=CS1*CS1;

DIR2:=ABS(CLOSE-REF(CLOSE,10));

VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);

ER2:=DIR2/VIR2;

CS2:=ER2*(0.8-2/24)+2/24;

CQ2:=CS2*CS2;

CROSS(VAR2,MA(VAR3,6));

4条大神的评论

  • avatar
    访客 2022-07-08 上午 05:26:03

    C,13);M3:=EMA(C,34);MC1:=EMA(C,55);MC2:=EMA(C,89);MA4:=EMA(C,144);判势线:=NEWSAR(1,100),COLORYELLOW,LINETHICK2;牛熊线:IF(MC1MAX(

  • avatar
    访客 2022-07-08 上午 07:54:50

    REF(MA1,3) AND K50; DRAWTEXT(FILTER(XG2,9),H*1.06,'S'),COLORGREEN,LINETHICK2;DRAWI

  • avatar
    访客 2022-07-07 下午 10:51:09

    ND SGX/MA(C,10)1.08))AND CMA(C,10)AND BETWEEN(C/REF(C,1),1.05,0.97) AND MA(C,5)MA(C,10) AND MA(C,5)/MA(C,10)1.01 AND H/MAX(C,O)1.04AND CMA(C,120)AN

发表评论