Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Do you guys use the BarsInProgress == 1 logic only for back tests, and have different code for live market? or do you use it both for backtests and also running the strategy with current market? In other words, do I need to separate that logic with "if (Historical){...Backtest logic...} else {...Live Market logic...}" ?
Hi Baruch:
I enter with:
SetStopLoss(myName, CalculationMode.Price, PriceStopLoss, false);
SetProfitTarget(myname, CalculationMode.Price, PriceTarget);
CodeOrder = EnterLongLimit(0,true,1,PriceIn,myname);
I think the main advantage is they are place at the market at the same time the Enter does. So if a Internet disconnection occurs, or my computer gets stuck or... the orders are alive at the market.
What would happen if you execute the EnterLongand internet gets desconnected just before the stoploss should be executed with Exit?
Hi Pak,
I enter the stop and profit orders immediately after the entry is executed. The advantage of using them with IOrder is that you can change the price whenever you like. So the stoploss you move to breakeven and to trailing stop and the profit you can move also if you need. Also they are put in the right place. That means that if you entered the trade at different price because of slippage you place the stop and profit target at correct places.
I'd like this thread to be the sharing of rulesets that you would like to be tested. Anyone with rulesets they want kept private should contact me via private message.
These are intended for Elite access only so please don't share with others …
for details.
Obviosly, the 99% winning trades went way lower :-( but now it's more realistic
Thanks to everyone who contributed to this thread for your posts. I learned a lot just from reading them.
Has anyone pushed the issues with backtesting in NT for their next release? If not, please post your wish (a one liner if possible) that I can then compile into a master list and send it of to our friends at NT, and see if they can put our ideas into release 8.
If someone has done this already, please let me know.