![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
mladen
the new iCustom produced the attached. It seems to be stuck on one type of trading and a lot of it. Could you check the inputs, please.
Thank you
Ray
Mladen
OK, I got that working better.
How do I make the enum for the "Averageperiod1 " & the "Pricetouse". I've seen some of your ma method & it is quit involved,
" step_stochastic_ps_-_mtf_amp_alerts_2". I could copy & paste to add its method to the EA but it only has 20 methods and Athens moving average is missing. Can you provide the code snippet for some of the newer enum.
Averageperiod1 = 1; //1="Ahrens moving average";
extern bool Doublesmoothedaverage = False;
extern bool Adaptiveaverage = False;
extern int Pricetouse = PRICE_CLOSE;
OR can I use the Averageperiod1 = 1; //1="Ahrens moving average";
Averageperiod1 =2 = 1; //1="Ahrens moving average"; OKK I think I got that also.
OK I think I just said the answer, I'll test and get back to you.
thanks
Ray
Mladen
OK, I got that working better.
How do I make the enum for the "Averageperiod1 " & the "Pricetouse". I've seen some of your ma method & it is quit involved,
" step_stochastic_ps_-_mtf_amp_alerts_2". I could copy & paste to add its method to the EA but it only has 20 methods and Athens moving average is missing. Can you provide the code snippet for some of the newer enum.
Averageperiod1 = 1; //1="Ahrens moving average";
extern bool Doublesmoothedaverage = False;
extern bool Adaptiveaverage = False;
extern int Pricetouse = PRICE_CLOSE;
OR can I use the Averageperiod1 = 1; //1="Ahrens moving average";
Averageperiod1 =2 = 1; //1="Ahrens moving average"; OKK I think I got that also.
OK I think I just said the answer, I'll test and get back to you.
thanks
Ray
Here is the enum for prices :
For the custom period there is no enum - custom time frame minutes are used
Hello mladen ,
I want to add a candle trailing stop to my ea , can you help to to check why it cant work .
i have compile with no error and warning .
Is that i have the wrong way to write the code or some things have miss out ?
Thank you .
hi dearest mladen..
I want to ask a question..Im using woodie cci indicator...ı need to confirm indicator.which ı use indicator for best confirm and best exit.??for m5....please help me...many thanks...
mladen
I see the way to test all the enum options. I have included the list of methods & prices in the bottom of my EA. The EA doesn't appear to be as good as I hoped, at least I can run the 36 methods & 20 prices.
thanks for your help
mnt
here is the completed EA, I haven't tested the different TSs yet. Let me know if you find anything good.
Hello mladen ,
I want to add a candle trailing stop to my ea , can you help to to check why it cant work .
i have compile with no error and warning .
Is that i have the wrong way to write the code or some things have miss out ?
Thank you .
stevenpun
as far as is see you have to replace this :
with this :
But it depends on the declaration of the PipAwayFromCandle variable (which is not seen in the code you posted)mladen
I see the way to test all the enum options. I have included the list of methods & prices in the bottom of my EA. The EA doesn't appear to be as good as I hoped, at least I can run the 36 methods & 20 prices.
thanks for your help
mnt
here is the completed EA, I haven't tested the different TSs yet. Let me know if you find anything good.
I guess you are still in updating process as i see you asking regarding prices and methods,so i will be pleased when you finished all these,upload it,any way thanks a lot for the current ver.
regards
hello,
I have a small request - could someone add please a double breakeven option to this EA? currently it moves my SL to BE+2 after 5 pips profit, but I would like to move it once again to BE+5 after 9 pips profit :)
thanks in advance :)
hello,
I have a small request - could someone add please a double breakeven option to this EA? currently it moves my SL to BE+2 after 5 pips profit, but I would like to move it once again to BE+5 after 9 pips profit :)
thanks in advance :)