NinjaTrader 8 TradingRouter Strategy Settings
Trading Router Client Token
Trading Router Client Tokenis an identifer of your account.
You can find your client token on the dashboard of trading router website. You must input client token to connect to server. Client token is a string starting with "client".
Miscellaneous Settings
"Start Time (Local Time)" and "End Time (Local Time)" control when the Strategy should be active. The Strategy will only active afer Start Time and before End Time. If you want the Strategy to be active all the time, you can set Start Time to 00:00 and End Time to 24:00
Prefix is added before symbol and Suffix is added after symbol. Set them to empty if there is no prefix or suffix for the symbol.
Setup Section
- Maximum bars look back : set 256 to have better performance.
- Bars required to trade : set 1 to have better performance.
- Enabled : tick this option to enable the strategy, otherwise the strategy will not work.
- Start behavior : you can set any option.
Order properties
- Time in force : set GTC so that the buylimit, buystop, selllimit, sellstop commands can work. If you set DAY, the orders created by buylimit, buystop, selllimit, sellstop commands will be cancelled at the end of day. Never set GTD, the buylimit, buystop, selllimit, sellstop commands will not work for GTD.
Only One Position
Since version 2.02, you can have a risk management feature that only one position can be created
- Only One Position : The default is False. If you set it to True, only one position can be creatd by the Strategy. That is the whole system can have maximum one position. For example, the Strategy creats a EURUSD long position, a new alert comes trying to create a AUDUSD position, but this new alert will be ignored. After the position is closed, the next alert can create a new position.
- Only One Position Per Symbol : The default is False. If you set it to True, only one position for a symbol can be creatd by the Strategy. That is, evey symbol can have maximum one position. For example, the Strategy creates a EURUSD long position, a new alert comes trying to create a AUDUSD position,the AUDUSD position will be created. Another new alert comes trying to create another EURUSD psotion, this alert will be ignored because there is already a EURUSD position. Only after the existing EURUSD position is closed, a new EURUSD position can be created.
If you set both "Only One Position" and "Only One Position Per Symbol" to True, it has the same effect as if you only set "Only One Position" to True.
