.

EA Coding

Moderators: mntiwana, mrtools

Re: EA Coding

#11
AmirDehghani wrote:
Fri Nov 09, 2018 11:47 pm
mrtools wrote:
Fri Nov 09, 2018 9:23 pm


Maybe this version posted here viewtopic.php?p=1295353026#p1295353026 will help.
.
the coder said:
Hi, I checked averages - mtf - alerts 9.1 buffer signal with your set file....
You can see attached video file,
Unfotunatelly, there is no buffer signal change (EMPTY)
It means I can not use the arrow signal with EA....
Sorry I can not do anything about it.
.
could you please help us more ?
Thank you mrtools
NG.zip
The arrows are based on the slope of the averages so if you use the average itself which is buffer # 2

Code: Select all

MaCur  = iCustom(NULL,TimeFrame,"averages - mtf - alerts 9.1",0,0,MAPeriod,MAPrice,MAType,MADouble,MAAdaptive,MAFilter,MAFilterType,MAShift,2,1);
 MaPre   = iCustom(NULL,TimeFrame,"averages - mtf - alerts  9.1",0,0,MAPeriod,MAPrice,MAType,MADouble,MAAdaptive,MAFilter,MAFilterType,MAShift,2,2);
 
 if (MaCur>MaPre) Buy
 if (MaCur<MaPre) Sell


Re: EA Coding

#12
mrtools wrote:
Sat Nov 10, 2018 2:39 am
AmirDehghani wrote:
Fri Nov 09, 2018 11:47 pm

.
the coder said:
Hi, I checked averages - mtf - alerts 9.1 buffer signal with your set file....
You can see attached video file,
Unfotunatelly, there is no buffer signal change (EMPTY)
It means I can not use the arrow signal with EA....
Sorry I can not do anything about it.
.
could you please help us more ?
Thank you mrtools
NG.zip
The arrows are based on the slope of the averages so if you use the average itself which is buffer # 2

Code: Select all

MaCur  = iCustom(NULL,TimeFrame,"averages - mtf - alerts 9.1",0,0,MAPeriod,MAPrice,MAType,MADouble,MAAdaptive,MAFilter,MAFilterType,MAShift,2,1);
 MaPre   = iCustom(NULL,TimeFrame,"averages - mtf - alerts  9.1",0,0,MAPeriod,MAPrice,MAType,MADouble,MAAdaptive,MAFilter,MAFilterType,MAShift,2,2);
 
 if (MaCur>MaPre) Buy
 if (MaCur<MaPre) Sell
THANKS A LOT FOR YOUR PRECIOUS RESPONSE .

Re: EA Coding

#13
[/quote]

The arrows are based on the slope of the averages so if you use the average itself which is buffer # 2

Code: Select all

MaCur  = iCustom(NULL,TimeFrame,"averages - mtf - alerts 9.1",0,0,MAPeriod,MAPrice,MAType,MADouble,MAAdaptive,MAFilter,MAFilterType,MAShift,2,1);
 MaPre   = iCustom(NULL,TimeFrame,"averages - mtf - alerts  9.1",0,0,MAPeriod,MAPrice,MAType,MADouble,MAAdaptive,MAFilter,MAFilterType,MAShift,2,2);
 
 if (MaCur>MaPre) Buy
 if (MaCur<MaPre) Sell
[/quote]
.
Dear mrtools ,
I know ex4 is not inside-visible , but
could you please take a look at the EA performance and find the problem reason ?
i attached the performance pictures .
Thanks a lot
capture_20181111184017.png
EA_averages_MTF.ex4
(61.06 KiB) Downloaded 74 times
Attachments
averages - mtf - alerts 9.1.ex4
(152.54 KiB) Downloaded 88 times
EA_averages_MTF - modification.zip
(670.02 KiB) Downloaded 30 times

Re: EA Coding

#14
AmirDehghani wrote:
Mon Nov 12, 2018 2:25 am
The arrows are based on the slope of the averages so if you use the average itself which is buffer # 2

Code: Select all

MaCur  = iCustom(NULL,TimeFrame,"averages - mtf - alerts 9.1",0,0,MAPeriod,MAPrice,MAType,MADouble,MAAdaptive,MAFilter,MAFilterType,MAShift,2,1);
 MaPre   = iCustom(NULL,TimeFrame,"averages - mtf - alerts  9.1",0,0,MAPeriod,MAPrice,MAType,MADouble,MAAdaptive,MAFilter,MAFilterType,MAShift,2,2);
 
 if (MaCur>MaPre) Buy
 if (MaCur<MaPre) Sell
[/quote]
.
Dear mrtools ,
I know ex4 is not inside-visible , but
could you please take a look at the EA performance and find the problem reason ?
i attached the performance pictures .
Thanks a lot
capture_20181111184017.png
EA_averages_MTF.ex4
[/quote]

The last version I have the source code for is version 9.0 was a version i modified not really sure exactly what the code of version 9.1 is doing, was assuming the arrows were drawn on moving average slope change but it could be different, like maybe when price crosses the ma's.

Re: EA Coding

#15
mrtools wrote:
Mon Nov 12, 2018 4:39 am
AmirDehghani wrote:
Mon Nov 12, 2018 2:25 am
The arrows are based on the slope of the averages so if you use the average itself which is buffer # 2

Code: Select all

MaCur  = iCustom(NULL,TimeFrame,"averages - mtf - alerts 9.1",0,0,MAPeriod,MAPrice,MAType,MADouble,MAAdaptive,MAFilter,MAFilterType,MAShift,2,1);
 MaPre   = iCustom(NULL,TimeFrame,"averages - mtf - alerts  9.1",0,0,MAPeriod,MAPrice,MAType,MADouble,MAAdaptive,MAFilter,MAFilterType,MAShift,2,2);
 
 if (MaCur>MaPre) Buy
 if (MaCur<MaPre) Sell
.
Dear mrtools ,
I know ex4 is not inside-visible , but
could you please take a look at the EA performance and find the problem reason ?
i attached the performance pictures .
Thanks a lot
capture_20181111184017.png
EA_averages_MTF.ex4
[/quote]

The last version I have the source code for is version 9.0 was a version i modified not really sure exactly what the code of version 9.1 is doing, was assuming the arrows were drawn on moving average slope change but it could be different, like maybe when price crosses the ma's.
[/quote]

But the 9.1 has really better results in my chart :|
the last version that the moderators of FS shared is 8.9 :
viewtopic.php?p=1295364371#p1295364371
could you please share the last verified one ?
and could you please investigate about the 9.1 ?
thanks
my 9.1 favorite set : (not accessible results with the 8.9!)
averages - mtf - alerts 9.1 - 6 .zip
(437 Bytes) Downloaded 36 times


Re: EA Coding

#16
mrtools wrote:
Mon Nov 12, 2018 4:39 am
AmirDehghani wrote:
Mon Nov 12, 2018 2:25 am
The arrows are based on the slope of the averages so if you use the average itself which is buffer # 2

Code: Select all

MaCur  = iCustom(NULL,TimeFrame,"averages - mtf - alerts 9.1",0,0,MAPeriod,MAPrice,MAType,MADouble,MAAdaptive,MAFilter,MAFilterType,MAShift,2,1);
 MaPre   = iCustom(NULL,TimeFrame,"averages - mtf - alerts  9.1",0,0,MAPeriod,MAPrice,MAType,MADouble,MAAdaptive,MAFilter,MAFilterType,MAShift,2,2);
 
 if (MaCur>MaPre) Buy
 if (MaCur<MaPre) Sell
.
Dear mrtools ,
I know ex4 is not inside-visible , but
could you please take a look at the EA performance and find the problem reason ?
i attached the performance pictures .
Thanks a lot
capture_20181111184017.png
EA_averages_MTF.ex4
[/quote]

The last version I have the source code for is version 9.0 was a version i modified not really sure exactly what the code of version 9.1 is doing, was assuming the arrows were drawn on moving average slope change but it could be different, like maybe when price crosses the ma's.
[/quote]

Dear mrtools ,
with 8.9 version , again the orders are not according to arrows :|
Could you please , at your Convenience , make an EA with primary style of taking order (take order at Next signal , Close at Opposite and Immediately take the reverse ) with adjustable Indicator Variables ? Or Guide me to make it myself by editing exist samples . I don't have code knowledge but can replace some codes according to your instruction or ...
Thanks A Lot
Attachments
averages - mtf - alerts 8.9.ex4
(150.35 KiB) Downloaded 88 times
universalMA Averages 8.8 Cross(sessions)_Ea.mq4
(83.89 KiB) Downloaded 84 times


Who is online

Users browsing this forum: CommonCrawl [Bot], Seznam [Bot] and 0 guests