飞狐神奇线副图指标
源码
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);
移动端首页 | PC端
© by gszx.com.cn Mobile Web
飞狐神奇线副图指标
源码
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);