您的位置:爱股网 > 查股公式 > 通达信宁波二号 杀跌买副图指标公式源码[查股公式]
股票行情消息数据:

通达信宁波二号 杀跌买副图指标公式源码[查股公式]

2022/5/1 19:05:39

通达信宁波二号 杀跌买副图指标公式源码

B:-1*(HHV(H,6)-C)/(HHV(HIGH,6)-LLV(L,6))+1,COLOR999999,NODRAW;
{FF:IF(B=1,0.8,0),COLORYELLOW;
CC:IF(B=0,0.5,1),COLOR00FF00;
DRAWTEXT(CROSS(B,0.99),0.5,'涨停'),COLOR0000FF;
DRAWTEXT(CROSS(0.001,B),0.5,'跌停'),COLORFFFF00;}
买:IF(CROSS(B,0.01),0.9,0),COLORFF00FF;
卖:IF(CROSS(0.99,B),0.5,1),COLORFFCC00;
DRAWTEXT(CROSS(B,0.01),0.2,'买'),COLOR0099FF;
DRAWTEXT(CROSS(0.99,B),0.7,'卖'),COLORFFCC00;
追涨停:IF(C>REF(C,1)*0.585,1,0),COLORYELLOW;


杀跌停:IF(C<REF(C,1)*0.902,0.5,1),COLOR00FF00,NODRAW;

DRAWTEXT(C<REF(C,1)*0.902,0.6,'杀跌'),COLORFFFF00;
{宁波二号}
T:=IF((BARSCOUNT(C)>7),(100)*((MA(C,7))/(LLV(MA(C,7),7)) - 1),1);
N:=IF((T>0.35),6,65);
W:=((-((100)*(HHV(H,N) - C))/(HHV(HIGH,N) - LLV(L,N))));
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
VAR4:=SMA(RV,3,1);
VAR5:=SMA(VAR4,3,1);
KK:=EMA(SMA(RG,3,1),2);
DD:=SMA(KK,3,1);
XG:=CROSS(W,-2) AND CROSS(VAR4,VAR5) AND CROSS(KK,DD);
STICKLINE(XG=1,0.8,1.5,0.8,0),COLORRED;
DRAWTEXT(XG=1,1.0,'涨停'),COLORRED;

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

股票公式分类

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