飞狐神奇线副图指标

源码

N:=30;

Var1:=BARSCOUNT(CLOSE);
Var2:=MA(CLOSE, 30);
Var3:=LLV(LOW, N);
Var4:=BARSLAST(Var3<REF(Var3, 1));
Var5:=IF(Var4>0, LLV(Var3, Var4), Var3);
IF(Var2=1000, Var2*10000, IF(Var4>0, LLV(Var3, Var4), Var3));
Var6:=Var5+Var5*(Var4-1)*0.25/100;
Var7:=IF(Var6<REF(Var6, 1), MA(CLOSE, 5), Var6);
IF(Var7>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var7);
Var8:=Var5+Var5*(Var4-1)*0.5/100;
Var9:=IF(Var8<REF(Var8, 1), MA(CLOSE, 5), Var8);
IF(Var9>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var9);
Var10:=Var5+Var5*(Var4-1)/100;
Var11:=IF(Var10<REF(Var10, 1), MA(CLOSE, 5), Var10);
IF(Var11>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var11);
Var12:=Var5+Var5*(Var4-1)*1.25/100;
Var13:=IF(Var12<REF(Var12, 1), MA(CLOSE, 5), Var12);
IF(Var13>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var13);
Var14:=Var5+Var5*(Var4-1)*1.510/100;
Var15:=IF(Var14<REF(Var14, 1), MA(CLOSE, 5), Var14);
IF(Var15>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var15);
Var16:=Var5+Var5*(Var4-1)*1.618/100;
Var17:=IF(Var16<REF(Var16, 1), MA(CLOSE, 5), Var16);
IF(Var17>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var17), CIRCLEDOT;
Var18:=Var5+Var5*(Var4-1)*2/100;
Var19:=IF(Var18<REF(Var18, 1), MA(CLOSE, 5), Var18);
IF(Var19>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var19);
Var20:=Var5+Var5*(Var4-1)*2.618/100;
Var21:=IF(Var20<REF(Var20, 1), MA(CLOSE, 5), Var20);
IF(Var21>CLOSE*2.618, IF(Var19>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var19), Var21);
Var22:=Var5+Var5*(Var4-1)*3.618/100;
Var23:=IF(Var22<REF(Var22, 1), MA(CLOSE, 5), Var22);
IF(Var23>CLOSE*2.618, IF(Var21>CLOSE*2.618, IF(Var19>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var19), Var21), Var23);
Var24:=Var5+Var5*(Var4-1)*4.618/100;
Var25:=IF(Var24<REF(Var24, 1), MA(CLOSE, 5), Var24);
IF(Var25>CLOSE*2.618, IF(Var23>CLOSE*2.618, IF(Var21>CLOSE*2.618, IF(Var19>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var19), Var21), Var23), Var25);
Var26:=Var5+Var5*(Var4-1)*6.382/100;
Var27:=IF(Var26<REF(Var26, 1), MA(CLOSE, 5), Var26);
IF(Var27>CLOSE*2.618, IF(Var25>CLOSE*2.618, IF(Var23>CLOSE*2.618, IF(Var21>CLOSE*2.618, IF(Var19>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var19), Var21), Var23), Var25), Var27);
Var28:=Var5+Var5*(Var4-1)*7.618/100;
Var29:=IF(Var28<REF(Var28, 1), MA(CLOSE, 5), Var28);
IF(Var29>CLOSE*2.618, IF(Var27>CLOSE*2.618, IF(Var25>CLOSE*2.618, IF(Var23>CLOSE*2.618, IF(Var21>CLOSE*2.618, IF(Var19>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var19), Var21), Var23), Var25), Var27), Var29);
Var30:=Var5+Var5*(Var4-1)*8.618/100;
Var31:=IF(Var30<REF(Var30, 1), MA(CLOSE, 5), Var30);
IF(Var31>CLOSE*2.618, IF(Var29>CLOSE*2.618, IF(Var27>CLOSE*2.618, IF(Var25>CLOSE*2.618, IF(Var23>CLOSE*2.618, IF(Var21>CLOSE*2.618, IF(Var19>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var19), Var21), Var23), Var25), Var27), Var29), Var31);
Var32:=Var5+Var5*(Var4-1)*9.618/100;
Var33:=IF(Var32<REF(Var32, 1), MA(CLOSE, 5), Var32);
IF(Var33>CLOSE*2.618, IF(Var31>CLOSE*2.618, IF(Var29>CLOSE*2.618, IF(Var27>CLOSE*2.618, IF(Var25>CLOSE*2.618, IF(Var23>CLOSE*2.618, IF(Var21>CLOSE*2.618, IF(Var19>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var19), Var21), Var23), Var25), Var27), Var29), Var31), Var33);
Var34:=Var5+Var5*(Var4-1)*10.618/100;
Var35:=IF(Var34<REF(Var34, 1), MA(CLOSE, 5), Var34);
IF(Var35>CLOSE*2.618, IF(Var33>CLOSE*2.618, IF(Var31>CLOSE*2.618, IF(Var29>CLOSE*2.618, IF(Var27>CLOSE*2.618, IF(Var25>CLOSE*2.618, IF(Var23>CLOSE*2.618, IF(Var21>CLOSE*2.618, IF(Var19>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var19), Var21), Var23), Var25), Var27), Var29), Var31), Var33), Var35);
Var36:=Var5+Var5*(Var4-1)*11.618/100;
Var37:=IF(Var36<REF(Var36, 1), MA(CLOSE, 5), Var36);
Var38:=IF(Var37>CLOSE*2.618, IF(Var35>CLOSE*2.618, IF(Var33>CLOSE*2.618, IF(Var31>CLOSE*2.618, IF(Var29>CLOSE*2.618, IF(Var27>CLOSE*2.618, IF(Var25>CLOSE*2.618, IF(Var23>CLOSE*2.618, IF(Var21>CLOSE*2.618, IF(Var19>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var19), Var21), Var23), Var25), Var27), Var29), Var31), Var33), Var35), Var37);




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

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

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

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