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)
Hi MXASJ, I've downloaded this autotrader of yours and it is very intresting. I don't know how it takes trades, but I was wondering if you'd be kind enough to modify it so it uses the TSsupertrend indicator that is on the download section. I'm not a programmer but I'd have done it myself. Thanks in advance.
Can you help answer these questions from other members on NexusFi?
Brand new to NinjaTrader and looking for some sample strategy code. Very interested in looking at the posts from dsraider and MXASJ. The downloads contain .cs files. The Import NinjaScript function is looking for a "NinjaScript Archive File". So my newbie question is........how do I import a cs file into NT7?
Followup.......MXASJ says his code runs in NT7. Is dsraider's code compatible as well?
If u just have a cs file u can copy it directly to the strategy or indicator director in Ninja.. U will then have to go in and edit and compile one of the script or indicatiors,, then the script and any errors will show up . Remember when u compile all scripts or indicators all compile,, so if an error shows up it may not be in the script u are compiling,, look carefully at the bottom errors to see which script its talking about..
I tried coding a strategy for the first time, and started with dsraider's sample (Thank you!!).
This uses some of that and roonius' TSSuperTrend v2.3 (which you must already have).
It is specifically written for NT 6.5 -- some things should be re-written if it were NT7 and I am not ready to go there yet. The reverse is klutzy because of NT 6.5 Internal Order handling.
Anyway just wanted to share to pay back some.
No guarantees of profitability! especially if you don't limit the times to trade...
Come to think of it, I've only tested it on a Range chart. LOL
I like your startegy set-up. It's a good learning tool. I don't seem to get it to do backtesting. I can using the standard build-in strategies but can't get it to work with this one. Do I overlook something?
When it runs the backtest it just doesn't give my any results. 0 trades and 0 profit. Using the same settings on a build in strategy or using the simulation mode works fine.
I just wonder if there are any special things to think about when performing backtesting.
Was this NT6 or 7? Post the code with the instrument and time frame u are testing, or take some screen shots to show whats working for u and not, so we are all on the same page..