Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Indicators - Metatrader 4


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (13) Thread Tools Display Modes
  #11 (permalink)  
Old 08-31-2006, 11:05 PM
Gramski's Avatar
Senior Member
 
Join Date: Jul 2006
Posts: 265
Gramski is on a distinguished road
Thanks,

Here is the tradestation code of sinewave indicator.



Typ : Indicator, Name : Sine Wave Indicator

Inputs:
Price((H+L)/2);

Vars:
InPhase(0),
Quadrature(0),
Phase(0),
DeltaPhase(0),
count(0),
InstPeriod(0),
Period(0),
DCPhase(0),
RealPart(0),
ImagPart(0);

If CurrentBar > 5 then begin

{Compute InPhase and Quadrature components}
Value1 = Price - Price[6];
Value2 =Value1[3];
Value3 =.75*(Value1 - Value1[6]) + .25*(Value1[2] - Value1[4]);
InPhase = .33*Value2 + .67*InPhase[1];
Quadrature = .2*Value3 + .8*Quadrature[1];

{Use ArcTangent to compute the current phase}
If AbsValue(InPhase +InPhase[1]) > 0 then Phase =
ArcTangent(AbsValue((Quadrature+Quadrature[1]) / (InPhase+InPhase[1])));

{Resolve the ArcTangent ambiguity}
If InPhase < 0 and Quadrature > 0 then Phase = 180 - Phase;
If InPhase < 0 and Quadrature < 0 then Phase = 180 + Phase;
If InPhase > 0 and Quadrature < 0 then Phase = 360 - Phase;

{Compute a differential phase, resolve phase wraparound, and limit delta phase errors}
DeltaPhase = Phase[1] - Phase;
If Phase[1] < 90 and Phase > 270 then DeltaPhase = 360 + Phase[1] - Phase;
If DeltaPhase < 1 then DeltaPhase = 1;
If DeltaPhase > 60 then Deltaphase = 60;

{Sum DeltaPhases to reach 360 degrees. The sum is the instantaneous period.}
InstPeriod = 0;
Value4 = 0;
For count = 0 to 40 begin
Value4 = Value4 + DeltaPhase[count];
If Value4 > 360 and InstPeriod = 0 then begin
InstPeriod = count;
end;
end;

{Resolve Instantaneous Period errors and smooth}
If InstPeriod = 0 then InstPeriod = InstPeriod[1];
Value5 = .25*InstPeriod + .75*Value5[1];

{Compute Dominant Cycle Phase, Sine of the Phase Angle, and Leadsine}
Period = IntPortion(Value5);
RealPart = 0;
ImagPart = 0;
For count = 0 To Period - 1 begin
RealPart = RealPart + Sine(360 * count / Period) * (Price[count]);
ImagPart = ImagPart + Cosine(360 * count / Period) * (Price[count]);
end;
If AbsValue(ImagPart) > 0.001 then DCPhase = Arctangent(RealPart / ImagPart);
If AbsValue(ImagPart) <= 0.001 then DCPhase = 90 * Sign(RealPart);

DCPhase = DCPhase + 90;
If ImagPart < 0 then DCPhase = DCPhase + 180;
If DCPhase > 315 then DCPhase = DCPhase - 360;

Plot1(Sine(DCPhase), "Sine");
Plot2(Sine(DCPhase + 45), "LeadSine");

end;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 09-03-2006, 11:51 PM
Gramski's Avatar
Senior Member
 
Join Date: Jul 2006
Posts: 265
Gramski is on a distinguished road
Quote:
Originally Posted by stlabc
I got one.

For mt3 indicators of RST sinewave/phase/homodyn listed above ,I have done some test and personally think they may have some errors in the programs because there is wrong performance corelative with price according to John's explanation in the book.

BRs
Stl
Thanks,

I got them from the SBFX site in some old MT3 forums. They seemed to be working for them, just by their comments, but there is no way of me knowing.

I was hoping someone might be able to convert them.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 10-19-2006, 01:45 PM
Junior Member
 
Join Date: Apr 2006
Location: London UK
Posts: 17
GuRu123 is on a distinguished road
Center of Gravity

Hi,

Interested to know more about John Elhers (or Ehlers??) Center of Gravity Indicators / method, how it is used and more about it generally, can anyone suggest any links?

Cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 10-19-2006, 03:19 PM
Senior Member
 
Join Date: Jun 2006
Posts: 1,094
prasxz is on a distinguished road
Cog

Quote:
Originally Posted by GuRu123
Hi,

Interested to know more about John Elhers (or Ehlers??) Center of Gravity Indicators / method, how it is used and more about it generally, can anyone suggest any links?

Cheers
Hi,

Check this link http://www.fxstreet.com/education/te...anual/gravity/

================
Forex Indicators Collection
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 02-18-2007, 06:45 PM
Junior Member
 
Join Date: Dec 2006
Posts: 2
Newman is on a distinguished road
Sine Wave Indicator

I was looking for the Sinewave indicator also and couldn't find it. Comparing the tradestation code and the code for the Instant Trendline.mq4, the first two thirds are the same. I added code and I am posting the indicator. Note that the result seems to be more jagged than it should, so I don't know if it's right. Does anybody have any suggestions?
Attached Files
File Type: mq4 SineWaveIndv0.1.mq4 (5.0 KB, 747 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 02-19-2007, 08:31 AM
SIMBA's Avatar
Senior Member
 
Join Date: May 2006
Posts: 978
SIMBA is on a distinguished road
Newman

Quote:
Originally Posted by Newman
I was looking for the Sinewave indicator also and couldn't find it. Comparing the tradestation code and the code for the Instant Trendline.mq4, the first two thirds are the same. I added code and I am posting the indicator. Note that the result seems to be more jagged than it should, so I don't know if it's right. Does anybody have any suggestions?

Hi Newman

The jagged results you obtain are caused by the fact that there are no discernible cycles at the time..you will see almost perfect cycles at times followed by minitrends that cause the jagged results you see
It is interesting to use sinewave(or cybercycle) jointly with the instantaneous trendline,mama,and frama..then it becomes discretional but you have all the important info at your fingertips..there are several ,free,papers by ehlers on his website www.mesasoftware.com

Hope it helped
Simba
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 02-20-2007, 03:46 AM
Junior Member
 
Join Date: Dec 2006
Posts: 2
Newman is on a distinguished road
Sinewave indicator

Thanks SIMBA for the info, Newman
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 02-20-2007, 04:34 AM
bluto's Avatar
Senior Member
 
Join Date: Sep 2006
Posts: 630
bluto is an unknown quantity at this point
Ehler was a true mystic and a genius able to see the "signs and the numbers" like DeMark & Darvas. Here's a handful from the archives that I use in my EA's. Coded by the brilliant Luis Guilherme Damiani.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 02-20-2007, 04:35 AM
bluto's Avatar
Senior Member
 
Join Date: Sep 2006
Posts: 630
bluto is an unknown quantity at this point
A few more goodies...
Attached Files
File Type: mq4 Instant Trendline Filter.mq4 (3.2 KB, 667 views)
File Type: mq4 Probability Density Function.mq4 (2.8 KB, 621 views)
File Type: mq4 Relative Vigor Index.mq4 (3.2 KB, 554 views)
File Type: pdf The Macd Indicator Revisited by John F. Ehlers.pdf (186.2 KB, 792 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 02-20-2007, 12:30 PM
Tragapips's Avatar
Member
 
Join Date: Dec 2005
Posts: 87
Tragapips is on a distinguished road
Question

Bluto

Thanks for indicators.

Just one question :How you use the probalility density funtion indicator??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
ehlers

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/indicators-metatrader-4/3479-all-john-ehlers-indicators.html
Posted By For Type Date
■テクニカルについて語ろう■Part5 This thread Refback 06-18-2008 11:42 AM
イヒ、タ、ォ、颶X、ヌ、筍ェ | ・ィ。シ・鬘シ・ケウォネッ、ホ・、・・ク・ア。シ・ソ、ホMetaTraderネヌ、マキケスヘ、チ、ニ、、、゙、ケ。」 This thread Refback 06-13-2008 11:44 AM
ミ漬セミソムミセム - MQL4 ムミセムムσシ This thread Refback 05-29-2008 02:36 PM
Solar wind clean X - MQL4 Code Base This thread Refback 03-23-2008 05:29 AM
ChronicDisorder's bookmarks on del.icio.us This thread Refback 03-08-2008 04:39 PM
livemarket2 / ■テクニカルについて語ろう■Part5 This thread Refback 01-13-2008 06:51 AM
livemarket2 / ■テクニカルについて語ろう■Part5 This thread Refback 01-13-2008 06:51 AM
Cykle This thread Refback 11-27-2007 11:23 AM
Cykle This thread Refback 11-27-2007 07:04 AM
Cykle This thread Refback 11-26-2007 10:28 PM
Cykle This thread Refback 11-26-2007 10:12 PM
inverse fisher transform This thread Refback 07-08-2007 11:06 PM
inverse fisher transform This thread Refback 07-03-2007 11:04 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Max number of indicators in indicators folder? moneyline Metatrader 4 11 04-23-2008 09:18 AM
sinewave and phase indicators based on John Ehlers's theory stlabc Indicators - Metatrader 4 2 08-15-2006 01:39 PM
John murphy book codersguru Documentation 3 12-06-2005 01:25 AM


All times are GMT. The time now is 10:08 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.