NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 2 of 2
Search: Posts Made By: shodson
Forum: NinjaTrader December 11th, 2016, 08:07 PM
Replies: 21
Views: 6,335
Posted By shodson
Stop using GetCurrentBid() or GetCurrentAsk(),...

Stop using GetCurrentBid() or GetCurrentAsk(), they won't work in a backtest, just use Close[0]. Also you don't need to check the time in every if, make it its own if statement


protected...
Forum: NinjaTrader December 11th, 2016, 06:55 PM
Replies: 21
Views: 6,335
Posted By shodson
I never use bid and ask in a backtest. I just...

I never use bid and ask in a backtest. I just always look at the closing price.

I think you would have to do Market Replay to test bid/ask values.
Showing results 1 to 2 of 2

What unexpected challenges have you encountered while trading on a "Funded Trader" platform?

 


 
 


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top