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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信炒股真的不太难源码主副图


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2023-10-9 11:30:00

以下是通达信炒股真的不太难源码主副图

炒股不太难主图

MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;

NX:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;

MX:MA(NX,8),COLORGREEN;

{www.guziyuan.cn}

A4:=MA(C,20);

A5:=(C>MA(C,5));

A6:=(MA(C,5)>MA(C,10));

A7:=(C>MA(C,10));A8:=(MA(C,5)>MA(C,20));

A9:=(C>MA(C,20));A10:=REF(A4,1);

A11:=(A4>A10);

AVX:=(((((IF(A5,10,(0-10))+IF(A6,10,(0-10)))+IF(A7,10,(0-10)))+

IF(A8,10,(0-10)))+IF(A9,10,(0-10)))+IF(A11,10,(0-10)));

SC:=REF(AVX,1)<=0 AND AVX>0;

A1:=AVX>10 AND AVX>=REF(AVX,1) AND AVX>=REF(AVX,2);

A2:=AVX=60;

A3:=SC OR A1 OR A2 ;

Q1:EMA(C,14),NODRAW;

Q1X:(Q1-REF(Q1,1))/REF(Q1,1)*100,NODRAW;

出击:IF(A3>0,REF(EMA(C,14),BARSLAST(CROSS(Q1X,0))+1),DRAWNULL)COLORRED,LINETHICK4;

STICKLINE(A3,O,C,2.0,0),COLORMAGENTA;

STICKLINE(A2,O,C,1.0,0),COLORYELLOW;

CX:=BARSLAST(NOT(A3));

CX1:=BARSLAST(NOT(A2));

DRAWNUMBER(A2,出击*0.98,CX1),COLORYELLOW;

V1:=DMA((((H+L)+(C*2))/4),0.9);

HY1:=REF(EMA(V1,3),1);

DK:=(MA((C-HY1)*28,2))*0.1;

HS:=V*100/CAPITAL;

ZL:=MA(HS,4);

DH:=MA(HS,9);

ZH:=MA(HS,17);

SH:=MA(HS,34);

JL:=(ZL+DH+ZH+SH)/4;

ZLNL:=(ZL-JL);

AA2:=ZLNL>=0 AND ZLNL>=REF(ZLNL,1);

DRAWICON(AA2,L*0.97,27);

..........................................................................................................................................

付图

A4:=MA(CLOSE,20);

A5:=(CLOSE > MA(CLOSE,5));

A6:=(MA(CLOSE,5) >MA(CLOSE,10));

A7:=(CLOSE > MA(CLOSE,10));A8:=(MA(CLOSE,5) >MA(CLOSE,20));

A9:=(CLOSE > MA(CLOSE,20));A10:=REF(A4,1);

A11:=(A4 >A10);

AVX:(((((IF(A5,10,(0 - 10)) + IF(A6,10,(0 - 10))) + IF(A7,10,(0 - 10)))

+ IF(A8,10,(0 - 10))) + IF(A9,10,(0 - 10))) + IF(A11,10,(0-10))),COLOR0000FF;

60;

-60;

0;










回复

举报

QQ|

GMT+8, 2024-11-18 08:49

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