您现在的位置是:首页 > 贵金属理财

贵金属理财

通达信波峰波谷主图指标源码 通达信软件的主图和两个副图的指标源码改为条件选股公式

2023-08-11 15:34:46 fx358财富网
fx358小编为您提供关于通达信软件的主图和两个副图的指标源码改为条件选股公式,通达信主图指标源码求老师看有没有未来并帮改成选股和预警公式谢谢,请老师帮忙编写下图主图指标公式,用在通达信版,通达信软件怎么编写一个波段的顶及高点一个波段的底及低点相关的内容,由fx358网为您收集整理请点击查看详情

A. 怎么看通达信双龙会主图指标(源码)

看通达信双龙会主图指标(源码)的方法:

打开通达信软件,然后有主图跟副图,副图上有很多指标,选择好你平时常用的指标,然后再指标上比如rsi,或者kdi等等,在它们的上面点击右键,就可以看到指标设置,指标源码,你点击指标源码确认,就可以看到所有的源代码啦!

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

(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));

C. 通达信主波启动公式

波峰波谷之加号选股指标公式

拉升力:=(CLOSE-LLV(LOW,28))/(HHV(HIGH,30)-LLV(LOW,36))*0.6*CLOSE;

拉升力A:=SMA(拉升力,6.3,1);

波峰波谷:SMA(拉升力A,3,1),COLORFF00FF;

拉升力B:=3*拉升力A-2.1*波峰波谷;

空方:=3*波峰波谷-1*拉升力A;做空:IF(空方>拉升力B,拉升力B,空方),LINETHICK2,COLOR00FF00;

做空周期:HHV(做空,21),COLORBLUE,LINETHICK2;

多头:IF(做空>=REF(做空,1),做空,DRAWNULL),COLORRED,LINETHICK3;DRAWICON(做空>=REF(做空,1)ANDREF(做空,1)

中线:(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,COLORYELLOW;

红柱:SMA(短线,3,1),LINETHICK0,COLOR0000FF;

蓝柱:SMA(中线,3,1),COLORSTICK,COLORFFFF00;

{红柱}STICKLINE(红柱0,0,红柱,2,0),COLOR888800;STICKLINE(红柱0,0,红柱,1.5,0),COLORAAAA00;STICKLINE(红柱0,0,红柱,0.8,0),COLORDDDD00;STICKLINE(红柱0,0,红柱,0.3,0),COLORFFFF00;STICKLINE(红柱>REF(红柱,1)AND红柱>0,0,红柱,2,0),COLOR000088;STICKLINE(红柱>REF(红柱

D. 谁能帮我编辑下一个条件选股指标 能选出出现全仓买进信号的,下面是源码 谢谢了

VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;

VAR400:=EMA(VAR300,5);

操盘:=3*VAR300-2*VAR400;

全仓专属:CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;

E. 请帮我找这个图的指标 源码,通达信软件使用的,谢谢

MA1:MA(C,5),COLORRED,LINETHICK2;

MA2:MA(C,10),COLORYELLOW,LINETHICK2;

MA3:MA(C,30),COLOR9933CC,LINETHICK2;

MA4:MA(C,60),COLORGREEN,LINETHICK1;

K1:=BACKSET(MA1<REF(MA1,1),2);

MA5:IF(K1,MA1,DRAWNULL),COLOR00CC33,LINETHICK2;

K2:=BACKSET(MA2<REF(MA2,1),2);

MA10:IF(K2,MA2,DRAWNULL),COLORFFCC66,LINETHICK2;

K3:=BACKSET(MA3<REF(MA3,1),2);

MA30:IF(K3,MA3,DRAWNULL),COLORBLUE,LINETHICK2;

Y:=(MA(C,5)-MA(C,30))/MA(C,5)*100;

YY1:=C>MA(C,5) AND OPEN<MA(C,5);

YY3:=C>MA(C,10) AND OPEN<MA(C,10);

YY5:=C>MA(C,30) AND OPEN<MA(C,30);

DRAWTEXT(YY1 AND YY5 AND YY3,LOW-0.1,'蛟龙出海'),COLORRED;

--------------------------------------------------------

指标的名字就叫【蛟龙出海】

会新建吧?不会懂可以单线联系我~~~~

F. 通达信软件怎么编写一个波段的顶及高点,一个波段的底及低点

{波峰抄波谷}

TY:=C;

Q1:=REF(TY,10)=HHV(TY,2*10+1); W1:=FILTER(Q1,10); P1:=BACKSET(W1,10+1); HD:=FILTER(P1,10);

Q2:=REF(TY,10)=LLV(TY,2*10+1); W2:=FILTER(Q2,10); P2:=BACKSET(W2,10+1); LD:=FILTER(P2,10);

M:=REF(C,BARSLAST(HD));

N:=REF(C,BARSLAST(LD));

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

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

波峰袭:IF(T1,M,M),COLORRED,POINTDOT;

STICKLINE(T1,M,M,9,0),COLORRED;

波谷:IF(T2,N,N),COLORGREEN,POINTDOT;

STICKLINE(T2,N,N,9,0),COLOR80FF00;

{波峰波谷--主图公式}

G. 通达信软件的主图和两个副图的指标源码改为条件选股公式

第一个

JJ:=(CLOSE+HIGH+LOW)/3;

A:=EMA(JJ,5);

B:=REF(A,1);

XG:A>B&&REF(A,1)<REF(B,1);

第二个回

RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;

VAR4:=SMA(RV,3,1);

VAR5:=SMA(VAR4,3,1);

XG:CROSS(VAR4,VAR5) AND VAR5<30;第三答个

N:=21; M:=5;

TH:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),N);

TL:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),N);

TQ:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),N);

VAR0:=100*(TH*2+TQ)/(TL*2+TQ);

VAR1:=MA(VAR0,M);

W:=CROSS(VAR0,VAR1);

WL1:=VAR1<100;

WLT1:=W AND WL1;

TJ1:FILTER(WLT1,5);

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

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

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(MC1>MAX(MC2,MA4),MC1,IF(MC1<MIN(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(TIME<1160101,1,0);

VARA:=MA(CLOSE,20);

趋势线:IF(VARA>REF(VARA,2),VARA,IF(VARA<REF(VARA,2),VARA,VARA)),COLOR00FF00;

IF(VARA>REF(VARA,2),VARA,DRAWNULL),LINETHICK2,COLORFF00FF;

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

IF(VARA<REF(VARA,2),VARA,DRAWNULL),LINETHICK2,COLOR00FF00;

买入:IF(VARA>REF(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:=MA1>REF(MA1,1) AND REF(MA1,1)<REF(MA1,2) AND C>MA(C,7);

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

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

VAR2:=SUM(IF(CLOSE>OPEN,VOL,0),30)/SUM(VOL,30)*100;

VAR3:=100-SUM(IF(CLOSE>OPEN,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

MA1<REF(MA1,1) AND REF(MA1,1)>REF(MA1,2) AND REF(MA1,2)>REF(MA1,3) AND K>50;

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:=L>HH1;

XQK:=H<LL1;

上跳: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(L>REF(H,1));

K2:=L<REF(H,K1+1) AND COUNT(L<REF(H,K1+1),K1)=1;

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

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