源码

NN:=20;N:=6;

Var1:=REF(CLOSE,1);
Var2:=MAX(REF(CLOSE,1),REF(Var1,1));
Var3:=MIN(REF(CLOSE,1),REF(Var1,1));
Var4:=STICKLINE(CLOSE>Var2,CLOSE,Var2,8,0);
Var5:=STICKLINE(CLOSEVar3 AND REF(CLOSE,1)>=REF(CLOSE,2),CLOSE,Var2,8,0);
Var6:=STICKLINE(CLOSE=REF(Var3,1),Var1,Var3,8,0);
Var7:=STICKLINE(CLOSE>Var1 AND REF(CLOSE,1)>=REF(Var3,1),Var1,CLOSE,8,0);
Var8:=STICKLINE(CLOSE=Var1 AND REF(CLOSE,1)>=REF(Var3,1),Var1,CLOSE,8,0);
Var9:=STICKLINE(CLOSE>Var2 AND REF(CLOSE,1)
STICKLINE(Var1>=REF(CLOSE,2) AND CLOSE=REF(CLOSE,2),Var1,CLOSE,8,0);
VarA:=STICKLINE(REF(CLOSE,1)=Var1 AND CLOSE
VarB:=STICKLINE(CLOSE=REF(Var3,1),CLOSE,Var3,8,0);
VarC:=STICKLINE(CLOSE
VarD:=STICKLINE(CLOSE>Var2 AND REF(CLOSE,1)
VarE:=STICKLINE(CLOSE>Var3 AND CLOSE
VarF:=STICKLINE(CLOSE
STICKLINE(CLOSE=Var1 AND REF(CLOSE,1)
Var10:=STICKLINE(CLOSE>Var2,CLOSE,Var2,6,0);
Var11:=STICKLINE(CLOSEVar3 AND REF(CLOSE,1)>=REF(CLOSE,2),CLOSE,Var2,6,0);
Var12:=STICKLINE(CLOSE=REF(Var3,1),Var1,Var3,6,0);
Var13:=STICKLINE(CLOSE>Var1 AND REF(CLOSE,1)>=REF(Var3,1),Var1,CLOSE,6,0);
Var14:=STICKLINE(CLOSE=Var1 AND REF(CLOSE,1)>=REF(Var3,1),Var1,CLOSE,6,0);
Var15:=STICKLINE(CLOSE>Var2 AND REF(CLOSE,1)
STICKLINE(Var1>=REF(CLOSE,2) AND CLOSE=REF(CLOSE,2),Var1,CLOSE,6,0);
Var16:=STICKLINE(REF(CLOSE,1)=Var1 AND CLOSE
Var17:=STICKLINE(CLOSE=REF(Var3,1),CLOSE,Var3,6,0);
Var18:=STICKLINE(CLOSE
Var19:=STICKLINE(CLOSE>Var2 AND REF(CLOSE,1)
Var1A:=STICKLINE(CLOSE>Var3 AND CLOSE
Var1B:=STICKLINE(CLOSE
STICKLINE(CLOSE=Var1 AND REF(CLOSE,1)
Var1C:=STICKLINE(CLOSE>Var2,CLOSE,Var2,4,0);
Var1D:=STICKLINE(CLOSEVar3 AND REF(CLOSE,1)>=REF(CLOSE,2),CLOSE,Var2,4,0);
Var1E:=STICKLINE(CLOSE=REF(Var3,1),Var1,Var3,4,0);
Var1F:=STICKLINE(CLOSE>Var1 AND REF(CLOSE,1)>=REF(Var3,1),Var1,CLOSE,4,0);
Var20:=STICKLINE(CLOSE=Var1 AND REF(CLOSE,1)>=REF(Var3,1),Var1,CLOSE,4,0);
Var21:=STICKLINE(CLOSE>Var2 AND REF(CLOSE,1)
STICKLINE(Var1>=REF(CLOSE,2) AND CLOSE=REF(CLOSE,2),Var1,CLOSE,4,0);
Var22:=STICKLINE(REF(CLOSE,1)=Var1 AND CLOSE
Var23:=STICKLINE(CLOSE=REF(Var3,1),CLOSE,Var3,4,0);
Var24:=STICKLINE(CLOSE
Var25:=STICKLINE(CLOSE>Var2 AND REF(CLOSE,1)
Var26:=STICKLINE(CLOSE>Var3 AND CLOSE
Var27:=STICKLINE(CLOSE
STICKLINE(CLOSE=Var1 AND REF(CLOSE,1)
Var28:=STICKLINE(CLOSE>Var2,CLOSE,Var2,2,0);
Var29:=STICKLINE(CLOSEVar3 AND REF(CLOSE,1)>=REF(CLOSE,2),CLOSE,Var2,2,0);
Var2A:=STICKLINE(CLOSE=REF(Var3,1),Var1,Var3,2,0);
Var2B:=STICKLINE(CLOSE>Var1 AND REF(CLOSE,1)>=REF(Var3,1),Var1,CLOSE,2,0);
Var2C:=STICKLINE(CLOSE=Var1 AND REF(CLOSE,1)>=REF(Var3,1),Var1,CLOSE,2,0);
Var2D:=STICKLINE(CLOSE>Var2 AND REF(CLOSE,1)
STICKLINE(Var1>=REF(CLOSE,2) AND CLOSE=REF(CLOSE,2),Var1,CLOSE,2,0);
Var2E:=STICKLINE(REF(CLOSE,1)=Var1 AND CLOSE
Var2F:=STICKLINE(CLOSE=REF(Var3,1),CLOSE,Var3,2,0);
Var30:=STICKLINE(CLOSE
Var31:=STICKLINE(CLOSE>Var2 AND REF(CLOSE,1)
Var32:=STICKLINE(CLOSE>Var3 AND CLOSE
Var33:=STICKLINE(CLOSE
STICKLINE(CLOSE=Var1 AND REF(CLOSE,1)
Var34:=REF(CLOSE,1);
MA20: MA(CLOSE,NN);
Var35:=MA(CLOSE,5);
Var36:=SMA(MAX(CLOSE-Var34,0),N,1)/SMA(ABS(CLOSE-Var34),N,1)*100;
Var37:=SMA(MAX(CLOSE-Var34,0),12,1)/SMA(ABS(CLOSE-Var34),12,1)*100;
Var38:=SMA(MAX(CLOSE-Var34,0),24,1)/SMA(ABS(CLOSE-Var34),24,1)*100;
Var39:=IF(CROSS(Var36,Var38),LOW,REF(LOW,BARSLAST(CROSS(Var36,Var38))));
Var3A:=IF(CROSS(Var38,Var36),HIGH,REF(HIGH,BARSLAST(CROSS(Var38,Var36))));
Var3B:=IF(CLOSE>=MA(CLOSE,NN),80,50);
Var3C:=IF(CLOSE>=MA(CLOSE,NN),50,20);
Var3D:=IF(Var36=Var3B,HHV(REF(HIGH,1),BARSLAST(Var36>=Var3B AND REF(Var36,1)=Var3B AND REF(Var36,1)
Var3E:=IF(HIGH>Var3D,LOW,REF(LOW,BARSLAST(HIGH>Var3D)));
Var3F:=IF(HIGH>Var3D,Var36,REF(Var36,BARSLAST(HIGH>Var3D)));
Var40:=IF(HIGH>Var3E AND Var36Var3E AND Var36
Var41:=IF(Var36>Var3C AND REF(Var36,1)<=Var3C,LLV(REF(LOW,1),BARSLAST(Var36<=Var3C AND REF(Var36,1)>Var3C)-1),REF(LLV(REF(LOW,1),BARSLAST(Var36<=Var3C AND REF(Var36,1)>Var3C)-1),BARSLAST(Var36>Var3C AND REF(Var36,1))));
Var42:=IF(LOW
Var43:=IF(LOW
Var44:=IF(LOWVar43 AND Var36>Var38,LOW,REF(LOW,BARSLAST(LOWVar43 AND Var36>Var38)));
多防线: Var44;
空防线: Var40;
Var45:=AMOUNT/VOL/100;
Var46:=Var45>HIGH OR Var45
STICKLINE(Var46<1,Var45-0.002,Var45+0.002,8,1);


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。