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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信新布林助你决策买卖 主图源码


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

以下是通达信新布林助你决策买卖 主图源码

M:=((3*C+2*L+O+H)/7);
BOLL:=MA(M,15);
HB:BOLL+2*STD(M,15)COLORMAGENTA,LINETHICK2;
LB:BOLL-2*STD(M,15)COLORBROWN,LINETHICK2;
中轨:(HB+LB)/2,COLORCYAN,DOTLINE;
G:=YEAR AND MONTH AND DAY;
G1:=STRCAT(CON2STR(YEAR,0),'年');
G2:=STRCAT(CON2STR(MONTH,0),'月');
G3:=STRCAT(CON2STR(DAY,0),'日');
G4:=STRCAT(' 【 ',IF(WEEKDAY=1,'星期一',IF(WEEKDAY=2,'星期二',IF(WEEKDAY=3,'星期三',IF(WEEKDAY=4,'星期四',IF(WEEKDAY=5,'星期五',IF(WEEKDAY=6,'星期六','星期日')))))));
GA:=STRCAT(STRCAT(STRCAT(G1,G2),STRCAT(G3,G4)),' 】');
日期:DRAWTEXT_FIX(G,0.04,0.03,0,GA)COLORGREEN;
DRAWTEXT_FIX(1,0.01,0.08,0,'1. 上轨与下轨收拢时后市趋淡,扩张时后市看涨。')COLORWHITE;
DRAWTEXT_FIX(1,0.01,0.13,0,'2. 股价穿越中轨可以买入,死叉中轨时止损卖出。')COLORGREEN;
DRAWTEXT_FIX(1,0.01,0.18,0,'3. 股价贴在上轨之上,属 "强势" 特征,一路持有。')COLORMAGENTA;
DRAWTEXT_FIX(1,0.01,0.23,0,'4. 股价受压于上轨时,该需止盈,及时卖出为宜。')COLORYELLOW;
DRAWTEXT_FIX(1,0.01,0.28,0,'5. 股价收低上轨,意味走弱,将进入盘整或跌势。')COLORCYAN;




回复

举报

QQ|

GMT+8, 2024-11-17 04:44

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