0 0

## 通达信坡度几何副图源码

2017-01-06
 X_1:=BACKSET(LLV(LOW,5)REF(HHV(HIGH,4),1),4); X_5:=BACKSET(X_4=0 AND REF(X_4,1)=1,2); X_6:=IF(X_5=1 AND REF(X_5,1)=0,1,0); X_7:=IF(LOW>REF(HIGH,1),1,IF(HIGHREF(X_9,1) AND LLV(LOW,X_8+1)=4 OR LLV(X_7,X_8)=(-1) OR LOWREF(X_11,X_8+1) AND X_10>REF(X_11,X_8) AND X_10>REF(X_10,REF(BARSLAST(X_3=(-1)),X_9+1)+X_9+1); X_17:=X_14 AND X_15 AND X_16; X_18:=IF(X_12=(-1) OR X_13=(-1) OR X_17,(-1),0); X_19:=IF(X_6=1 AND REF(X_9,1)>REF(X_8,1) AND HHV(HIGH,X_9+1)>REF(HHV(HIGH,X_9+1),1),1,0); X_20:=IF(X_6=1 AND REF(X_9,1)=4 OR HHV(X_7,X_9)=1),1,0); X_21:=X_9<4 AND HHV(X_7,X_9)!=1 OR REF(X_18,X_9)=0; X_22:=X_6=1 AND REF(X_9,1)REF(X_10,X_9+1) AND X_11>REF(X_10,X_9) AND X_11>REF(X_11,REF(BARSLAST(X_6=1),X_8+1)+X_8+1); X_24:=X_21 AND X_22 AND X_23; X_25:=IF(X_19=1 OR X_20=1 OR X_24,1,0); X_26:=BARSLAST(X_25=1); X_27:=BARSLAST(X_18=(-1)); X_28:=IF(X_18=(-1) AND REF(X_26,1)>REF(X_27,1) AND LLV(LOW,X_26+1)=4 OR LLV(X_7,X_26)=(-1) OR LOWREF(X_11,X_26+1) AND X_10>REF(X_11,X_26) AND X_10>REF(X_10,REF(BARSLAST(X_18=(-1)),X_27+1)+X_27+1); X_33:=X_30 AND X_31 AND X_32; X_34:=IF(X_28=(-1) OR X_29=(-1) OR X_33,(-1),0); X_35:=IF(X_25=1 AND REF(X_27,1)>REF(X_26,1) AND HHV(HIGH,X_27+1)>REF(HHV(HIGH,X_27+1),1),1,0); X_36:=IF(X_25=1 AND REF(X_27,1)=4 OR HHV(X_7,X_27)=1),1,0); X_37:=X_27<4 AND HHV(X_7,X_27)!=1 OR REF(X_18,X_27)=0; X_38:=X_25=1 AND REF(X_27,1)REF(X_10,X_27+1) AND X_11>REF(X_10,X_27) AND X_11>REF(X_11,REF(BARSLAST(X_25=1),X_26+1)+X_26+1); X_40:=X_37 AND X_38 AND X_39; X_41:=IF(X_35=1 OR X_36=1 OR X_40,1,0); X_42:=BARSLAST(X_41=1); X_43:=BARSLAST(X_34=(-1)); X_44:=IF(X_34=(-1) AND REF(X_42,1)>REF(X_43,1) AND LLV(LOW,X_42+1)=4 OR LLV(X_7,X_42)=(-1) OR LOWREF(X_11,X_42+1) AND X_10>REF(X_11,X_42) AND X_10>REF(X_10,REF(BARSLAST(X_34=(-1)),X_43+1)+X_43+1); X_49:=X_46 AND X_47 AND X_48; X_50:=IF(X_44=(-1) OR X_45=(-1) OR X_49,(-1),0); X_51:=IF(X_41=1 AND REF(X_43,1)>REF(X_42,1) AND HHV(HIGH,X_43+1)>REF(HHV(HIGH,X_43+1),1),1,0); X_52:=IF(X_41=1 AND REF(X_43,1)=4 OR HHV(X_7,X_43)=1),1,0); X_53:=X_43<4 AND HHV(X_7,X_43)!=1 OR REF(X_34,X_43)=0; X_54:=X_41=1 AND REF(X_43,1)REF(X_10,X_43+1) AND X_11>REF(X_10,X_43) AND X_11>REF(X_11,REF(BARSLAST(X_41=1),X_42+1)+X_42+1); X_56:=X_53 AND X_54 AND X_55; X_57:=IF(X_51=1 OR X_52=1 OR X_56,1,0); X_58:=BARSLAST(X_57=1); X_59:=BARSLAST(X_50=(-1)); X_60:=REF(BARSLAST(X_57=1),X_58+1)+X_58+1; X_61:=REF(BARSLAST(X_50=(-1)),X_59+1)+X_59+1; X_62:=BACKSET(X_50=(-1) AND REF(X_58,1)REF(X_59,1),X_61+1); X_64:=BACKSET(X_57=1 AND REF(X_58,1)>REF(X_59,1),X_59+1); X_65:=BACKSET(X_57=1 AND REF(X_58,1)REF(HIGH,X_70) AND 低到高REF(高到低,X_68); DRAWICON(X_72,低到高,2); DRAWICON(X_73,高到低,1);

0条评论