I´ve downloaded the NT last version and began to do some backtest but I think something might not run good.
For example I run this simple code
if (Close[0]>=Close[1])
{
EnterLong(100000, "BUY");
}
ExitLong();
When you run a simple backtest for Range bars, the results come out but:
- If you look at the executed trades you´ll see that between the Buy and sell there are several bars in the chart when following the code the Sell must be the next bar after the buy; although the Strategy Analyzer column that call " # Bars" says 2, weird
- If you call a chart from the executions list, you could see even that actually there are "Buys" in down bars, I can not understand that
Please let me know if it's something that I'm wrongly doing or if I must to downgrade my NT to the previous version.
Meanwhile I gonna downgrade to NT previous version. Please review and debug it.
Thanks a lot
Here you go a sample as you can see in the image added. This result was for a 9 range bar, and strategy analyzer still gives a 4 range bar and bad sell signals
Comment