Code is free, runs on NinjaTrader (which is also free). Try to test as many combinations as you can, before putting real money at stake. 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.
RandomZen does not accept PMs or email, so i've removed the attachment and locked the thread. He/She can repost in clear text if there is still interest in sharing.