S等量3K线副图指标 通达信 贴图

[复制链接]
查看17 | 回复0 | 2022-7-11 10:29:37 | 显示全部楼层 |阅读模式
本指标是源自网络,原版是以价格为基础,通过股票之友优化,以量为基础,去调价格因子,所以80%趋势是跟价格相符,使用时结合趋势类指标判断方向。

{很难得的纯量指标有趋势型}
K0:=V;
K1:=REF(V,15);
A10:=SUM(IF(K0>K1,K0,0-K1),0)/100/100/100;
TAKE:A10,COLORGRAY,LINETHICK1,NODRAW;
SIT:LLV(SUM(TAKE,2)/2,3),COLORGRAY,LINETHICK1,NODRAW;
UP:REF(HHV(A10,1),1),COLORGRAY,LINETHICK1,NODRAW;
STICKLINE(CROSS(TAKE,UP) AND SIT>UP,TAKE,UP,2,0),COLORRED;
STICKLINE(TAKE>UP AND SIT<UP,TAKE,UP,2,0),COLORLIRED;
STICKLINE(UP>TAKE,TAKE,UP,2,0),COLORLIBLUE;
STICKLINE(CROSS(UP,TAKE),TAKE,UP,2,0),COLORBLUE;
STICKLINE(REF(CROSS(UP,TAKE),1) AND UP>TAKE,REF(UP,1),UP,2,0),COLORGREEN;
STICKLINE(REF(CROSS(TAKE,UP),1) AND UP<TAKE,REF(UP,1),UP,2,0),COLORYELLOW; 浅蓝后大红建仓:0,COLORRED,NODRAW;
黄色逐步加仓:0,COLORYELLOW,NODRAW;
浅红持仓:0,COLORLIRED,NODRAW;
蓝震后大红减仓:0,COLORBLUE,NODRAW;
绿色逐步减仓:0,COLORGREEN,NODRAW;
REF(LLV(SUM(TAKE,2)/2,15),3),COLORGRAY,LINETHICK1,DOTLINE;
REF(HHV(SUM(TAKE,2)/2,15),3),COLORGRAY,LINETHICK1,DOTLINE; IF(TAKE>REF(HHV(SUM(TAKE,2)/2,15),3),REF(HHV(SUM(TAKE,2)/2,15),3),DRAWNULL),COLORRED,LINETHICK3;
IF(TAKE<REF(LLV(SUM(TAKE,2)/2,15),3),REF(LLV(SUM(TAKE,2)/2,15),3),DRAWNULL),COLORGREEN,LINETHICK3;;

2019839474624772.png

2019839474624772.png

201983949831697.rar

3.31 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

201983949831697.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则