公式网 股票指标公式源码分享 登录 注册
公式指标平网
未来函数检测
首页 金钻指标 通达信公式 大智慧公式 同花顺公式 文华财经公式 东财通公式 飞狐公式 操盘手公式 其他公式 公式解答 股票软件 股票池
当前位置:→ 公式网 > 飞狐公式 > 正文 → 正文

飞狐神奇线副图指标

发布时间:2016/6/6 5:53:21  浏览次数:

飞狐神奇线副图指标

源码

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);

飞狐神奇线副图指标

资源下载链接   资源大小:unknow

手机移动版 - 关于我们 - 联系我们 - 广告合作 - 下载声明 - 网站帮助 - 友情链接 - 网站地图 - TOP
湘ICP备09016573号-3 增值电信业务经营ICP许可证:湘B2-20210269 湘公网安备43108102000039号
Copyright © GSZX.COM.CN ,All Rights Reserved.
股票公式,股票指标,股票软件,股票知识