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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[同花顺] 通用布林(主图、源码、贴图)


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

通用布林(主图、源码、贴图)

N:=7; P:=5; X:=8; Q:=8;

BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORFFFFFF,LINETHICK2;
UPR:BBI+3*STD(BBI,10),COLOR00FF00;
DWN:BBI-3*STD(BBI,10),COLOR00FF00;
MID:MA(CLOSE,21),COLOR00FFFF,LINETHICK2;
STICKLINE( MID>BBI,MID,BBI,1,1),COLORFF0000;
STICKLINE( MID<BBI,MID,BBI,1,1),COLOR00FFFF;

LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(DATE>700101 AND CROSS(84,RSI) , HIGH,'卖出'), COLOR00FF00;

A7:=(2*C+H+L)/4;
VAR1:=LLV(LOW,34);
VAR2:=HHV(HIGH,34);
SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,N);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,P);
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),X)/X>Q/10 AND VOL>=1.5*MA(VOL,5) AND
COUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'买进'), COLOR0099FF;
DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10 AND
COUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND
REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND
OPEN>REF(CLOSE,1),1,0),LOW,'买进') ,COLORYELLOW;

D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08
AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'抄底'),COLORYELLOW;


 






gd25288

回复

举报

QQ|

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

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