Is this type of thing possible in NinjaTrader? - NinjaTrader Programming | futures io social day trading
futures io futures trading


Is this type of thing possible in NinjaTrader?
Updated: Views / Replies:2,077 / 10
Created: by richw Attachments:0

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
 
Thread Tools Search this Thread
 

Is this type of thing possible in NinjaTrader?

  #1 (permalink)
Elite Member
West Jordan, UT
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Choosing new ones
Favorite Futures: CL, ES, YM
 
richw's Avatar
 
Posts: 760 since May 2010
Thanks: 854 given, 680 received

Is this type of thing possible in NinjaTrader?

I want to develop a strategy for testing purposes. However, I have never programmed a strategy for NinjaTrader, except for a couple of simple strategies using the strategy wizard. I have an idea that I am testing for an automated strategy, but I am doing it by hand. So far the results are very promising, but I want to know if it is possible to program it for NinjaTrader so that I can do the analysis on lots of data more easily.

Can an NT strategy do this?

- When the current price is below an indicator, enter multiple buy orders at so many ticks apart and varying contract amounts below the indicator starting so many ticks below the indicator being monitored?
- Then, as the orders get filled, track the average price for all contracts in the current position and automatically move the target order(s) to be so many ticks above the price average and automatically keep the stop order so many ticks below the price average of the contracts in the current position.
- Then, based on how many contracts are in the position, automatically adjust the target order(s) to a different price above the position price average.
- When the target order has been filled, close out any other unfilled orders.

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,366 since Jun 2009
Thanks: 3,574 given, 3,982 received


I'm not 100% sure to understand what you would like to do, but if you can describe the logic of a strategy, it's possible to code it.

Success requires no deodorant! (Sun Tzu)
Reply With Quote
The following user says Thank You to sam028 for this post:
 
  #4 (permalink)
Elite Member
West Jordan, UT
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Choosing new ones
Favorite Futures: CL, ES, YM
 
richw's Avatar
 
Posts: 760 since May 2010
Thanks: 854 given, 680 received

Maybe this will help (image examples)


Reply With Quote
 
  #5 (permalink)
Administrator: Retired Backtester
 Vendor: speedytradingservers.com 
Rennes France
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: IB/Kinetick
Favorite Futures: Futures
 
sam028's Avatar
 
Posts: 3,366 since Jun 2009
Thanks: 3,574 given, 3,982 received

So yes, it's possible to code something like that.
Is it also possible to blow very quickly an account with this strategy ?
Absolutely !!!
To blow it more quickly, the idea is not to add a cars after each step, but X2 after each time.

Success requires no deodorant! (Sun Tzu)
Reply With Quote
The following user says Thank You to sam028 for this post:
 
  #6 (permalink)
 Vendor: www.traderwerks.com 
Taipei Taiwan
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Optimus
Favorite Futures: TW
 
Posts: 693 since Jun 2009
Thanks: 440 given, 440 received


richwaters View Post
I want to develop a strategy for testing purposes. However, I have never programmed a strategy for NinjaTrader, except for a couple of simple strategies using the strategy wizard. I have an idea that I am testing for an automated strategy, but I am doing it by hand. So far the results are very promising, but I want to know if it is possible to program it for NinjaTrader so that I can do the analysis on lots of data more easily.

Can an NT strategy do this?

- When the current price is below an indicator, enter multiple buy orders at so many ticks apart and varying contract amounts below the indicator starting so many ticks below the indicator being monitored?
- Then, as the orders get filled, track the average price for all contracts in the current position and automatically move the target order(s) to be so many ticks above the price average and automatically keep the stop order so many ticks below the price average of the contracts in the current position.
- Then, based on how many contracts are in the position, automatically adjust the target order(s) to a different price above the position price average.
- When the target order has been filled, close out any other unfilled orders.

Yes it is possible. I coded something similar in NT6.5

Sam is right, unless you know what you are really doing, it is easy to blow out an account.

Math. A gateway drug to reality.
Reply With Quote
The following user says Thank You to traderwerks for this post:
 
  #7 (permalink)
Elite Member
West Jordan, UT
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Choosing new ones
Favorite Futures: CL, ES, YM
 
richw's Avatar
 
Posts: 760 since May 2010
Thanks: 854 given, 680 received

Thanks for the replies

Thanks guys. I know this is not how you want to do it, but I also do not want to give away the "secret sauce" at present. I just want to know if the technical ideas to make it happen are even possible. Then, I have to learn what I need to know to program it.

Reply With Quote
 
  #8 (permalink)
 Vendor: www.traderwerks.com 
Taipei Taiwan
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Optimus
Favorite Futures: TW
 
Posts: 693 since Jun 2009
Thanks: 440 given, 440 received


richwaters View Post
I know this is not how you want to do it, but I also do not want to give away the "secret sauce" at present. I just want to know if the technical ideas to make it happen are even possible. Then, I have to learn what I need to know to program it or find partners.

The answer is yes .

Math. A gateway drug to reality.
Reply With Quote
The following user says Thank You to traderwerks for this post:
 
  #9 (permalink)
Elite Member
West Jordan, UT
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: Choosing new ones
Favorite Futures: CL, ES, YM
 
richw's Avatar
 
Posts: 760 since May 2010
Thanks: 854 given, 680 received

Thank you

Is there anything you can tell me to point me in the direction of what I need to know or are you aware of a sample code that I could see that would have most of the elements I would need?

Reply With Quote
 
  #10 (permalink)
 Vendor: www.traderwerks.com 
Taipei Taiwan
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Optimus
Favorite Futures: TW
 
Posts: 693 since Jun 2009
Thanks: 440 given, 440 received



richwaters View Post
Is there anything you can tell me to point me in the direction of what I need to know or are you aware of a sample code that I could see that would have most of the elements I would need?

The Ninjatrader site is a good place to start.

Just start coding and it comes quickly. I did something similar and it did not take long.

( BTW, I would stick to NT 7)

Math. A gateway drug to reality.
Reply With Quote
The following user says Thank You to traderwerks for this post:

Reply



futures io > > > > > Is this type of thing possible in NinjaTrader?

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
Auto trading is only thing that conquered my darkside liquidcci Psychology and Money Management 358 January 17th, 2016 07:13 PM
Filing for Bankruptcy in Retirement—A Good Thing? Quick Summary News and Current Events 0 December 9th, 2010 09:40 PM
How the Drop in Home Sales May Actually Be a Good Thing Quick Summary News and Current Events 0 June 22nd, 2010 07:40 PM
Google: It's an Internet Titan. But Is That a Bad Thing? Quick Summary News and Current Events 0 May 23rd, 2010 05:55 AM


All times are GMT -4. The time now is 06:46 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-16 in 0.13 seconds with 19 queries on phoenix via your IP 54.145.16.43