How to apply dominant cycle period, amplitude and phase shift - NinjaTrader Programming | futures io social day trading
futures io futures trading


How to apply dominant cycle period, amplitude and phase shift
Updated: Views / Replies:1,914 / 7
Created: by mk77ch Attachments:4

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
 

How to apply dominant cycle period, amplitude and phase shift

  #1 (permalink)
Elite Member
Switzerland
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Dorman
Favorite Futures: Currency Futures, ES
 
mk77ch's Avatar
 
Posts: 75 since Oct 2010
Thanks: 12 given, 64 received

How to apply dominant cycle period, amplitude and phase shift

hi guys,

i found an indicator which calculates the dominant cycle, amplitude and phase shift using the discrete hilbert transform. my idea is to use those informations to create a sinus wave form indicator which plots those cycles according to those calculations.

 
Code
private double phase = 10.0;
private int shift = 0;
private double pi = 3.14159265;

calc = Math.Sin(((CurrentBar+shift)*(pi/phase)));

Cycle.Set(calc);
does anybody have an idea how i could add those parameters to plot a valid cycle?

thank you and cheers,
mike

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)
Elite Member
Chicago Illinois USA
 
Futures Experience: Advanced
Platform: Ninja Trader
Broker/Data: IB
Favorite Futures: duh hammer!
 
wldman's Avatar
 
Posts: 2,057 since Aug 2011
Thanks: 966 given, 2,587 received

Have you ..


searched the forums? Pretty sure you will find already complete that which you desire to create.

Dan

Reply With Quote
The following user says Thank You to wldman for this post:
 
  #4 (permalink)
Elite Member
Chicago Illinois USA
 
Futures Experience: Advanced
Platform: Ninja Trader
Broker/Data: IB
Favorite Futures: duh hammer!
 
wldman's Avatar
 
Posts: 2,057 since Aug 2011
Thanks: 966 given, 2,587 received

this work?

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
The following user says Thank You to wldman for this post:
 
  #5 (permalink)
Elite Member
Chicago Illinois USA
 
Futures Experience: Advanced
Platform: Ninja Trader
Broker/Data: IB
Favorite Futures: duh hammer!
 
wldman's Avatar
 
Posts: 2,057 since Aug 2011
Thanks: 966 given, 2,587 received

Hey Man...

@mk77ch

I think most of the cycle period work here in NT is based on the work of John Ehlers. The adaptive cci that I use definitely is. I have a guy when it comes to cycle period analysis... an old friend from a the past. He has a website that I think might interest you. There is some content that is "free". I know Lars pretty well and over the years have learned a lot from his approach. However I never purchased any products from him. In the formative days he provided a great deal for free to help with testing. Anyway I have no commercial connection. I do, though , pay attention to Lars and check his latest work every chance I can. Here is his site. I'd scrub it for details to his approach to the topic. www (dot) whentotrade (dot) com.

Reply With Quote
 
  #6 (permalink)
Patience my young padawan
Houston, TX/USA
 
Futures Experience: Intermediate
Platform: NinjaTrader TWS Barchart
Broker/Data: IB / IB
Favorite Futures: ES & looking into commodities
 
ElChacal's Avatar
 
Posts: 309 since Nov 2014
Thanks: 370 given, 183 received

Any luck phase shifting?

@mk77ch
Have you had any luck phase shifting with your code? I came up with a "waveform" (not a sinewave though) that I would like to shift forward a little but I've had no luck. I found a couple of codes in Matlab that allegedly do this using Fast Fourier Transforms.
I am just wondering if you had any luck phase shifting, if so what approach are you employing?
Thanks!

Reply With Quote
 
  #7 (permalink)
Elite Member
Stanstead, Quebec, Canada
 
Futures Experience: Intermediate
Platform: NinjaTrader
Favorite Futures: CL
 
Royal Flush's Avatar
 
Posts: 122 since Dec 2010
Thanks: 71 given, 64 received


wldman View Post
Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

I have been unable to find any information on the net regarding how to read Elhers Dominant Cycle. Below it appears that it is a leading indicator saying that the next dominant cycle will be up. This seems to good to be true, is it?

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
 
  #8 (permalink)
Elite Member
Switzerland
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: Dorman
Favorite Futures: Currency Futures, ES
 
mk77ch's Avatar
 
Posts: 75 since Oct 2010
Thanks: 12 given, 64 received

cycle

this is an old thread but i recently started again to try and get a bit more into the subject as i believe this could be pretty powerful.

i will attach the indicators and a screenshot. maybe somebody who is into math and cycles could shed some light on this. the question which still remains is if it is possible to generate a cycle oscillator based on the period, amplitude and phase values from this indicator.

thank you in advance, math stranger genius
mike

I never lose. I either win or learn.
Nelson Mandela
Attached Thumbnails
How to apply dominant cycle period, amplitude and phase shift-dht.png  
Attached Files
Register to download File Type: cs dht.cs (9.3 KB, 10 views)
Register to download File Type: cs cycle.cs (5.2 KB, 14 views)
Reply With Quote

Reply



futures io > > > > > How to apply dominant cycle period, amplitude and phase shift

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Battlestations: Show us your trading desks and win $750 in prizes

August
 

Ask Me Anything (AMA) w/Rod Casilli @ Collective2

Aug 23
 

Prototyping Python Strategies (part 3, Live Trading) w/Ran Aroussi [1PM ET]

Elite only
 

Develop Strategies and Perfect Execution w/Brannigan Barrett @ Axia Futures

Elite only

Introduction to Phillip Capital futures brokerage services

Aug TBD

How Monte Carlo Analysis Can Help Your Trading w/Kevin Davey

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adaptive cycle period cci... wldman NinjaTrader 25 March 29th, 2016 01:09 PM
Ehlers Cycle Period Indicator kabakj NinjaTrader 5 January 15th, 2013 05:47 PM
Labor Leaders to Apply New Clout in Effort for Obama Quick Summary News and Current Events 0 March 12th, 2012 07:30 AM
right brain dominant trading traderTX Psychology and Money Management 2 August 27th, 2011 11:43 AM
How to save Strategy created DrawingObjects to Re-apply? Taddypole NinjaTrader Programming 1 August 18th, 2011 03:59 PM


All times are GMT -4. The time now is 04:46 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-08-18 in 0.12 seconds with 20 queries on phoenix via your IP 54.80.237.123