自定义觅庄建仓源码

 一款源于大智慧的操作指示指标,包含了增减仓提示等功能

Var2:=REF(LOW,1);

Var3:=SMA(ABS(LOW-Var2),13,1)/SMA(MAX(LOW-Var2,0),13,1)*100;

Var4:=EMA(IF(CLOSE*1.2,Var3*13,Var3/13),13);

Var5:=LLV(LOW,34);

Var6:=HHV(Var4,34);

Var7:=IF(LLV(LOW,56),1,0);

Var8:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7;

Var9:=EMA(CLOSE,5);

Var10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);

STICKLINE(Var9>REF(Var9,1),0,Var9*0.25,4,0),color10E410;

减仓:IF(Var9>REF(Var9,1),Var9*0.25,0),color10E410,STICK;

STICKLINE(Var9<REF(Var9,1),0,Var9*0.25,4,0),color1010FF;

增仓:IF(Var9<REF(Var9,1),Var9*0.25,0),color1010FF,STICK;

STICKLINE(Var8>REF(Var8,1),0,Var8,4,0),color10FFFF;

主力进场:IF(Var8>REF(Var8,1),Var8,0),color10FFFF,STICK;

STICKLINE(Var8<REF(Var8,1),0,Var8*1.5,4,0),colorFFF810;

洗缓:IF(Var8<REF(Var8,1),Var8*1.5,0),colorFFF810,STICK;

增减力度:Var10*0.2,colorFF7676;

XL1:=MA(LOW,2)*0.96;

XL2:=MA(LOW,26)*0.85;

XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);

STICKLINE(XL3,0,Var8*3,4,0),Color006EFF;

买:XL3,Color006EFF,STICK;

DRAWTEXT(XL3,Var8*3.5,'买'),Color006EFF;

DRAWICON(XL3,15,1),colorred;

 



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

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

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

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