Over the past year or two I've successfully converted at least a half dozen Ehlers indicators from TradeStation (EasyLanguage) to MQL4 but this one is giving me fits.
There is a version available that runs but I don't believe it is correct because the output is so wrong (misses major trends). I can't mention the source (it's a commercial site) but googling "Ehlers Sinewave.mq4" will lead to a free download.
Attached is what I have done so far - I used the original TradeStation code from Ehlers book which can be found at the end of my code.
I have more than enough coding skill to do this job (40+ years coding in many languages) but lack the advanced math skills to know what I'm looking at. Or, maybe I just need another pair of eyes.
If someone with the necessary knowledge can help it will be greatly appreciated.
TIA,
Lou G
There is a version available that runs but I don't believe it is correct because the output is so wrong (misses major trends). I can't mention the source (it's a commercial site) but googling "Ehlers Sinewave.mq4" will lead to a free download.
Attached is what I have done so far - I used the original TradeStation code from Ehlers book which can be found at the end of my code.
I have more than enough coding skill to do this job (40+ years coding in many languages) but lack the advanced math skills to know what I'm looking at. Or, maybe I just need another pair of eyes.
If someone with the necessary knowledge can help it will be greatly appreciated.
TIA,
Lou G
Attached File(s)
Sinewave_Original.mq4
11 KB
|
737 downloads
Old Benjamin was right