源码
N:=30;
Var1:=BARSCOUNT(CLOSE);
Var2:=MA(CLOSE, 30);
Var3:=LLV(LOW, N);
Var4:=BARSLAST(Var3
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
IF(Var7>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var7);
Var8:=Var5+Var5*(Var4-1)*0.5/100;
Var9:=IF(Var8
IF(Var9>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var9);
Var10:=Var5+Var5*(Var4-1)/100;
Var11:=IF(Var10
IF(Var11>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var11);
Var12:=Var5+Var5*(Var4-1)*1.25/100;
Var13:=IF(Var12
IF(Var13>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var13);
Var14:=Var5+Var5*(Var4-1)*1.510/100;
Var15:=IF(Var14
IF(Var15>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var15);
Var16:=Var5+Var5*(Var4-1)*1.618/100;
Var17:=IF(Var16
IF(Var17>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var17), CIRCLEDOT;
Var18:=Var5+Var5*(Var4-1)*2/100;
Var19:=IF(Var18
IF(Var19>CLOSE*2.618, HHV(HIGH, 55)*1.618, Var19);
Var20:=Var5+Var5*(Var4-1)*2.618/100;
Var21:=IF(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
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
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
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
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
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
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
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
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);