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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[同花顺] 同花顺L2决策密码副图指标 源码


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

同花顺L2决策密码副图指标 源码

从网上找的参考指标,不能作为买卖依据,参考为主。

Var1:=AMOUNT/VOL;
A:=SMA(Var1,5,1)-SMA(Var1,55,1);
B:=SMA((A-SMA(A,5,1)),5,1);
STICKLINE(C,H,L,0,1),colorgreen;
STICKLINE(C>=O,O,C,8,1),colorgreen;
STICKLINE(C<O,O,C,8,0),colorgreen;
STICKLINE(CLOSE>MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1),H,L,0,1),colorred;
STICKLINE(CLOSE>MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1) AND C>=O,O,C,8,1),colorred;
STICKLINE(CLOSE>MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1) AND C<O,O,C,8,0),colorred;
STICKLINE(CLOSE<MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1),H,L,0,1),colorwhite;//白色1
STICKLINE(CLOSE<MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1) AND C>=O,O,C,8,1),colorwhite;
STICKLINE(CLOSE<MA(CLOSE,5) AND A>REF(A,1) AND B>REF(B,1) AND C<O,O,C,8,0),colorwhite;
STICKLINE(A<REF(A,3) AND B<REF(B,3),H,L,0,1),colorgreen;
STICKLINE(A<REF(A,3) AND B<REF(B,3) AND C>=O,O,C,8,1),colorgreen;
STICKLINE(A<REF(A,3) AND B<REF(B,3) AND C<O,O,C,8,0),colorgreen;
STICKLINE(A>REF(A,1) AND B<REF(B,1),H,L,0,1),colorwhite;//白色2 也可以自己改为白色,我只是为了区别一下三种不同的白色,用了一个不同的颜色
STICKLINE(A>REF(A,1) AND B<REF(B,1) AND C>=O,O,C,8,1),colorwhite;
STICKLINE(A>REF(A,1) AND B<REF(B,1) AND C<O,O,C,8,0),colorwhite;
STICKLINE((A<REF(A,1) AND B>REF(B,1)),H,L,0,1),colorwhite;//白色3www.guziyuan.cn
STICKLINE((A<REF(A,1) AND B>REF(B,1)) AND C>=O,O,C,8,1),colorwhite;
STICKLINE((A<REF(A,1) AND B>REF(B,1)) AND C<O,O,C,8,0),colorwhite;
指导线: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),linethick1,ColorFFffFF;
界: MA(CLOSE,27),linethick1,Color00FFFF;
DRAWTEXT(CROSS(指导线,界),界,'↑★'),ALIGN1,VALIGN0,colorred;
DRAWTEXT(CROSS(界,指导线),界,'↓★'),ALIGN1,colorcyn;






gd45999

回复

举报

QQ|

GMT+8, 2024-11-17 21:37

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