Randomtrader Backtest Tool

1. Get a feel for optimal trade parameters by randomizing some or all of the trade settings.

2. Time of entry: this should be any number from 1 through 380, the minutes of the trading session (minus 10 minutes).

3. To enter a fixed (non‐random) value, put in the same number in 'min' and 'max'.

For example, you want the trade to be taken at minute # 200 of the trading session. Each of 'Time of Daily Entry Max' and 'Time of Daily Entry Min' should be set to 200.

4. To enter a randomized value, type in the range from which you want the random value to be selected.

For example, you want the trade to be taken randomly within the first half hour of the session, type in 'Time of Daily Entry Max' = 30, and 'Time of Daily Entry Min' = 1.

5. Random long/short trigger. To randomize the long/short decision, select 'true' for each of the 'TradeLong' and 'TradeShort'.

6. Note the parameters remain the same throughout one run (i.e., for each push of the 'backtest' button), they are not re‐generated for each individual trade.

7. 'One trade in X bars'. Use this only if you want to take a trade less frequently than once per day. Otherwise this should be kept at 0.

Created By Dan Leontieff
NinjaTrader Version 7
File Size 2.8 KB
Create Date 07/14/2010
# of Downloads 568

Importing to NinjaTrader 7 is Easy!

To import your 3rd party app or add-on to NinjaTrader, simply follow these 3 steps:

  1. Download the app or add-on file to your desktop
  2. From the NinjaTrader Control Center window, select the menu File > Utilities > Import NinjaScript
  3. Select the downloaded file from your desktop

Questions?

Visit the NinjaScript File Sharing discussion in the NinjaTrader user forum to interact with fellow traders and the NinjaTrader support team.