指标来源于本论坛,进行了优化,再次谢谢原作者。 VAR1:=VOL / (((HIGH - LOW) * 2) - ABS(CLOSE - OPEN)); MP:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2))); MP2:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2)))); BSC:=(MP + MP2); MA1:=MA(BSC,5),COLORCYAN; MA2:=MA(BSC,10),COLORYELLOW; STICKLINE( MA1>MA2,MA1,MA2,1,0)COLORRED; STICKLINE( MA1<MA2,MA1,MA2,1,0)COLORGREEN; 0,POINTDOT; |
