Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
I could not find a thread on this topic, so I decided to start a new one. I did not want to put it inthe digital filters one, as it (I think) deserves a topic on its own.
In his book "rocket science for traders" John Ehlers describes a systemn that may have some value.
I am not a MQL4 programmer, so I wanted to bring this up to the programming community here. perhaps this system described in Ehlers book can be coded in MQL4 and used effectively.
The system basically detects/senses the state (cycle) of the market in question, and if it detects the market is trending, it switches to trend mode trading, and if it detects the market is ranging, it switches to range mode.
Here is the code of the system in Ehlers' code's, can a programmer in this forum convert this to MQL4?
Thanks and regards to all.
EF
{***************************************
Written by: Ehlers - Rocket science for traders
typed by Henry Amand
Re = I2 * I2[1] + Q2 * Q2[1];
Im = I2 * Q2[1] - Q2 * I2[1];
Re = .2 * Re + .8 * Re[1];
Im = .2 * Im + .8 * Im[1];
If Im <> 0 and Re <> 0 then Period = 360 / ArcTangent (Im/Re);
If Period > 1.5 * Period[1] then Period = 1.5 * Period[1];
If Period < .67 * Period[1] then Period = .67 * Period[1];
If Period < 6 then Period = 6;
If Period > 50 then Period = 50;
Period = .2 * Period + .8 * Period[1];
SmoothPeriod = .33 * Period + .67 * SmoothPeriod[1];
It is written for TradeStation. I too tried to rewrite it to MQL4 some time ago but never got it to work. This is why I don't read Ehlers very much anymore because I'm not even able to test his ideas. I'd be glad if we could figure it out because it's sure worth it.
Maybe even smarter and more useful thing to do would be to rewrite his indicator for measuring market -- it's called Cycle Period and is described in Cybernetics Analysis for Stocks and Futures.
If you want to see how his methods really work, go to Futures Truth and check the performance of his Mesa systems. They monitor futures systems and report the results.
If you want to see how his methods really work, go to Futures Truth and check the performance of his Mesa systems. They monitor futures systems and report the results.
I already did,both,and I shared some of my views on them,extensively, in this Forum..By the way,that is what we were supposedly trying to do in this thread,implement one of his methods in mt4.....did you notice ?
So ..what was the meaning of your posts ?
Where a child will see three letters, the student will see one word.... the master will understand its meaning....
I already did,both,and I shared some of my views on them,extensively, in this Forum..By the way,that is what we were supposedly trying to do in this thread,implement one of his methods in mt4.....did you notice ?
So ..what was the meaning of your posts ?
Where a child will see three letters, the student will see one word.... the master will understand its meaning....
What is the meaning of my posts?
Here is the meaning of my first post.
Quote:
Ehler likes complexity.
If you want to see how his methods really work, go to Futures Truth and check the performance of his Mesa systems. They monitor futures systems and report the results.
1.
Quote:
Ehler likes complexity.
Complexity= The quality or condition of being complex.
Complex= Involved or intricate- complicated.
2.
Quote:
If you want to see how his methods really work, go to Futures Truth and check the performance of his Mesa systems. They monitor futures systems and report the results.
This means that Ehler's mesa system is monitored and reported on at a web site called Futures Truth.
I meant you can go there and see its results.
It appears you did that. What did you not understand about this post?
My other post:
Quote:
Then buy his books and implement his methods.
You replied that you had already done this. What did you not understand about it?
Quote:
By the way,that is what we were supposedly trying to do in this thread,implement one of his methods in mt4..;
Its likely that I noticed since my post was about Ehler. Don't you think?