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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 神奇巧成——(根据TDX“来得早不如来的巧”改编成很有实战价值的大智慧主图,源码)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-22 17:28:56
神奇巧成——(根据TDX“来得早不如来的巧”改编成很有实战价值的大智慧主图,源码)介绍

神奇巧成——(根据TDX“来得早不如来的巧”改编成很有实战价值的大智慧主图,源码)

注:加上T字买卖就更好了,长线的精华呀!!!!!!!!(如:图二) 


源码如下(如:图一):
E1:MEMA(C,7),COLORGREEN;
E2:MEMA(C,9),COLORGREEN;
E3:MEMA(C,12),COLORGREEN;
E4:MEMA(C,14),COLORGREEN;
E5:MEMA(C,17),COLORGREEN;
E6:MEMA(C,50),COLORFF8800,LINETHICK2;
A1:=CROSS(C,E1) AND CROSS(C,E5);
DRAWICON(A1,L*0.99,1);
PARTLINE(E1,E1>REF(E1,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(E2,E1>REF(E2,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(E3,E1>REF(E3,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(E4,E1>REF(E4,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(E5,E1>REF(E5,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;


选股公式:
E1:=MEMA(C,7);
E5:=MEMA(C,17);
巧成:CROSS(C,E1) AND CROSS(C,E5);

加上T字买卖就更好了,长线的精华呀!!!!!!!!(如:图二)
variable:p6=0;
p2:=intpart(ref(cyc(5),1)*100)/100;
p3:=intpart(ref(cyc(5),1)*0.96*100)/100;
vv:=intpart(min(capital*0.05,ref(ma(vol,34),1))/100);
p40:=intpart(maxcyc*100)/100;
p41:=intpart(ref(MAXCYC,1)*100)/100;
p4:=p6=0 and c>p2 or (ref(vol/100,1)<vv and c>intpart(p2*0.98*100)/100 and vol>min(capital*0.05,ref(ma(vol,34),1)));
p5:=p6=1 and c<min(p3,p41);
p6:=if(p4=1,1,if(p5=1,0,ref(p6,1)));
drawtext(cross(p6,0),LOW*0.985,'T买'),colorred,linethick3,align1,valign0,layer0;
drawtext(cross(1,p6),HIGH*1.015,'T卖'),colorgreen,linethick3,align1,valign2,layer0;
E1:MEMA(C,7),COLORGREEN;
E2:MEMA(C,9),COLORGREEN;
E3:MEMA(C,12),COLORGREEN;
E4:MEMA(C,14),COLORGREEN;
E5:MEMA(C,17),COLORGREEN;
E6:MEMA(C,50),COLORFF8800,LINETHICK2;
A1:=CROSS(C,E1) AND CROSS(C,E5);
DRAWICON(A1,L*0.99,1);
PARTLINE(E1,E1>REF(E1,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(E2,E1>REF(E2,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(E3,E1>REF(E3,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(E4,E1>REF(E4,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
PARTLINE(E5,E1>REF(E5,1),RGB(255,0,0),1,RGB(0,255,0)),LINETHICK1;
DRAWTEXTREL(4,40,'板块:'+BKNAME),COLOR00FF00,linethick1;
DRAWTEXTABS(4,29 ,'流通盘:'+capital/1000000+'亿(小盘股<5个亿<中盘股<10亿<大盘股)'),COLOR00FF00,linethick1;

T买选股:
variable:p6=0;
p2:=intpart(ref(cyc(5),1)*100)/100;
p3:=intpart(ref(cyc(5),1)*0.96*100)/100;
vv:=intpart(min(capital*0.05,ref(ma(vol,34),1))/100);
p40:=intpart(maxcyc*100)/100;
p41:=intpart(ref(MAXCYC,1)*100)/100;
p4:=p6=0 and c>p2 or (ref(vol/100,1)<vv and c>intpart(p2*0.98*100)/100 and vol>min(capital*0.05,ref(ma(vol,34),1)));
p5:=p6=1 and c<min(p3,p41);
p6:=if(p4=1,1,if(p5=1,0,ref(p6,1)));
T买:cross(p6,0);
 


 






gd11235

回复

举报

QQ|

GMT+8, 2024-11-18 11:30

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