同花顺四方力道改良副图指标

源码

买线:=EMA(C,2);
卖线:=EMA(SLOPE(C,21)*20+C,42);  
STICKLINE(买线>=卖线,LOW,HIGH,1,0),colorred;
STICKLINE(买线>=卖线,CLOSE,OPEN,4.5,0),colorred;
STICKLINE(买线>=卖线,CLOSE,OPEN,4,0),colorred;
STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),colorred;
STICKLINE(买线>=卖线,CLOSE,OPEN,2,0),colorred;
STICKLINE(买线<卖线,CLOSE,OPEN,4.5,0),ColorFF4242;
STICKLINE(买线<卖线,CLOSE,OPEN,4,0),ColorFF4242;
STICKLINE(买线<卖线,CLOSE,OPEN,3,0),ColorFF4242;
STICKLINE(买线<卖线,CLOSE,OPEN,2,0),ColorFF4242;
STICKLINE(买线<卖线,LOW,HIGH,1,0),ColorFF4242;
STICKLINE(CROSS(买线,卖线) OR CROSS(卖线,买线),OPEN,CLOSE,3,0),color00ffff;
V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);
HY1a:=REF(EMA(V1,3),1);
DRAWTEXT(CROSS(CLOSE,HY1a),LOW,'↑'),LINETHICK2,coloryellow;
DRAWTEXT(CROSS(HY1a,CLOSE),HIGH*1.05,'↓'),LINETHICK3,colorwhite;
APP:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
ZL:=IF((CLOSE > OPEN),(APP * (HIGH - LOW)),IF((CLOSE < OPEN),(APP * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));
SF:=IF((CLOSE > OPEN),(0 - (APP * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (APP * (HIGH - LOW))),(0 - (VOL / 2))));
库存能量:=MA((ZL + SF),2);
库存平均:=MA((ZL + SF),5);
DRAWTEXT(CROSS(库存能量,库存平均),L*0.97,'↑'),ColorFF00FF,linethick4;
线性:=((((((CLOSE * 5) + (REF(CLOSE,1) * 4)) + (REF(CLOSE,2) * 3)) + (REF(CLOSE,3) * 2)) + (REF(CLOSE,4) * 1)) / ((((5 + 4) + 3) + 2) + 1));
导航:线性,colorgreen;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图