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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 新布林指标(源码 贴图 主图)


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

新布林指标(源码 贴图 主图)

改良版本新布林指标,附独创各种战法主图显示。

MID : MA(CLOSE,N);
UPPER: MID + P*STD(CLOSE,N)/10;
LOWER: MID - P*STD(CLOSE,N)/10;
K1:=cyc(1);
K2:=cost(90);

cond1:=sum(vol,barslast(close=llv(c,30)))/capital*100>30;
cond2:=FILTER(cond1,20);
STICKLINE(C/REF(C,1)>=1.090,O,C,5,0),COLORYELLOW;
STICKLINE(C/REF(C,1)>=1.090,O,C,5,0),COLORYELLOW;
攻击迫线:=OPEN>REF(HIGH,1) AND CLOSE>REF(HIGH,1) AND LOW>REF(HIGH,1) AND HIGH>CLOSE AND REF(CLOSE,1)/REF(CLOSE,2)>=1.09 AND V>REF(V,1);
比翼双飞:=REF(C,2)/REF(C,3)>=1.0977 AND REF(O,1)>REF(H,2) AND REF(L,1)>REF(H,2) AND REF(C,1)>REF(O,1) AND C>REF(C,1) AND L>REF(L,1);
七伤拳:=REF((C-REF(C,1))/REF(C,1)>0.09,6) AND COUNT((C-REF(C,1))/REF(C,1)>0.09,6+1)=1 AND (HHV(H,6)-REF(C,6))/REF(C,6)*100<25 AND (LLV(L,6)-REF(C,6))/REF(C,6)*100>(5*-1);
喜鹊闹梅:=REF((C-REF(C,1))/REF(C,1)>0.09,3) AND L>REF(C,1) AND ABS(HHV(H,3)-REF(C,3))/REF(C,3)<5 AND ABS(LLV(H,3)-REF(C,3))/REF(C,3)<5 AND LLV(LOW,3)>REF(C,3)*0.9;
牛熊不败:=CROSS(C,MA(C,250)) AND V>1.5*REF(MA(V,5),1) AND C/(REF(C,1)-1)>1.3 AND CLOSE/REF(CLOSE,1)>=1.9;
搓揉线:=REF(O,1)=REF(L,1) AND REF(H,1)/REF(C,1)>1.03 AND REF(C,1)>REF(C,2) AND H=C AND C/L>1.03 AND H>REF(C,1);
黑棒佳丽:=O>MA(C,20) AND (O-C)/O*100>0.01 AND VOL/CAPITAL*100 >=3 AND C>REF(C,1) AND REF(C,1)>REF(C,2) AND HIGH/LOW>=1.05;
绝地反击:=O<REF(L,1) AND C>O AND C<REF(C,1) AND V>REF(V,1) AND REF(C,1)/REF(C,2)<0.95 AND REF(V,1)<REF(V,2);
吞并反转:=REF(CLOSE,2)/REF(CLOSE,1)>=1.05 AND CLOSE/REF(LOW,1)>=1.05 AND CLOSE>REF(HIGH,1);
DRAWTEXT((攻击迫线 = 1),LOW-0.05,'攻'),LINETHICK2,COLORWHITE;
DRAWTEXT((比翼双飞 = 1),LOW-0.05,'比'),LINETHICK2,COLORYELLOW;
DRAWTEXT((七伤拳 = 1),LOW-0.05,'七'),LINETHICK2,COLORBLUE;
DRAWTEXT((喜鹊闹梅 = 1),LOW-0.05,'喜'),LINETHICK2,COLORRED;
DRAWTEXT((牛熊不败 = 1),LOW-0.05,'牛'),LINETHICK2,COLORFF00CC;
DRAWTEXT((搓揉线 = 1),LOW-0.05,'搓'),LINETHICK2,COLORGREEN;
DRAWTEXT((黑棒佳丽 = 1),LOW-0.05,'黑'),LINETHICK2,COLOR9932CD;
DRAWTEXT((绝地反击 = 1),LOW-0.05,'绝'),LINETHICK2,COLORDB9370;
DRAWTEXT((吞并反转 = 1),LOW-0.05,'覆盖'),LINETHICK2,COLOR856363;
A:=LLV(REF(LOW,1),2)+(HHV(REF(HIGH,1),2)-LLV(REF(LOW,1),2))/2;
盈损线:A,COLOR005BF5,LINETHICK2;
 


 









 



gd13875

回复

举报

QQ|

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

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