N:=10;DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA),COLORSTICK;AAA:=SUM(MACD,BARSLAST(CROSS(MACD,0))+1);CCC:=REF(SUM(MACD,BARSLAST(CROSS(MACD,0))+1),BARSLAST(CROSSDOWN(MACD,0))+1);BBB:=SUM(MACD,BARSLAST(CROSSDOWN(MACD,0))+1);DDD:=REF(SUM(MACD,BARSLAST(CROSSDOWN(MACD,0))+1),BARSLAST(CROSS(MACD,0))+1);HA:=HHV(H,BARSLAST(CROSS(MACD,0))+1),NODRAW;HC:=REF(HA,BARSLAST(CROSSDOWN(MACD,0))),NODRAW;LB:=LLV(L,BARSLAST(CROSSDOWN(MACD,0))+1),NODRAW;LP:=REF(LB,BARSLAST(CROSS(MACD,0)));LD:=REF(LLV(L,REF(BARSLAST(CROSSDOWN(MACD,0)),1)+1),BARSLAST(CROSSDOWN(MACD,0))),NODRAW;LX:=REF(HHV(H,REF(BARSLAST(CROSS(MACD,0)),1)+1),BARSLAST(CROSS(MACD,0))),NODRAW;AA:=IF(MACD>=0,AAA,NULL),NODRAW;BB:=IF(MACD<=0,BBB,NULL),NODRAW;//CC:=IF(MACD>=C,NULL),NODRAW;DD:=IF(MACD<=0,DDD,NULL),NODRAW;//第3条:=&&HA>HC&&HA=HHV(H,N);F4:=BB<DD&&LB<LP&&LB=LLV(L,N);COND:=第3条&&ISUP;CON
文华期货软件指标赢顺云指标公式期货指标公式大全趋势 来自淘豆网m.daumloan.com转载请标明出处.