The error message reads "The Price Does Not Conform To The Minimum Price Variation For This Contract".
I have read https://www.multicharts.com/trading-sof ... _Rejection, and my settings look correct to me (see below).
* Automated Strategy.
* Broker: Interactive Brokers (IB).
* Broker Software: Trader Workstation (TWS)
* Instrument: EUR/USD FOREX CFD at IB SMART.
* Strategy works in backtest.
* Enter orders work in live trading.
* Exit orders (Profit Target and Stop Loss) do not work in live trading
* Are Instrument settings in QuoteManager correct?
- Price Scale: 1/100000
- Min Move: 1
- Big Point Value: 1
My Take Profit Code:
Code: Select all
SetStopContract;
SetProfitTarget(0.0003);