Attachments forums

List of attachments posted on this forum.


All files on forums: 135547

Re: EA Coding and stuck

AmirDehghani, Mon Nov 12, 2018 8:32 pm

mrtools wrote: Mon Nov 12, 2018 4:39 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
All files in topic