通达信没有未来函数指标公式 

    短线趋势:=(EMA(C,7)-EMA(C,13));

    中线趋势:=EMA(短线趋势,13);

    VAR4:=MA(C,7);

    VAR5:=MA(C,13);

    VAR6:=MA(C,34);

    VAR7:=MA(C,55);

    VAR10:=((0-((10*(HHV(C,5)-C))/(HHV(C,5)-LLV(L,5))))+10);

    VAR11:=((0-((10*(HHV(C,13)-C))/(HHV(C,13)-LLV(L,13))))+10);

    VAR12:=((0-((10*(HHV(C,21)-C))/(HHV(C,21)-LLV(L,21))))+10);

    VAR13:=((0-((10*(HHV(C,34)-C))/(HHV(C,34)-LLV(L,34))))+10);

    VAR14:=REF(中线趋势,1);

    VAR15:=中线趋势;

    VAR16:=(VAR15-VAR14);

    VAR17:=REF(短线趋势,1);

    VAR18:=短线趋势;

    VAR19:=(VAR18-VAR17);

    VARE:=(SUM(((C*VOL)*10),34)/SUM((VOL*200),34));

    VARF:=(INTPART((VARE*10))/10);

    欣喜:=MEMA(XMA((((C-O)*2)+O),30),13);

    若狂:=MEMA(MEMA((((C-O)*2)+O),5),13);

    TT:=欣喜-若狂>0;

    买入:O<=VAR4ANDO<=VAR5ANDO<=VAR6ANDC>=VAR4ANDC>=VARFAND

    VAR16>0ANDVAR19>0ANDTT;

image.png

通达信指标无未来函数

AB:=(SUM(CLOSE*AMOUNT,360)/SUM(AMOUNT,360));

A1:=(SUM(CLOSE*AMOUNT,300)/SUM(AMOUNT,300));

A2:=(SUM(CLOSE*AMOUNT,240)/SUM(AMOUNT,240));

A3:=(SUM(CLOSE*AMOUNT,180)/SUM(AMOUNT,180));

A4:=(SUM(CLOSE*AMOUNT,120)/SUM(AMOUNT,120));

A5:=(SUM(CLOSE*AMOUNT,90)/SUM(AMOUNT,90));

A6:=(SUM(CLOSE*AMOUNT,60)/SUM(AMOUNT,60));

A7:=(SUM(CLOSE*AMOUNT,30)/SUM(AMOUNT,30));

B1:=(A1+A2+A3)/3;

B2:=(A3+A4+A5)/3;

B3:=(A6+A7+A5)/3;

B4:=(AB+A1)/2,LINETHICK2;

XG:=B4-B1;

XG1:=B4-B3;

XG2:=B4-B2;

买:=XG<0.25;

买 1:=XG1<0.25;

买 2:=XG2<0.25;

买 3:H>B4 AND L<B4;

买吧:H>B1 AND L<B1 AND H>B2 AND L<B2 AND H>B3 AND L<B3;

大胆买:买=1 AND 买 1=1 AND 买 2=1;

TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,

IF(PERIOD=5,240,1)))));

MTIME:=MOD(FROMOPEN,TOTAL);

CTIME:=IF(MTIME<0.5,TOTAL,MTIME);

VVOL:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW;

CJL:VOL,VOLSTICK;

MAVOL8:MA(CJL,8);

MAVOL90:MA(CJL,90);

SL:REF(CJL,1)/CJL>2;

SL1:REF(CJL,2)/CJL>2;

STICKLINE(SL=1 OR SL1=1,0,CJL,3.05,0),COLORBLUE;

BL:CJL/REF(CJL,1)>3;

STICKLINE(BL=1,0,CJL,3.05,0),COLORRED;

image.png

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。