indicator of forex trading strategies in java