文章预览
用法简单,一看就明白。 YF_DDI:=(AMOUNT / VOL); YF_JJ:=((OPEN + CLOSE) / 2); YF_DDING:=EMA(CLOSE,6); YF_MMD:=MA(YF_DDING,1); YF_XXD:=EMA(CLOSE,18); YF_YYZ:=REF(YF_MMD,1); YF_XXD1:=REF(YF_XXD,1); YF_YYZ1:=BARSCOUNT(CLOSE); YF_TDCG:=IF((YF_YYZ1 = 1),0,(((YF_MMD - YF_YYZ) / YF_YYZ) * 100)); YF_ZFD:=IF((YF_YYZ1 = 1),0,(((YF_XXD - YF_XXD1) / YF_XXD1) * 100)); YF_JSD2:=REF(CLOSE,1); CLOSE1:=IF((YF_YYZ1 = 1),0,(((CLOSE - YF_JSD2) / YF_JSD2) * 100)); YF_JZDF:=IF((YF_YYZ1 = 1),((CLOSE + OPEN) / 2),YF_YYZ); JJ1:=REF(YF_MMD,2); JJ2:=(((YF_MMD + YF_YYZ) + JJ1) / 3); JJ02:=(((ABS((YF_MMD - JJ2)) + ABS((YF_YYZ - JJ2))) + ABS((JJ1 - JJ2))) / 3); SY:=REF(YF_TDCG,1); YF_ZFD1:=REF(YF_TDCG,2); YF_ZFD2:=IF((YF_YYZ1 < 3),0,((JJ02 / YF_MMD) * 100)); YF_DHPXS:=IF((YF_YYZ1 < 3),0,IF((((YF_TDCG < 0) AND (SY < 0)) AND (YF_ZFD1 < 0)),(0 - 1),1)); SS:=REF(YF_TDCG,1); YF_YZFZ:=IF((((YF_YYZ1 > 11) AND (SS < 0)) AND (YF_TDCG > 0)),1,0); YF_JSD21:=BARSLAST((YF_YZFZ = 1)); YF_JSD:=REF(YF_JSD21,1)
………………………………