决策之王通达信公式 主图 源码附图

XX:=(HHV(C,10)-LLV(C,10))*0.999;
V1:=IF((C>(LLV(C,10)+XX) OR C>LLV(C,10)*1.1) AND C=HHV(C,5) AND C>REF(C,1),1,0);
{比10日低点高一定幅度,是五日高点}
V2:=IF((C<(HHV(C,10)-XX) OR C<HHV(C,10)*0.9) AND C=LLV(C,5) AND C<REF(C,1),1,0);
V3:=IF(V1=1,1,IF(V2=1,0,2));
MR:=V3=1 AND REF(V3,1)!=1;
MC:=V3=0 AND REF(V3,1)!=0;
V4:=IF(BARSLAST(MR)>BARSLAST(MC),0,1);
{股票指标网 }
STICKLINE(V4=1 ,CLOSE,OPEN,2,0)COLORRED;
STICKLINE(V4=1 AND REF(V4,1)=1 AND C<HHV(C,10)*0.97 AND C>HHV(C,10)*0.93 
  AND C<LLV(C,10)*1.15,CLOSE,OPEN,2,0)COLORYELLOW;{黄s回调买入提示}
STICKLINE(V4=0 ,CLOSE,OPEN,2,0)COLORGREEN;
 
DRAWICON(V4=1 AND REF(V4,1)=0 ,L*0.99,1);
DRAWICON(V4=0 AND REF(V4,1)=1 ,H*1.01,2);
 
 
{=1持股,=0持币?}{
STICKLINE((V4 = 0) AND CLOSE >= OPEN,CLOSE,OPEN,8,1),COLORF0F000;
STICKLINE((V4 = 0) AND CLOSE >= OPEN,CLOSE,HIGH,0.001,0),COLORF0F000;
STICKLINE((V4 = 0) AND CLOSE >= OPEN,LOW,OPEN,0.001,0),COLORF0F000;
STICKLINE((V4 = 0) AND CLOSE < OPEN,CLOSE,OPEN,8,0),COLORF0F000;
STICKLINE((V4 = 0) AND CLOSE < OPEN,CLOSE,LOW,0.001,0),COLORF0F000;
STICKLINE((V4 = 0) AND CLOSE < OPEN,HIGH,OPEN,0.001,0),COLORF0F000;
STICKLINE((V4 = 1) AND CLOSE >= OPEN,CLOSE,OPEN,8,1),COLOR0000FF;
STICKLINE((V4 = 1) AND CLOSE >= OPEN,CLOSE,HIGH,0.001,1),COLOR0000FF;
STICKLINE((V4 = 1) AND CLOSE >= OPEN,LOW,OPEN,0.001,1),COLOR0000FF;
STICKLINE((V4 = 1) AND CLOSE < OPEN,CLOSE,OPEN,7,1),LINETHICK3,COLOR0000FF;
STICKLINE((V4 = 1) AND CLOSE < OPEN,CLOSE,OPEN,7,0),COLORF0F000;
STICKLINE((V4 = 1) AND CLOSE < OPEN,HIGH,OPEN,0.001,0),COLOR0000FF;
STICKLINE((V4 = 1) AND CLOSE < OPEN,CLOSE,LOW,0.001,0),COLOR0000FF;}
 



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

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

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

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