通达信易操盘智能系统主副图指标 适合于股票期货外汇 源码 附图

{阿法狗智能K线源码如下}
AA:=EMA(C,5) > EMA(C,19);
BB:=EMA(C,5) < EMA(C,19);
CC:= EMA(C,5) > EMA(C,10);
CC1:=EMA(C,5) < EMA(C,10);
DD:=CLOSE<OPEN;
STICKLINE(AA AND C>=O,H,C,0,0),COLORRED;
STICKLINE(AA AND C>=O,O,L,0,0),COLORRED;
STICKLINE(AA AND C<O,H,L,0,0),COLORRED;
STICKLINE(AA,O,C,3,1),COLORRED;
STICKLINE(AA AND DD,O,C,3,0),COLORRED;
STICKLINE(BB AND C>=O,H,C,0,0),COLORGREEN;
STICKLINE(BB AND C>=O,O,L,0,0),COLORGREEN;
STICKLINE(BB AND C<O,H,L,0,0),COLORGREEN;
STICKLINE(BB,O,C,3,1),COLORGREEN;
STICKLINE(BB AND DD,O,C,3,0),COLORGREEN;
STICKLINE(BB AND CC AND C>=O,H,C,0,1),COLORWHITE;
STICKLINE(BB AND CC AND C>=O,O,L,0,1),COLORWHITE;
STICKLINE(BB AND CC AND C<O,H,L,0,1),COLORWHITE;
STICKLINE(BB AND CC,O,C,3,1),COLORWHITE;
STICKLINE(BB AND CC AND DD,O,C,3,0),COLORWHITE;
STICKLINE(AA AND CC1 AND C>=O,H,C,0,0),COLORWHITE;
STICKLINE(AA AND CC1 AND C>=O,O,L,0,0),COLORWHITE;
STICKLINE(AA AND CC1 AND C<O,H,L,0,0),COLORWHITE;
STICKLINE(AA AND CC1,O,C,3,1),COLORWHITE;
STICKLINE(AA AND CC1 AND DD,O,C,3,0),COLORWHITE;
E:EMA(EMA(C,10),10),COLORRED,LINETHICK2;
IF(REF(E,1)>E,E,DRAWNULL),COLORBLUE,LINETHICK2;


{趋势追踪源码如下}


RVAR6:=(2*CLOSE+HIGH+LOW)/4;
AA:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100;
AA1:=SMA(AA,5,1);
AA2:=SMA(AA1,3,1);
RSV:=3*AA1-2*AA2;
K:=SMA(RSV,7,1);
D:SMA(K,4,1),COLORYELLOW,LINETHICK2;
IF(D<REF(D,1),D,DRAWNULL),COLORBLUE,LINETHICK3;

STICKLINE(K>D,D,K,2,0),COLOR0000FF;
X:=EMA(C,13);
AX:=EMA(C,55);
STICKLINE(X>AX,2,7,2,0),COLOR0000FF;
STICKLINE(X<AX,2,7,2,0),COLOR00FF00;
X1:=EMA(C,10);
AX1:=EMA(C,20);
STICKLINE(X1>AX1,98,93,2,0),COLOR0000FF;
STICKLINE(X1<AX1,98,93,2,0),COLOR00FF00;
短线顶部指示灯:90,COLOR00FF00,LINETHICK2;
长线底部指示灯:10,COLOR0000FF,LINETHICK2;


{精准止盈源码如下}
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
3.2,COLORYELLOW;
3.5,COLORBLUE;
动力线:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,3);
STICKLINE(动力线>REF(动力线,1) ,动力线 ,REF(动力线,1),3,1),COLORRED;
STICKLINE(动力线<=REF(动力线,1) ,动力线 ,REF(动力线,1),3,1),COLOR00FF00;
0.2,COLORC6C600;
0.5,COLORFF75FF;
DRAWICON( FILTER(CROSS(动力线,0.5),10),动力线+0.02 ,9);{加仓}
DRAWICON( FILTER(CROSS(动力线,0.2),10),动力线+0.02 ,6);{低吸}
DRAWICON( FILTER(CROSS(3.5,动力线),10),动力线+0.08 ,15);{顶注意}
DRAWICON( FILTER(CROSS(动力线,动力线),10),动力线+0.02 ,5);
1.75,COLORRED;
QS:=MA(动力线,3);
IF(QS>REF(QS,1),QS,DRAWNULL),LINETHICK2,COLORRED;
IF(QS<REF(QS,1),QS,DRAWNULL),LINETHICK2,COLORGREEN;
IF((QS>REF(QS,1)) AND (REF(QS,1)<REF(QS,2)) AND (QS<1),0.3,0);
IF((QS<REF(QS,1)) AND (REF(QS,1)>REF(QS,2)) AND (QS>3),3.3,3.7);



{人工智能至尊源码如下}

N:=4;
N1:=10;
N2:=34;
VAR1:=EMA(EMA(EMA(CLOSE,N),N),3);
AA:=VAR1-REF(VAR1,1)+VAR1;
X:=EMA(C,3),COLOR0000FF,LINETHICK2;
AX:EMA(C,20),COLORFF00FF,LINETHICK2;
DRAWTEXT(CROSS(REF(VAR1,1),VAR1) AND X>AX,HHV(H,5),'多减');
DRAWTEXT(CROSS(VAR1,REF(VAR1,1)) AND X>AX,LLV(L,5),'多'),COLOR0000FF;
DRAWTEXT(CROSS(VAR1,REF(VAR1,1)) AND X<AX,LLV(L,5),'空减');
DRAWTEXT(CROSS(REF(VAR1,1),VAR1) AND X<AX,HHV(H,5),'空'),COLOR00FF00;
STICKLINE(X>AX AND C>O,O,C,3,1),COLOR0000FF;
STICKLINE(X>AX AND C<O,O,C,3,0),COLOR0000FF;
STICKLINE(X>AX AND C>O,H,C,0,0),COLOR0000FF;
STICKLINE(X>AX AND C>O,L,O,0,0),COLOR0000FF;
STICKLINE(X>AX AND C<=O,L,H,0,0),COLOR0000FF;
STICKLINE(X<AX AND C>O,O,C,3,1),COLOR00FF00;
STICKLINE(X<AX AND C<O,O,C,3,0),COLOR00FF00;
STICKLINE(X<AX AND C>O,H,C,0,0),COLOR00FF00;
STICKLINE(X<AX AND C>O,L,O,0,0),COLOR00FF00;
STICKLINE(X<AX AND C<=O,L,H,0,0),COLOR00FF00;
IF(X<AX,AX,DRAWNULL),COLOR00FF00,LINETHICK2;

TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1);
VB1:=FILTER(A1,10);
C1:=BACKSET(VB1,10+1);
HD:=FILTER(C1,10);
A2:=REF(TY,10)=LLV(TY,2*10+1);
VB2:=FILTER(A2,10);
C2:=BACKSET(VB2,10+1);
LD:=FILTER(C2,10);
AAD:=REF(C,BARSLAST(HD));
BA:=REF(C,BARSLAST(LD));
T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
A3:=LLV(LOW,1);
A4:=LLV(LOW,5);
A5:=LLV(LOW,8);
A6:=HHV(H,21);
A7:=LLV(LOW,21),COLORRED;
A8:=(A6+A7)/2;
IF(T1,AAD,AAD),COLORGREEN,POINTDOT;
STICKLINE(T1,AAD,AAD,2,0),COLOR80FF80;
IF(T2,BA,BA),COLORRED,POINTDOT;
STICKLINE(T2 ,BA,BA,2,0),COLOR0000FF;



{百万趋势源码如下}
AD:=(C+O)/2;
AA:=EMA(AD,4);
BB:=EMA(AD,6);
CC:=EMA(AD,10);
DD:=EMA(AD,20);
EE:=EMA(AD,30);
FF:EMA(AD,40);
IF(AA>BB,AA,DRAWNULL),COLOR0000FF;
IF(AA>BB,BB,DRAWNULL),COLOR0000FF;
IF(AA>CC,CC,DRAWNULL),COLOR0000FF;
IF(AA<BB,AA,DRAWNULL),COLOR00FF00;
IF(AA<BB,BB,DRAWNULL),COLOR00FF00;
IF(AA<CC,CC,DRAWNULL),COLOR00FF00;
IF(CC>EE,DD,DRAWNULL),COLOR00FFFF;
IF(CC>EE,EE,DRAWNULL),COLOR00FFFF;
IF(CC>FF,FF,DRAWNULL),COLOR00FFFF;
IF(CC<EE,DD,DRAWNULL),COLORFF0000;
IF(CC<EE,EE,DRAWNULL),COLORFF0000;
IF(CC<FF,FF,DRAWNULL),COLORFF0000,LINETHICK2;
{STICKLINE(AA>=BB,O,C,5,0),COLOR1503B8;
STICKLINE(AA>=BB,O,C,4,0),COLOR0000CC;
STICKLINE(AA>=BB,O,C,3,0),COLOR0000EE;
STICKLINE(AA>=BB,O,C,2,0),COLOR4811DB;
STICKLINE(AA>=BB,O,C,1,0),COLOR3A28DD;}
STICKLINE(AA>=BB,H,L,0,0),COLOR4510D1;
STICKLINE(AA>=BB,O,C,10,0),COLOR0000AA;{红色}
STICKLINE(AA>=BB,O,C,8,0),COLOR0000CC;
STICKLINE(AA>=BB,O,C,6,0),COLOR0000EE;
STICKLINE(AA>=BB,O,C,4,0),COLOR5555FF;
STICKLINE(AA>=BB,O,C,2,0),COLOR8080FF;
STICKLINE(AA<BB,O,C,10,0),COLOR155500;{绿色}
STICKLINE(AA<BB,O,C,8,0),COLOR208000;
STICKLINE(AA<BB,O,C,6,0),COLOR2BAA00;
STICKLINE(AA<BB,O,C,4,0),COLOR35D500;
STICKLINE(AA<BB,O,C,2,0),COLOR40FF00;
STICKLINE(AA<BB,H,L,0,0),COLOR40FF00;






未来函数检测结果如下:
该公式包含未来函数:BACKSET
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网仅为互联网文章,所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图