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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[同花顺] 绿色BS跟庄自用指标(源码,无未来)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-29 17:57:41
绿色BS跟庄自用指标(源码,无未来)介绍

绿色BS跟庄自用指标(源码,无未来)

绿色: sma(close,2,1),colorgreen,linethick2;
var4:=(low+high+close)/3;
操作: ma(var4,5),linethick2,colorwhite;
拉升:hhv(操作,13),colorred,linethick1;
压力:hhv(操作,60),colorred;
买卖:llv(操作,13),linethick1,color00ff00;
底部支撑: llv(low,60)*1.02,color00ccff;
顶部: hhv(high,60)*0.98,colorffffcc;
stickline(操作>ref(操作,1),操作,操作+0.018,5,0),coloryellow,linethick4;
stickline(拉升>ref(拉升,1),拉升,拉升+0.018,5,0),coloryellow,linethick2;
stickline(拉升=ref(拉升,1),拉升,拉升,1,1),colorred;
stickline(买卖=ref(买卖,1),买卖,买卖,1,1),colorred;
stickline(买卖>ref(买卖,1),买卖,买卖+0.028,4,1),colorf00ff0,linethick2;
stickline(顶部=ref(顶部,1),顶部,顶部,7,1),colorred;
stickline(压力=ref(压力,1),压力,压力,7,1),colorred;
stickline(底部支撑=ref(底部支撑,1),底部支撑,底部支撑,1,1),colorred;
{drawgbk(date>900101,strip(rgb(0,150,130),rgb(0,0,0),0));}
买线:=ema(c,2);
卖线:=ema(slope(c,21)*20+c,42);
bu:=cross(买线,卖线);
sel:=cross(卖线,买线);
drawtext(bu,low,'b买'),colorred,linethick3;
drawtext(bu,low,' ̄'),color208fff,linethick3;
drawtext(sel,high,' ̄'),colorffff00,linethick3;
drawtext(sel,high,'s卖'),colormagenta,linethick3;
stickline(买线>=卖线,low,high,0.1,1),colorred;
stickline(买线>=卖线,close,open,8,1),colorred;
stickline(买线<卖线,close,open,8,0),color00ff00;
stickline(买线<卖线,low,high,0.1,1),color00ff00;
stickline(cross(买线,卖线) or cross(卖线,买线),open,close,6,0),colorffff00





gd26945

回复

举报

QQ|

GMT+8, 2024-11-17 16:45

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