核心优化主图指标源码_主图指标公式源码

hacker|
147

文章目录:

知道通达信指标源码,怎样编出这个的选股公式?如能把主图公式指标也给改一下让它显示的更直观更好。

选股公式:

JJ1:=MA(C,30);

JJ2:=MA(C,60);

入1:=IF(JJ1REF(JJ1,1),JJ1,DRAWNULL),COLORRED,LINETHICK2;

入2:=IF(JJ1REF(JJ1,1),JJ1,DRAWNULL),COLOR00FF00,LINETHICK2;

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

QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);

QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));

QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));

QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));

QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));

DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;

V2:=SMA(IF(C=REF(C,1),DDX,-DDX/100),2,1);

V5:=SMA(V2*120/FROMOPEN*5,2,1);

V10:=SMA(V5,5,1);

V20:=SMA(V10,5,1);

DY:=CURRBARSCOUNT=1 AND CREF(C,1);

DY2:=REF(V2,1)-DY;

TT:=(V2*1.01-REF(V2,1));

TT2:=(REF(V2*1.01,1)-REF(V2,2));

YY:=TT3*ABS(TT2);

TT1:=EMA(V2,15);

A:TT0 AND CROSS(TT,TT1) AND YY;

主图公式修改如下:

DRAWKLINE(H,O,L,C);

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

QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);

QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));

QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));

QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));

QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));

DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;

V2:=SMA(IF(C=REF(C,1),DDX,-DDX/100),2,1);

V5:=SMA(V2*120/FROMOPEN*5,2,1);

V10:=SMA(V5,5,1);

V20:=SMA(V10,5,1);

DY:=CURRBARSCOUNT=1 AND CREF(C,1);

DY2:=REF(V2,1)-DY;

TT:=(V2*1.01-REF(V2,1));

TT2:=(REF(V2*1.01,1)-REF(V2,2));

YY:=TT3*ABS(TT2);

TT1:=EMA(V2,15);

DRAWTEXT(TT0 AND CROSS(TT,TT1) AND YY,LOW,'━买入'),COLORYELLOW;

A111:=COST(85);

A222:=COST(15);

A333:=A111-A222;

A444:=(A111+A222)/2;

单峰密集:=A333/A444*10030,LINETHICK0;

BU1:=HHV(HIGH,250);

BU2:=LLV(LOW,250);

BU3:=BU1-BU2;

BU4:=(A444-BU2);

低位:=A444(BU3*04+BU2),LINETHICK0;

低位单峰密集:=单峰密集 AND 低位;

BU5:=C/REF(C,1)1.04; {AND V/REF(V,1)2;{ AND H=C;}

主力持仓%:=EMA(100*(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30)),3);

主力持仓:=主力持仓%=75 {AND 主力持仓%=91} AND C0 AND CLOSEOPEN;

强突:=主力持仓 AND 低位单峰密集 AND BU4 AND WINNER(C)=0.90 AND BU5;

集买:=低位单峰密集 AND TT0 AND CROSS(TT,TT1) AND YY AND WINNER(C)=0.90;

DRAWICON(集买,HIGH,6);

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

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

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

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

求这幅图指标的源码

指标:庄家抬轿,公式源码如下(通达信里面有):

VAR1:=EMA(EMA(CLOSE,9),9);

控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;

STICKLINE(控盘0,控盘,0,1,0),COLORWHITE;

A10:=CROSS(控盘,0);

无庄控盘:IF(控盘0,控盘,0),COLORWHITE,NODRAW;

开始控盘:IF(A10,5,0),LINETHICK1,COLORYELLOW;

STICKLINE(控盘REF(控盘,1) AND 控盘0,控盘,0,1,0),COLORRED;

有庄控盘:IF(控盘REF(控盘,1) AND 控盘0,控盘,0),COLORRED,NODRAW;

VAR2:=100*WINNER(CLOSE*0.95);

STICKLINE(VAR250 AND COST(85)CLOSE AND 控盘0,控盘,0,1,0),COLORFF00FF;

高度控盘:IF(VAR250 AND COST(85)CLOSE AND 控盘0,控盘,0),COLORFF00FF,NODRAW;

STICKLINE(控盘REF(控盘,1) AND 控盘0,控盘,0,1,0),COLOR00FF00;

主力出货:IF(控盘REF(控盘,1) AND 控盘0,控盘,0),COLOR00FF00,NODRAW;

请帮我找这张主图的指标源码,通达信用的

你这个图是飞狐的,主图指标就是MA,通达信不缺MA呀

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

是想要那红绿箭头的。 实验过了也不是RSI。

你看我的图对比一下,看那红绿箭头与你的图的差别在哪?

ENTERLONG:TROUGH(3,13,1)=C ; {多头买入}

EXITLONG:PEAK(3,13,1)=C ; {多头卖出};

4条大神的评论

  • avatar
    访客 2022-07-02 下午 02:08:20

    文章目录:1、知道通达信指标源码,怎样编出这个的选股公式?如能把主图公式指标也给改一下让它显示的更直观更好。2、主图指标公式源码如何添加3、通达信主图指标源码,求老师看有没有未来,并帮改成选股和预警公式,谢谢4、求这幅图指标的源码5、请帮我找这张主图的指标源码,

  • avatar
    访客 2022-07-02 上午 11:33:23

    );DY2:=REF(V2,1)-DY;TT:=(V2*1.01-REF(V2,1));TT2:=(REF(V2*1.01,1)-REF(V2,2));YY:=TT3*ABS(TT2);TT1:=EMA(V2,15);DRAWTEXT(TT0

  • avatar
    访客 2022-07-02 上午 11:11:03

    ,COLOR00FF00;主力出货:IF(控盘REF(控盘,1) AND 控盘0,控盘,0),COLOR00FF00,NODRAW;请帮我找这张主图的指标源码,通达信用的你这个图是飞狐的,主图指标就是MA,通达信不缺

  • avatar
    访客 2022-07-02 上午 06:26:20

    TT0 AND CROSS(TT,TT1) AND YY AND WINNER(C)=0.90;DRAWICON(集买,HIGH,6);主图指标公式源码如何添加通达信,大智慧可以直接选择主图指标,同花顺不可以,但是可以修改系统默认的主图指标达到添加主图指标的目的通达信主图指标源码,求老师看

发表评论