Trading Router

NinjaTrader 7 TradingRouter Strategy Settings

It is strongly suggested that you close all positions and pending orders before applying Trading Router Strategy on NinjaTrader 7

Trading Router Client Token


client tokens for NinjaTrader 7 to receive Tradingview signals

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


Trading Router NinjaTrader 7 Strategy 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.


Prefix Suffix example
NinjaTrader 7 settings for prefix and suffix in symbols of received Tradingview alert messages
  • token=master19dd529542d4b79d2bc4, n_signal=buy, symbol=AUDUSD, n_qty=1 (note: buy 1 quantity of $AUDUSD)


General Section


other Trading Router NinjaTrader 7 Strategy settings

  • Maximum bars look back : set TwoHundredFiftySix to have better performance.
  • Min. bars required : set 1 to have better performance.
  • Enabled : set True to enable the strategy, otherwise the strategy will not work.


Order properties


Trading Router NinjaTrader 7 settings for 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.