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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 主图极品大礼 主图源码


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-19 09:53:58
主图极品大礼 主图源码介绍

主图极品大礼 主图源码

07年至今一直在论坛潜心修炼,受到很多老师教诲,收益匪浅。
一直有一个愿望,想形成自己风格的主图,殚精竭虑、费尽心思。
时至至今,保留的主图成百上千,时过境迁,但唯独这个主图始终不离左右,可谓不离不弃,它集成本人的太多理念和相对准确的信号,不管你是高手、低手,都有让你眼前一亮,可以信赖的东西在里面,因为 它凝结了我使用几年的跟踪和观察。
期间有很多老师和学友都想要这个主图,一直未分享,看到自己粉丝数与日增加,感到愧疚,也真的想尽快能够初中毕业,希望你们多多捧场、多多鼓励。
今天就将它作为礼物呈送给我的粉丝,祝你们修善完满,最终成为股市利器。由于本人只使用大智慧软件,其他软件使用,还望高手修改,造福大家。可以这样说,我坚信:弄懂这个主图你就是股市高手!
抛砖引玉,希望共享大家的使用心得,祝大家一起发财!!

n:=5;
MTM:=C-REF(C,1);
DX1:=100*EMA(EMA(MTM,N),N)/EMA(EMA(ABS(MTM),N),N);
买1:=IF(LLV(DX1,2)=LLV(DX1,7) AND COUNT(DX1<0,2) AND CROSS(DX1,MA(DX1,2)),1,0);
卖1:=IF(HHV(DX1,2)=HHV(DX1,7) AND COUNT(DX1>50,2) AND CROSS(MA(DX1,2),DX1),1,0);
DRAWTEXT(filter(卖1=1,5),high*1.032, '▽'),color00ff00,ALIGN1;
DRAWTEXT(filter(买1=1,5),low*0.96, '△'),colorRED,ALIGN1;
DRAWICON(filter(买1=1,5),low*0.99,7),ALIGN1;
ma60:ma(c,60),colorgreen;
MA5:EMA(C,5),COLOR0000FF,linethick2;
MA2:REF(MA5,1),COLORFFFFFF;
ma3:EMA(ema(c,7),6),color00FFFF,linethick2;
FILLRGN(MA2,MA5,MA2<=MA5),COLORRED,LAYER7;
FILLRGN(MA5,MA2,MA5<=MA2),COLORGREEN,LAYER7;
FILLRGN(MA2,ma3,MA2<=ma3),COLORBLUE,LAYER7;
FILLRGN(MA2,ma3,MA2>=ma3),COLORFF00FF,LAYER7;
BDGD:=C=HHV(C,13);
GDSJ:=BARSLAST(FILTER(CROSS(0.8,BDGD),2))+1;
高点:REF(C,GDSJ),COLOR00FF00,POINTDOT,LINETHICK1;
突破:CROSS(C,REF(高点,1)),COLOR00FFFF,POINTDOT,LINETHICK0;
STICKLINE(GDSJ<=6,高点,高点,8,0),COLORFF00FF;
BDDD:=C=LLV(C,13);
DDSJ:=BARSLAST(FILTER(CROSS(0.8,BDDD),2))+1;
低点:REF(C,DDSJ),COLOR00FFFF,POINTDOT,LINETHICK1;
STICKLINE(DDSJ<=6,低点,低点,8,0),COLOR00FF00;
VARR:=EMA((C+O+H+L)/4,3);
CB:=EMA(VARR,88);
SM:=EMA(VARR,88)*0.85;
HD:=CB*0.74;
QZB:=L<SM AND C/REF(C,1)>1.098 AND C=H AND REF(C,1)<REF(H,1);
DRAWTEXT(QZB,h,'超跌'),COLORYELLOW;


最低:LLV(C,20),POINTDOT,COLOR00FFFF;


流通盘:=FINANCE2(37)/10000;DRAWTEXTREL(20,40,BKNAME),COLORffffFF;
DRAWTEXTABS(23,30,'流通盘:'+流通盘+'亿 '),LINETHICK1,Colorffffff;

tD:=COUNT(BIGORDER(1,0),0);
myD:=min(tD,60);
超户:=(BIGORDER(1,3)-BIGORDER(2,3))*vol/capital;
累计:=ema(超户,myD)*myD;
DRAWGBK((累计<0),STRIP(RGB(15,76,87),RGB(0,0,0),0));
DRAWGBK((累计>0),STRIP(RGB(94,48,46),RGB(0,0,0),0));
a:="LTFunc6@FORLT2"(30); s1:="LTFunc6@LT_S1"(30);
hs:="LTFunc6@LT_HS"(30);
ls:="LTFunc6@LT_LS"(30);
p1:="LTFunc6@LT_P1"(30);
upp:="LTFunc6@LT_UPP"(30);
udd:="LTFunc6@LT_UDD"(30);

STICKLINE(p1=1 and c>=o and o<>0,c,o,7.5,0),colorblack;
STICKLINE(p1=1 and c>=o and o<>0,c,c,7.5,0),color5454ff;
STICKLINE(p1=1 and c>=o and o<>0,o,o,7.5,0),color5454ff;
STICKLINE(p1=1 and c>=o and o<>0,o,c,7.5,1),color5454ff;
STICKLINE(p1=1 and c<=o,o,c,7.5,1),color5454ff;
STICKLINE(p1=1 and c<=o,l,c,0.5,1),color5454ff;
STICKLINE(p1=1 and c<=o,h,o,0.5,1),color5454ff;

STICKLINE((p1<>1 or barscount(c)<3) and c>=o,c,o,7.5,1),colorffff54;
STICKLINE((p1<>1 or barscount(c)<3) and c>=o,c,h,0.5,1),colorffff54;
STICKLINE((p1<>1 or barscount(c)<3) and c>=o,l,o,0.5,1),colorffff54;

drawbmp(p1=1 and ref(p1,1)=0,l,'buy1.bmp'),align1,valign0;
drawbmp(p1=0 and ref(p1,1)=1,h,'sell1.bmp'),align1,valign2;
B:p1=1 and ref(p1,1)=0,LINETHICK0;{用于选股}

drawbmp(s1=1 and ref(s1,1)=0 and (p1+ref(p1,1))<>1,l,'bs.bmp'),align1,valign0;
drawbmp(s1=0 and ref(s1,1)=1 and (p1+ref(p1,1))<>1,h,'ss.bmp'),align1,valign2;


DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);
DRAWICON(FILTER(B1>0,5),L*0.94,10);
DRAWTEXT(FILTER(B1>0,5),L*0.96,'M底'),COLOR0055ff;{MACD底背离}
A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));
B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
DRAWICON(FILTER(B2>0,5),L*0.96,10);
DRAWTEXT(FILTER(B2>0,5),L*0.98,'K底'),COLORff00ff;{KDJ底背离}
A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
DRAWICON(FILTER(B3>0,5),L*0.98,10);
DRAWTEXT(FILTER(B3>0,5),L*0.97,'R底'),COLORyellow;{RSI底背离}
C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));
D1:=REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF);
DRAWICON(FILTER(D1>0,5),H*1.07,12);
DRAWTEXT(FILTER(D1>0,5),H*1.02,'M顶'),COLORwhite;{MACD顶背离}
C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));
D2:=REF(C,C2+1)<C AND REF("KDJ.K"(9,3,3),C2+1)>"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3));
DRAWICON(FILTER(D2>0,5),H*1.05,12);
DRAWTEXT(FILTER(D2>0,5),H*1.03,'K顶'),COLORf0f000;{KDJ顶背离}
C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));
D3:=REF(C,C3+1)<C AND REF("RSI.RSI1"(6,12,24),C3+1)>"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));
DRAWICON(FILTER(D3>0,5),H*1.03,12);
DRAWTEXT(FILTER(D3>0,5),H*1.01,'R顶'),COLOR00ff00;{RSI顶背离};







gd21917

回复

举报

QQ|

GMT+8, 2024-11-17 07:19

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