@jstap Thanks again but it doesn't work. No matter what value for MA_method is selected, only MODE SMA is depicted. 
Posts made by l'andorrà
-
RE: What am I missing with ENUM variables for MT5?posted in Questions & Answers
-
RE: What am I missing with ENUM variables for MT5?posted in Questions & Answers
@bk7 Thank you but I'm afraid not. I need the user to select a number that is then transformed into each Ma method.
-
RE: What am I missing with ENUM variables for MT5?posted in Questions & Answers
@jstap I tried your code but I get several errors. Are you sure it is correct? I'm not a coder, sadly.

-
RE: PARTIAL CLOSEposted in Questions & Answers
@kestra As I said in my previous post, you need to add each symbol manually. You need to type it like this:

And you will have to do it for every stock, bond, index, etc.
-
RE: HOW CAN I STOP EA FROM OPENING MULTIPLE TRADES FOR A CONDITIONposted in Questions & Answers
@kate-osagie You need to add a 'No trade' block on top of the block tree.
-
RE: expert ADXposted in Questions & Answers
@flockogola The problem with ADX is that +DI and -DI crossings are repainted by the indicator. I tried it for years and never got it. If you arelooking for crossings, I strongly recommend to find an alternative option.
-
RE: Advice on how to shorten fxdreema learning curveposted in Questions & Answers
@tipsywisdom That's the correct question!

-
RE: Question about "check age" blockposted in Questions & Answers
@meshii You need to use a condition block below those 'For each trade' blocks specifying the time period you need.
-
RE: Mt4 not Backtesting properly!posted in Questions & Answers
@tashab Please notice that all results have terrible history data quality. Don't trust any backtest with a quality below 99%. The problem is certainly your data source.
-
RE: how to move the ordersposted in Questions & Answers
@siyanda Do you mean pending orders? Otherwise you cannot do that.
-
RE: Counting of winning and losing positions.posted in Questions & Answers
@ontradingx Then you need a 'For each closed trade' structure. That loop will scan all closed trades in the history tab.
-
RE: What am I missing with ENUM variables for MT5?posted in Questions & Answers
@tipsywisdom Thanks for the info. That I know but I need to choose the name of the Constant. That name offered by default is too ugly.
-
RE: What am I missing with ENUM variables for MT5?posted in Questions & Answers
@seb-0 Thank you. And what option should be selected on the 'step' column?
-
RE: What am I missing with ENUM variables for MT5?posted in Questions & Answers
@jstap Very interesting. Should I type that custom code 'as is' in a custom code block?
-
RE: help- I do not update the lot (Bucket of Positions) wellposted in General Discussions
@cdt If I understand it correctly you just need to see the current OPEN lots. Is that correct? Not the closed ones. Right?
-
RE: Semi Auto trade with close profitposted in Questions & Answers
@loka-heng I see you correctly selected the 'ALL (automated and manually opened)' option in block 5. Now you need to do the same on block 6.
-
RE: Draw a signalposted in Tutorials by Users
@baccicin Yes, you can do that. However, buiding buttons is always more complicated than plotting arrows. I strongly recommend you to begin with arrows. Do you have any initial project to do it?
-
RE: Help with MQL block and variables pleaseposted in Questions & Answers
@alphaomega Oh, man. This is advanced code for me.
I'm afraid this is not my field of expertise, sorry. Maybe a coder will be able to help.