Sample Advanced Automated Strategy v1.0 - NinjaTrader Programming | futures io social day trading
futures io futures trading


Sample Advanced Automated Strategy v1.0
Updated: Views / Replies:28,247 / 117
Created: by dsraider Attachments:15

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 15  
 
Thread Tools Search this Thread
 

Sample Advanced Automated Strategy v1.0

  #91 (permalink)
Elite Member
Kansas City, Mo
 
Futures Experience: Beginner
Platform: Ninjatrader
Broker/Data: Zen-fire
Favorite Futures: ES, Oil
 
Posts: 19 since Mar 2010
Thanks: 1 given, 11 received

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.

Reply With Quote
 
  #92 (permalink)
Elite Member
New York, NY
 
Futures Experience: Advanced
Platform: NinjaTrader IB
 
Posts: 2 since Jul 2010
Thanks: 0 given, 0 received

Newbie question

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?

Thanks much.

Reply With Quote
 
  #93 (permalink)
Elite Member
New York, NY
 
Futures Experience: Advanced
Platform: NinjaTrader IB
 
Posts: 2 since Jul 2010
Thanks: 0 given, 0 received

DUH!


Ok, I guess the RAR file that I downloaded IS a NinjaScript archive file. So I'm making things complicated by unzipping it myself.... Sorry.

Reply With Quote
 
  #94 (permalink)
Trading for Fun
New York, NY
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Amp Futures/Zen-Fire
Favorite Futures: ES
 
Posts: 142 since Dec 2009
Thanks: 41 given, 83 received

Another ds? There can be only one! Glad you got it figured out.

Dave

Reply With Quote
 
  #95 (permalink)
Elite Member
Castle Pines N, CO.
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Amp Futures/Zen-Fire)
Favorite Futures: ES
 
Posts: 201 since Jul 2009
Thanks: 196 given, 124 received

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..

Reply With Quote
 
  #96 (permalink)
Elite Member
Tucson, AZ
 
Futures Experience: Intermediate
Platform: Ninjatrader
Broker/Data: Mirus/Zen-Fire
Favorite Futures: CL, TF
 
LostTrader's Avatar
 
Posts: 74 since Sep 2009
Thanks: 21 given, 62 received

TSSuperTrend Strategy

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

OK, I figured out how to save the file in the Downloads section:
https://futures.io/free_downloads/ninjatrader/strategies/584-download.html?view


Last edited by LostTrader; August 4th, 2010 at 05:37 PM.
Reply With Quote
The following user says Thank You to LostTrader for this post:
 
  #97 (permalink)
Elite Member
The Netherlands
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: NINJATRADER Brokerage / Continumm
Favorite Futures: CL, FDAX
 
Ducman's Avatar
 
Posts: 458 since Nov 2010
Thanks: 398 given, 623 received

Can't get it backtesting

Hello Dave,

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?

Regards,

Ducman

Reply With Quote
 
  #98 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,238 since Jun 2009
Thanks: 29,350 given, 83,217 received


Ducman View Post
Hello Dave,

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?

Regards,

Ducman

Hi, please be more specific "can't get it to work" so we can help.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
 
  #99 (permalink)
Elite Member
The Netherlands
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: NINJATRADER Brokerage / Continumm
Favorite Futures: CL, FDAX
 
Ducman's Avatar
 
Posts: 458 since Nov 2010
Thanks: 398 given, 623 received

Mike,

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.

Ducman

Reply With Quote
 
  #100 (permalink)
Elite Member
Castle Pines N, CO.
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Amp Futures/Zen-Fire)
Favorite Futures: ES
 
Posts: 201 since Jul 2009
Thanks: 196 given, 124 received


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..

Reply With Quote

Reply



futures io > > > > > Sample Advanced Automated Strategy v1.0

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
VIDEO TUTORIAL: How to create an advanced MultiCharts EasyLanguage Strategy Big Mike MultiCharts 39 November 9th, 2017 04:35 AM
VIDEO TUTORIAL: How to create an advanced NinjaTrader Strategy Big Mike NinjaTrader 63 November 6th, 2016 03:25 PM
End of day sample strategy mrticks The Elite Circle 9 February 18th, 2011 07:37 AM
VIDEO TUTORIAL: How to create an advanced NinjaTrader Strategy Big Mike NinjaTrader Programming 0 January 26th, 2010 06:22 AM
Advanced Strategy Writing zeller4 NinjaTrader Programming 8 December 28th, 2009 12:21 AM


All times are GMT -4. The time now is 03:20 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts
Page generated 2017-12-11 in 0.13 seconds with 20 queries on phoenix via your IP 54.226.172.30