Head & Shoulders coding, does anyone know how? - futures io
futures io



Head & Shoulders coding, does anyone know how?


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Big Mike with 2 posts (0 thanks)
    2. looks_two hector24 with 2 posts (0 thanks)
    3. looks_3 sam028 with 1 posts (0 thanks)
    4. looks_4 forrestang with 1 posts (0 thanks)
    1. trending_up 4,834 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 6 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • 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 and simple.

-- Big Mike, Site Administrator

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

 
Search this Thread
 

Head & Shoulders coding, does anyone know how?

(login for full post details)
  #1 (permalink)
 hector24 
austin, texas
 
Experience: Intermediate
Platform: ninja trader
Trading: currency futures
 
Posts: 506 since Jan 2011
Thanks: 14 given, 234 received

I was wondering if anyone knew how to code a signal that would identify a head and shoulders pattern with own parameters to make up the pattern. I don't know how to code but this would be nice.

Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
Experience with AGN (Introducing Broker)
Brokers
TD Sequential for NT or MW?
Platforms and Indicators
Is there inherently more opportunity in smaller markets?
Traders Hideout
1 min chart v-shape scan help please
ThinkOrSwim
For the experts of Metastock
Platforms and Indicators
 
 
(login for full post details)
  #2 (permalink)
 Big Mike 
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: Custom solution
Trading: Futures & Crypto
 
Big Mike's Avatar
 
Posts: 50,129 since Jun 2009
Thanks: 32,601 given, 98,784 received

 
Thread Moved


Moved to NinjaTrader Programming



When creating a new thread, note which subforum you are in. Here is a short list of suggestions:

- Topic: Anything to do with an Elite indicator -> Subforum: The Elite Circle
- Topic: Looking for an existing indicator, or how-to use an indicator -> Subforum: (the platform)
- Topic: Programmer needing help with non-Elite indicator -> Subforum: (the platform) - Programming
- Topic: Want an indicator created/modified -> Reply to "Want indicator created free" in Elite Circle
- Topic: Vendors (trading rooms, commercial indicators) -> Subforum: Vendors/Product Reviews
- Topic: Discussion of Forex or Currency trading -> Subforum: Forex and Currency Trading
- Topic: Journals of your trading -> Subforum: Trading Journals or Elite Trading Journals
- Topic: General trading related discussions -> Subforum: Traders Hideout
- Topic: Discussion of a trading method -> Subforum: Traders Hideout
- Topic: Automated Trading -> Subforum: Elite Automated Trading

Last, any Elite Member may create more or less any of these topics in The Elite Circle at your own discretion (your support is appreciated).

This is just a short general list and doesn't cover everything. If you are unsure where to create your new thread, just create it in Traders Hideout and a moderator will move it if necessary.

-- Big Mike Trading



Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/

Visit other sites? Please spread the word about your experience with our community!
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #3 (permalink)
 sam028 
Site Moderator
 
 
sam028's Avatar
 
Posts: 3,680 since Jun 2009
Thanks: 3,793 given, 4,519 received



hector24 View Post
I was wondering if anyone knew how to code a signal that would identify a head and shoulders pattern with own parameters to make up the pattern. I don't know how to code but this would be nice.

If you're able to describe an H&S in pseudo-mathematical language, it's possible.

Success requires no deodorant! (Sun Tzu)
Follow me on Twitter Reply With Quote
 
(login for full post details)
  #4 (permalink)
 forrestang 
Chicago IL
 
Experience: None
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,247 since Jun 2010
Thanks: 319 given, 958 received


hector24 View Post
I was wondering if anyone knew how to code a signal that would identify a head and shoulders pattern with own parameters to make up the pattern. I don't know how to code but this would be nice.

Just for concept, what about looking into one of the ZZ indicators?

A head and shoulders top could be described as a two HHs followed by a LH for example. Anytime the ZZ sees that pattern you could have it highlighted and brought to your attention. There will be some nuances in there with the zz missing some, and mislabeling of course.

The limitation with the ZZ is that it has a set length. A way to get around that would be to combine a series of ZZ indicators together. And the more lengths you use together would give you more pictures of the H&S pattern. For example the one with the length of 4 will pick up smaller ones than the zz with a length of 10.

Just a thought.

Reply With Quote
 
(login for full post details)
  #5 (permalink)
 hector24 
austin, texas
 
Experience: Intermediate
Platform: ninja trader
Trading: currency futures
 
Posts: 506 since Jan 2011
Thanks: 14 given, 234 received

Thanks guys I just thought it would be usefule for everyone in the room to have an alert on your chart along with a line drawn connecting the bars that would form a head and shoulders on the chart. This obviously would have to come with some parameters that the user may want to adjust. For instance how deep and how long. I was just curious because after watching numerous videos of people trading always refer back to the head and shoulders. Then they say didn't you see that H&S pattern that formed. Sometimes I miss it and that's why I was wondering if anyone knew how to do this. I wish I could code and I would make this for everyone but I don't know how.

Thanks
Hector

Started this thread Reply With Quote
 
(login for full post details)
  #6 (permalink)
 Big Mike 
Site Administrator
Swing Trader
Data Scientist & DevOps
Manta, Ecuador
 
Experience: Advanced
Platform: Custom solution
Trading: Futures & Crypto
 
Big Mike's Avatar
 
Posts: 50,129 since Jun 2009
Thanks: 32,601 given, 98,784 received

I would imagine for a pattern like this, it has already been coded in some language... whether it be EasyLanguage, MetaTrader, Wealthlab, something somewhere could be used as a template for your ninjascript code.

But like others have said, you need to first quantify what a H&S is in terms that can be described by indicators like ZigZag for instance.

Mike

We're here to help -- just ask

For the best trading education, watch our webinars
Searching for trading reviews? Review this list

Follow us on Twitter, YouTube, and Facebook

Support our community as an Elite Member:
https://futures.io/elite/

Visit other sites? Please spread the word about your experience with our community!
Follow me on Twitter Visit my futures io Trade Journal Reply With Quote
 
(login for full post details)
  #7 (permalink)
 ThatManFromTexas 
Houston,Tx
 
Experience: Advanced
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: TF
 
ThatManFromTexas's Avatar
 
Posts: 2,302 since Feb 2010
Thanks: 1,206 given, 4,338 received

The code would be very similar to the "Woodies Ghost" indicator . There were some Woodies Pattern recognition indicators for NT 6.5. I haven't updated them to run on NT7 . But it should be a simple project for a programmer.

I'm just a simple man trading a simple plan.

My daddy always said, "Every day above ground is a good day!"
Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Head & Shoulders coding, does anyone know how?


Last Updated on June 18, 2011


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Our 12-year anniversary w/ $$,$$$ prizes (check soon)

August
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), 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