Attachments forums

List of attachments posted on this forum.


All files on forums: 135975

Re: Various (Specialist) indicators for MT4

Cazz223, Sat Apr 20, 2024 6:04 pm

mrtools wrote: Sun Nov 05, 2023 3:07 am Try this version.
Hi MrTools,

Wishing all is well with you. A few good months have passed since last posting about the EA developed using your fabulous DeMarker indicator.
Something have been puzzling me, I hope you would please shed some light on.

I use 4 instances of DeMarker indis in EA as key filterer and trigger.
After many many testings, I notice that when the "DeMarker Period" setting gets smaller, abnormal behavior tends to arise.

In the first image show the indicators curves that I manually attached the indicators onto the chart after backtest completed.
In snap-shot below, by right, DeMarker instance 4 should have filtered and blocked the trade from being opened, but it didn't.

Whereas in other cases, where DeMarker 1,2,3 which have larger settings, the EA work perfectly fine. Trades were not opened if DeMarker1,2,3 "say' no.
Their settings as follows:
DeMarker 1: DeMarker Period=150; Adapting period=65, Floating Level=75,
DeMarker 2: DeMarker Period=96; Adapting period=40, Floating Level=48,
DeMarker 3: DeMarker Period=50; Adapting period=21, Floating Level=25,
DeMarker 4: DeMarker Period=21; Adapting period=18, Floating Level=9,

The codes for all 4 indicators in the EA are almost identical, with only the numbering varies so to reference to the respective DeMarker instance, such as Demarker _TF4, DeMarkerPeriod4 etc.

It seems that the "reading" of the indicator by the EA is different from the the curves depicted on the chart, at least not for the 4th DeMarker.

I wonder if there is anything that can be done so that what I see (curves on chart) match exactly what the EA reads using the icustom command.


Many thanks.

Cazz
DeMarker - adaptive smoother 1.52 (MTF).mq4 Downloaded 98 times 13.63 KiB

DeMarker instance 4 should have filtered and blocked the trade from being opened DeMarker instance 4 should have filtered and blocked the trade from being opened


All files in topic