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,325 / 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

  #61 (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

Okay, I MIGHT have a solution. The default settings for this strat (if memory serves) are set to volume charts. I once read that using a multi-timeframe strat requires not only that all charts are the same (time, volume, range) but that the main chart needs to be the lowest common denominator of all of them. So, if you know how, try changing the latter two from volume to say, 30 and 60 minute charts, and try again.

Let me know if you need help doing that. Otherwise, let me know if that made it work.

Dave

Reply With Quote
 
  #62 (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

BarsInProgress

Here is what I got from Ninja Support... Its pretty cool if you use CurrentBar BarsInProgress == 0 and BarsInProgress ==1 and see how your bars line up.. I had to do this to figure out where to reset my variables..

Dear gg80108,

NinjaTrader_RyanM has just replied to a thread you have subscribed to entitled - BarsInProgress - in the Strategy Development forum of NinjaTrader Support Forum.

This thread is located at:
BarsInProgress - NinjaTrader Support Forum

Here is the message that has just been posted:

***************
Hello GG80108,

Yes, you can combine range with minute bars when working with BarsInProgress. Series do not have to be part of the same structure.

Main thing to check is that you have the underlying data for the series you're accessing.

Tick - tick data
Volume - tick data
Range - tick data
Second - tick data
Minute - minute bar data
Day - daily bar data
Week - daily bar data
Month - daily bar data
Year - daily bar data
***************

There may be other replies also, but you will not receive any more notifications until you visit the forum again.

Regards,
NinjaTrader Customer Service

Reply With Quote
The following user says Thank You to gg80108 for this post:
 
  #63 (permalink)
Elite Member
In the heat
 
Futures Experience: None
Platform: NT
Favorite Futures: Energy
 
PandaWarrior's Avatar
 
Posts: 3,155 since Mar 2010
Thanks: 6,306 given, 13,250 received

Can't get it to work


I applied this strategy to my chart....nothing happened. I used a 5 min chart, a 4 range chart and 1000 chart. No dice.

I know you cannot have chart trader running in order to use strategies, so chart trader is not on.

Any suggestions?

Reply With Quote
 
  #64 (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

aztrader9,

The post above talks about how to use different kinds of charts (tick, time, vol), which is beyond the scope of my programming knowledge. That might be the problem. Can you go into the code and comment out the second and third charts and try it again tomorrow? Also, what NT are you using? I built this in 6.5 and haven't personally tested it in 7. In fact, if anyone has done that successfully, please let me know.

Thanks,
Dave

Reply With Quote
 
  #65 (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

works great in NT7.14

Works great in NT7.14,, I did add the getting the actual fill price using Iexecution, since I set my stops and targets from this price and wanted it to be accurate..

Be sure to comment out the if History and the two brackets since this encompasses the whole strategy, if it doesn't work straight away...

I think the key to the post about data for me is u put the code that matches the chart u want to run against in a
if (BarsinProgress == 0)structure.. 0 is the main chart and your adds in the initialize count 1 for the first entry 2 for the second, etc,etc..

Reply With Quote
The following user says Thank You to gg80108 for this post:
 
  #66 (permalink)
 Vendor: www.coroin.com 
Galveston ,TX
 
Futures Experience: Intermediate
Platform: NT7
Broker/Data: Zaner
Favorite Futures: Futures
 
Posts: 386 since Mar 2010
Thanks: 364 given, 433 received


dsraider View Post
stockdisk,

Are you using the free version of NT? If so, it doesn't allow for strategies.

are you sure about that? a friend of mine is able to load and run strategies that i code for him on his free license with no issues.

enjoying this thread and looking forward to reviewing your code. thanks for sharing/posting

cheers,
-e

Reply With Quote
 
  #67 (permalink)
 R.I.P. 1960-2010 
 
Futures Experience: Advanced
Platform: NinjaTrader7
Broker/Data: Mirus RCG/Zen-Fire
Favorite Futures: CL & 6e, looking at ES, ZB and AU again.
 
ZTR's Avatar
 
Posts: 2,099 since Nov 2009
Thanks: 1,104 given, 1,390 received

I tested stratigies from 2 different members, the strats burned up money, but they ran, on NT7.

I was running a sim only version at the time for testing, with a live ZenFire feed.

R.I.P. Andy Zektzer (ZTR), 1960-2010.
Please visit this thread for more information.
Reply With Quote
The following user says Thank You to ZTR for this post:
 
  #68 (permalink)
 Vendor: www.coroin.com 
Galveston ,TX
 
Futures Experience: Intermediate
Platform: NT7
Broker/Data: Zaner
Favorite Futures: Futures
 
Posts: 386 since Mar 2010
Thanks: 364 given, 433 received


dsraider View Post
aztrader9,

The post above talks about how to use different kinds of charts (tick, time, vol), which is beyond the scope of my programming knowledge. That might be the problem. Can you go into the code and comment out the second and third charts and try it again tomorrow? Also, what NT are you using? I built this in 6.5 and haven't personally tested it in 7. In fact, if anyone has done that successfully, please let me know.

Thanks,
Dave

what that means is: as long as you're using a data provider that gives you tick-data, you should have no problem switching between vol / tick / range / etc data-series.

cheers,
-e

Reply With Quote
The following user says Thank You to eman for this post:
 
  #69 (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

eman,

Is your friend using a demo account? That does let you use everything but if you're using an actual live account, I don't 'think' you're able to use strats. Maybe I'm wrong. It's happened before. It'll probably happen again before I finish typing this note.

Dave

Reply With Quote
 
  #70 (permalink)
 Vendor: www.coroin.com 
Galveston ,TX
 
Futures Experience: Intermediate
Platform: NT7
Broker/Data: Zaner
Favorite Futures: Futures
 
Posts: 386 since Mar 2010
Thanks: 364 given, 433 received



dsraider View Post
eman,

Is your friend using a demo account? That does let you use everything but if you're using an actual live account, I don't 'think' you're able to use strats. Maybe I'm wrong. It's happened before. It'll probably happen again before I finish typing this note.

Dave

dave,

yes my buddy has a free/demo license for ninja and is using the sim101 account to test a strategy.

i have a live license and have been running a strategy on the sim101 account as well. the only difference is that i can create multiple sim accounts (sim101, sim102, sim103, etc.) since i have a live/paid license.

we're both using ninja7b14 right now.

cheers,
-e

Reply With Quote
The following user says Thank You to eman for this post:

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)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

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 08:23 AM.

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-17 in 0.12 seconds with 20 queries on phoenix via your IP 54.145.16.43