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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[同花顺] 同花顺华尔街终结副图指标 源码


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-29 12:01:09
同花顺华尔街终结副图指标 源码介绍

同花顺华尔街终结副图指标 源码

1本人原创,总结前人的成功经验。站在巨人的肩膀之上。

2实战多次,信号虽然少,确实真金不怕火炼,牛熊通杀。

3中线做股,抄底逃顶,越杀越勇。

4看图操作,一看便知,简单实用。


 


DRAWBAND(MA(CLOSE,60),RGB(55,0,0),MA(CLOSE,120),RGB(0,91,0));
MA60:=MA(CLOSE,60);
生命线:MA60,LINETHICK2,colormagenta;
MA120:MA(CLOSE,120),LINETHICK2,colorgreen;
五日线:=MA(C,5),colorwhite;
十日线:=MA(C,10),colorgreen;
三多头后挂单:=MA(C,20),LINETHICK2,colorred;
DRAWTEXT(MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20) AND CURRBARSCOUNT=5,MA(C,20)*0.9,''),colorred;
DRAWKLINE(H,O,L,C);
DRAWICON(CROSS(MA60,MA120),MA60,23);
DRAWICON(CROSS(MA120,MA60),MA60,15),;
DRAWTEXT(CROSS(MA120,MA60),MA60+0.08,'熊上岗'),colorgreen;
W1:=IF(CROSS(MA(C,60),MA(C,120)),1,0);
W2:=IF(CROSS(MA(C,120),MA(C,60)),1,0);
STICKLINE(W1,MA(C,60)*1.05,MA(C,60)*0.95,0.01,0),colorlired;
STICKLINE(W2,MA(C,120)*1.05,MA(C,120)*0.95,0.01,0),colorgreen;
DRAWTEXT(W1,MA(C,60)*1.05,'稳健才是王道'),colorred;
DRAWTEXT(W1,MA(C,60)*0.95,'牛市'),colorred;
DRAWTEXT(W2,MA(C,120)*1.05,'熊市'),colorgreen;
DRAWTEXT(W2,MA(C,120)*0.95,'贪婪必死'),colorgreen;
KK:=MA60<MA120 AND COUNT(MA60>REF(MA60,1),5)=5;
DRAWTEXT(KK AND COUNT(KK,20)=5,REF(MA60,5),'地板'),colorred;
STICKLINE(KK AND COUNT(KK,20)=5,REF(MA60,5),REF(MA60,5),10,1),colorred;
KK2:=MA60>MA120 AND COUNT(MA60<REF(MA60,1),5)=5;
DRAWTEXT(KK2 AND COUNT(KK2,20)=5,REF(MA60,5),'天灵盖'),colorred;
STICKLINE(KK2 AND COUNT(KK2,20)=5,REF(MA60,5),REF(MA60,5),10,1),colorred;
TY:=C;
A1:=REF(TY,10)=HHV(TY,2*10+1);
B1:=FILTER(A1,10);
C1:=BACKSET(B1,10+1);
HD:=FILTER(C1,10);
MA(C,5),coloryellow,LINETHICK2;
MA(C,5)*0.9,colorred,DOTLINE;
前期高位:REF(C,BARSLAST(HD)),COLOR00FF00,POINTDOT;
STICKLINE(C,前期高位,前期高位,8,0),coloryellow;
CM:=REF(C,1);
涨停:=IF((C-CM)*100/CM>=9.9,1,0);
STICKLINE(涨停,OPEN,CLOSE,3.8,0),colormagenta;
STICKLINE(涨停,H,L,0,0),colorlired;
跌停:=IF((C-CM)*100/CM<=-9.9,1,0);
STICKLINE(跌停,OPEN,CLOSE,3.8,0),colorgreen;
STICKLINE(跌停,H,L,0,0),colorgreen;
大盘涨幅:=("999999$C"-LLV("999999$L",40))/LLV("999999$L",40);
DRAWTEXT(CURRBARSCOUNT<2,LLV(L,40)*(1+大盘涨幅),' 1倍以下很安全');
DRAWTEXT(CURRBARSCOUNT<2,LLV(L,40)*(1+大盘涨幅*2),' 2倍以下高抛低吸');
DRAWTEXT(CURRBARSCOUNT<2,LLV(L,40)*(1+大盘涨幅*3),' 3倍以上要抛出');
STICKLINE(CURRBARSCOUNT<2,LLV(L,40)*(1+大盘涨幅),LLV(L,40)*(1+大盘涨幅),1,0),LINETHICK8,colorcyan;
STICKLINE(CURRBARSCOUNT<2,LLV(L,40)*(1+大盘涨幅*2),LLV(L,40)*(1+大盘涨幅*2),1,0),LINETHICK8,colorcyan;
STICKLINE(CURRBARSCOUNT<2,LLV(L,40)*(1+大盘涨幅*3),LLV(L,40)*(1+大盘涨幅*3),1,0),LINETHICK8,colorcyan;
六天涨幅:=C/REF(C,5)<1.06;
DRAWTEXT(CURRBARSCOUNT=1 AND 六天涨幅,C,'价满足DDX');
DRAWTEXT(CURRBARSCOUNT=1 AND 六天涨幅=0,C,'卖出');






gd47643

回复

举报

QQ|

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

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