股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 趋势主图〓〓〓难得的精品(源码、主图、贴图)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-10 19:22:43
趋势主图〓〓〓难得的精品(源码、主图、贴图)介绍

趋势主图〓〓〓难得的精品(源码、主图、贴图)

主图源码
FO:=O;
FC:=C;
FH:=L;
FL:=H;
M20:=MA(FC,20);
M40:=MA(FC,40);
M60:=MA(FC,60);
M90:=MA(FC,90);
A:=EMA(FC,3);
B:=EMA(FC,5);
Z:=EMA(FC,15);
ZA:=REF(HHV(A,B),Z);
Z2:=MA(A,5);
【▲】Z:=MA(Z,7);
個:=EMA(Z2,3);
十:=EMA(Z2,5) ;
百:=EMA(Z2,7);
千:=EMA(Z2,9);
菷:=EMA(Z2,11);
K1:=BACKSET(個<REF(個,1),2);
IF(K1,個,DRAWNULL),COLOR00AA00,LINETHICK1;
K2:=BACKSET(十<REF(十,1),2);
IF(K2,十,DRAWNULL),COLOR00BB00,LINETHICK1;
K3:=BACKSET(百<REF(百,1),2);
IF(K3,百,DRAWNULL),COLOR00CC00,LINETHICK1;
K4:=BACKSET(千<REF(千,1),2);
IF(K4,千,DRAWNULL),COLOR00DD00,LINETHICK1;
K5:=BACKSET(菷<REF(菷,1),2);
IF(K5,菷,DRAWNULL),COLOR00EE00,LINETHICK1;
K6:=BACKSET(個>REF(個,1),2);
IF(K6,個,DRAWNULL),COLOR0000AA,LINETHICK1;
K7:=BACKSET(十>REF(十,1),2);
IF(K7,十,DRAWNULL),COLOR0000BB,LINETHICK1;
K8:=BACKSET(百>REF(百,1),2);
IF(K8,百,DRAWNULL),COLOR0000CC,LINETHICK1;
K9:=BACKSET(千>REF(千,1),2);
IF(K9,千,DRAWNULL),COLOR0000DD,LINETHICK1;
K10:=BACKSET(菷>REF(菷,1),2);
IF(K10,菷,DRAWNULL),COLOR0000EE,LINETHICK1;
個Z:=EMA(【▲】Z,3) ;
十Z:=EMA(【▲】Z,5);
百Z:=EMA(【▲】Z,7);
千Z:=EMA(【▲】Z,9);
菷Z:EMA(【▲】Z,11);
B1:=BACKSET(個Z<REF(個Z,1),2);
IF(B1,個Z,DRAWNULL),COLORFFAA11,LINETHICK1;
B2:=BACKSET(十Z<REF(十Z,1),2);
IF(B2,十Z,DRAWNULL),COLORFFBB22,LINETHICK1;
B3:=BACKSET(百Z<REF(百Z,1),2);
IF(B3,百Z,DRAWNULL),COLORFFCC33,LINETHICK1;
B4:=BACKSET(千Z<REF(千Z,1),2);
IF(B4,千Z,DRAWNULL),COLORFFDD44,LINETHICK1;
B5:=BACKSET(菷Z<REF(菷Z,1),2);
IF(B5,菷Z,DRAWNULL),COLORFFEE55,LINETHICK1;
B6:=BACKSET(個Z>REF(個Z,1),2);
IF(B6,個Z,DRAWNULL),COLORF67ACD,LINETHICK1;
B7:=BACKSET(十Z>REF(十Z,1),2);
IF(B7,十Z,DRAWNULL),COLORF68ACD,LINETHICK1;
B8:=BACKSET(百Z>REF(百Z,1),2);
IF(B8,百Z,DRAWNULL),COLORF69ACD,LINETHICK1;
B9:=BACKSET(千Z>REF(千Z,1),2);
IF(B9,千Z,DRAWNULL),COLORF70ACD,LINETHICK1;
B10:=BACKSET(菷Z>REF(菷Z,1),2);
IF(B10,菷Z,DRAWNULL),COLORF71ACD,LINETHICK1;
BIAS0:= (C-MA(C,2))/MA(C,2)*100;
HXL:=V/CAPITAL*100;
D1:=INDEXC;
D2:=MA(D1,13);
DR2:=D2>1.050*D1;
E1:=(C-HHV(C,12))/HHV(C,12)*10;
E2:=(C-REF(C,26))/REF(C,26)*10;
E3:=MA(C,3);
SJ1:=DR2;
SJ2:=E2<-2.30;
SJ3:=BIAS0<-2.7;
SJ5:=SJ1 AND SJ2 AND SJ3;
SJ6:=CROSS(0.5,SJ5);
JS1:=CROSS(SJ6,0.5);JS2:=BARSLAST(JS1=1);
JS3:=JS2<=5 AND C<REF(C,JS2);
咋的:=SJ6 OR JS3;
IF(咋的=1,L*0.999,DRAWNULL),CIRCLEDOT,COLORLIGREEN;
STICKLINE(C>=O,C,O,3.2,0),COLOR000045;
STICKLINE(C>=O,O,O,2.7,0),COLOR000065;
STICKLINE(C>=O,C,O,2.2,0),COLOR000085;
STICKLINE(C>=O,C,O,1.7,0),COLOR0000A5;
STICKLINE(C>=O,C,O,1.2,0),COLOR0000C5;
STICKLINE(C>=O,H,L,0.5,0),COLOR0000F5;
STICKLINE(C<O,C,O,3.2,0),COLOR555555;
STICKLINE(C<O,C,O,2.7,0),COLOR777777;
STICKLINE(C<O,C,O,2.2,0),COLOR999999;
STICKLINE(C<O,C,O,1.7,0),COLORBBBBBB;
STICKLINE(C<O,C,O,1.2,0),COLORDDDDDD;
STICKLINE(C<O,H,L,0.5,0),COLORFFFFFF;
STICKLINE((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,0.6,0),COLORBLACK;




 



gd15504

回复

举报

QQ|

GMT+8, 2024-12-26 02:52

快速回复 返回顶部 返回列表