您的位置:查股网 > 查股公式 > 通达信短中长主力线副图指标源码[查股公式]
股票行情消息查询:
大盘云图

通达信短中长主力线副图指标源码[查股公式]

2022/9/15 8:26:20

短期RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
短期K:=SMA(短期RSV,4.5,1);
短期D:=SMA(短期K,3,1);
短期主力线:3*短期K-2*短期D,COLORCYAN,DOTLINE;
中期RSV:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
中期K:=SMA(中期RSV,9,1);
中期D:=SMA(中期K,3,1);
中期主力线:3*中期K-2*中期D,COLORGREEN,DOTLINE;
长期RSV:=(CLOSE-LLV(LOW,40))/(HHV(HIGH,40)-LLV(LOW,40))*100;
长期K:=SMA(长期RSV,18,1);
长期D:=SMA(长期K,3,1);
长期主力线:3*长期K-2*长期D,COLORBLUE;
RSI自设:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
操作线条件1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
操作线条件2:=SMA(操作线条件1,13,8);
操作线:CEILING(SMA(操作线条件2,13,8)),COLORRED,LINETHICK2;
红绿柱条件1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;
红绿柱条件2:=SMA(红绿柱条件1,9,1)+100;
红绿柱条件3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
红绿柱条件4:=SMA(红绿柱条件3,3,1);
红绿柱条件5:=SMA(红绿柱条件4,3,1)+100;
红绿柱条件6:=红绿柱条件5-红绿柱条件2;
红绿柱条件7:=IF(红绿柱条件6>100,红绿柱条件6-100,0);
STICKLINE(REF(红绿柱条件7,1)<红绿柱条件7,红绿柱条件7,REF(红绿柱条件7,1),0.5,0),COLORRED;
STICKLINE(REF(红绿柱条件7,1)>红绿柱条件7,红绿柱条件7,REF(红绿柱条件7,1),0.5,0),COLORGREEN;DRAWTEXT_FIX(C>O,0.01,0.01,0,'
-10,COLORLICYAN;
DRAWTEXT(CURRBARSCOUNT=1,-10,' -10.00'),COLORLICYAN;
0,COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,0,' 0.00'),COLORGREEN;
20,COLORGREEN,DOTLINE;
DRAWTEXT(CURRBARSCOUNT=1,20,' 20.00'),COLORGREEN;
50,COLORYELLOW,DOTLINE;
DRAWTEXT(CURRBARSCOUNT=1,50,' 50.00'),COLORYELLOW;
80,COLORRED,DOTLINE;
DRAWTEXT(CURRBARSCOUNT=1,80,' 80.00'),COLORRED;
100,COLORRED;
DRAWTEXT(CURRBARSCOUNT=1,100,'  100.00'),COLORRED;

相关文章列表
天天查股公式列表

股票公式分类

查股网:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红查询 股票评级报告
广告客服:315126368   843010021
天天查股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29