Attachments forums

List of attachments posted on this forum.


All files on forums: 136328

Re: Adaptive Indicators for MT4

mrtools, Sun May 16, 2021 11:59 am

northwind wrote: Sat May 15, 2021 11:14 am Hello mrtools,
Following your encouragement, I tried modifying mladen's "simple (stepma of rsi adaptive ema 2.9) EA_1.mq4" to use your adaptive_jurik indicator.
The stepMA of rsi seemed closer to what the adaptive_jurik was doing.
The new version, "simple (adaptive_jurik) EA.mq4" compiles without errors and places trades, but not always in the right place and it gives too many alerts.
It works OK and then sometimes buys when it should sell and vice versa.
Things are now at a point where debugging is beyond my limited coding skills.

I think the problem is in passing parameters to the indicator.
I have tried changing the list of various parameters and adding commas and few other things.
I cannot eliminate the multiple alerts and can't confirm orders are placed when expected, e.g when the adaptive_jurik indicator on the chart shows a change in direction.
Lines 132 and 133 are the modified icustom calls to to the indicator.

Would you have time to take a look at the attached code and offer suggestions?
I truly appreciate any help.
Thank you.
NW

Edit: Tested it on Renko chart of US30 index and on M5 EURUSD.
The alerts kept popping up every couple seconds.

simple (adaptive_jurik) EA.mq4
Try this one.
All files in topic