清泉子低位进通达信公式 副图 源码附图

N:=10;N1:=6;
VAR1:=REF(LOW,1);
VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;
VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3);
VAR4:=LLV(LOW,38);
VAR5:=HHV(VAR3,38);
VAR6:=IF(LLV(LOW,90),1,0);
VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;
STICKLINE(VAR7,0,VAR7,6,1),COLORFFAAFF;
趋势线:(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,COLORAABBDD;
VAR8:=REF(趋势线,1)<REF(趋势线,2) AND 趋势线<(-30) AND 趋势线>=REF(趋势线,1) OR (REF(CROSS((-30),趋势线),1) AND CROSS(趋势线,(-30))) OR 趋势线=(-30);
VAR9:=REF(趋势线,1)<REF(趋势线,2) AND 趋势线<(-20) AND 趋势线>(-25) AND 趋势线>=REF(趋势线,1) OR (REF(CROSS((-20),趋势线),1) AND CROSS(趋势线,(-20)));
WR1:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N));
WR2:100*(HHV(HIGH,N1)-CLOSE)/(HHV(HIGH,N1)-LLV(LOW,N1));
买进:VAR8;
STICKLINE(买进,(-1),200,3,0),COLORRED;
上市天数:BARSCOUNT(CLOSE),NODRAW,COLORWHITE;
买入天数:BARSLAST(买进),NODRAW,COLORCYAN;
VAR10:=REF(CLOSE,买入天数);
VAR11:=VAR10*1.05;
VAR12:=VAR10*0.85;
涨幅:(CLOSE-VAR10)/VAR10*100,NODRAW,COLORYELLOW;
VAR13:=CLOSE>VAR11;
VAR14:=CLOSE<VAR12;
VAR15:=VAR13 AND COUNT(REF(VAR13,1),买入天数)=0 AND COUNT(REF(VAR14,1),买入天数)=0;
VAR16:=VAR14 AND COUNT(REF(VAR14,1),买入天数)=0 AND COUNT(REF(VAR13,1),买入天数)=0;
DRAWICON(VAR15,50,1);
DRAWICON(VAR16,50,2);
止赢次数:SUM(VAR13 AND COUNT(REF(VAR13,1),买入天数)=0 AND COUNT(REF(VAR14,1),买入天数)=0,上市天数),NODRAW,COLORCYAN;
止损次数:SUM(VAR14 AND COUNT(REF(VAR14,1),买入天数)=0 AND COUNT(REF(VAR13,1),买入天数)=0,上市天数),NODRAW,COLORYELLOW;
总操作次数:止赢次数+止损次数,NODRAW,COLORCYAN;
成功率:止赢次数/总操作次数*100,NODRAW,COLORYELLOW;
VAR17:=止赢次数*10;
VAR18:=止损次数*2;
净赢幅:VAR17-VAR18,NODRAW,COLORCYAN;
{股票指标网 整理}
 



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

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

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

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