Expert Advisors and Automated Trading - page 114

To post a new topic, please log in or register
Dear can any one solve this question how to get martingle lot size by using sum of lotsize instead of number of loss trades i am attaching an image please check
Hi there i'm trying to calculate the fast Stochastic  %K on a array and for some reason the function does not refresh and work out a new reading as the array increases in size and adds new values...
Hi everybody. How can I incorporate fundamental economic data (Such as "actual", "forecast" or "previous" data of a news release) into an Expert Advisor? Which platform (MT4 or MT5) has that capability? What function() to call in MQL4 or MQL5 such data from a website such as Forex Factory? Thank you...
Hi, I'm fairly new to mt and trading. I'm experimenting with a few experts and I'm wondering if it's possible to change expert settings across multiple charts at once. At the moment I have to edit the expert on each individual chart at a time. So say if you have six charts open and I want to...
I have reached to point where testing my EA takes too much time. In MQL Cloud Network is as if possible to speed up testing time 150 times. I have only demo account in Admiral Markets UK Ltd. Using MQL Cloud Network means user can sell or buy that service. So when I create real account in Admiral...
Dear Team, In copying someone's signal, assuming that the provider trades in GBPNZD, must I have this symbol in my Market Watch list in order for me to copy trades on this Symbol? Regards,
Does anyone have a basic moving average pullback EA that I could use as the basis for coding a new EA?   The functionality I am looking for is:   - Price passes through a moving average, and then a trade is entered once price moves back and touches the moving average again.     Thanks in advance,...
Hello Folks First post in the forum here so just wanted to say a quick hello first and hope your all doing well! On to business! I have been looking for an EA that just repeats the same (buy or sell) order over and over. The order is simply closed by SL or TP set up the user. A nice add on to...
Hi is there such expert ?  i  will insert the information about the support/resistance levels from a console/web page and it will  see it on MT4 platform.
Hello PPL, I was hoping one of you wise coders could help me out here. I need a timer expert that will automatically close trades, across multiple currency pairs after each trade has been open for 4.5 Hours. I found the script below over at https://forum.mql4.com/36808 which is nice but it only...
Hi, In my EA, when I try to change pending orders it generates Error 130 a lot of times... I know that its because the SL levels but I don't understand how before it worked for the same order and now doesn't work! I have seen https://book.mql4.com/appendix/limits, changed to code and the...
abu520
and how to get it ? confusing...    buy low sell high seems is the easy job but how to ensure that point is highest or lowest ? 
In MT4, EAs identify orders by magic number. But in MT5, one symbol has only one position at one time, and it has only one magic number at one time. EA can find deals by POSITION_ID. But if positions reverse, POSITION_ID changes. So after positions reverse, EAs might lose controls of the position....
  Need Help (6)
Hi Guys,   iam new here and hopefully in the correct forum for my question. I have programmed an MQL4 script for MetaTrader 4 but somehow it is not working correct. It does not open a Buy or Sell order when the signal is coming. It would be very helpful if someone with more experience could...
Hi everyone, I need help with this problem. I have tried to search for the solution on the web without success. I am testing my EA on a live account in order to modify it. I tried to backtest the exact same period after running it for one week. The results are totally different (they also don't make...
I wrote an EA for opening market orders with predefined StopLoss and TakeProfit. The default setting is 0 on both, meaning no SL no TP. However, when placing the EA user can enter SL and TP values as inputs. When both are different than 0 (no SL no TP) the EA performs as expected. When entering a...
Hi All,  Is it possible to automate trading based on certain criteria being met by my indicators?  I guess i'm after an 'if this then that' application to this.  I seem to be making good manual trades based on the indicators I have.   Thanks 
Hello, Can someone help in having the strategy tester visualisation to update smoothly? Is there any special command to update the visualisation? Sometimes it does not update. I can make it update by moving the chart with the mouse but it is often inefficient. Specially with positions opened on...
Hi How can i  get profit of last deal?
Hi guys,   Wondering - is there a way to command MT4 to backtest an EA?  Either via command line or something else?   I'm looking for a way to automate backtesting in MT4.    Thanks 
I’m looking for a function that returns if the last trade was a win or lose trade. In other words, if the price hit the take profit or the stop loss of the last trade. If someone decide help me, so, PLEASE, give-me a function that you have sure that work correctly, because I’m not programmer and I...
i am trying to make an EA for auto risk calculation but still not successful. i am trying to calculate risk from Stoploss value in pip. Example my stoploss is 10pip & i want to take the risk of 5% of my total Account balance. it should calculate from these two parameters... Here is my code i...
hi, I'm fairly new to coding but I cant seem to work out what I need to change in this section of code to make the third candle in the trade set up to close lower then it opened for sell trade, and higher then it opened for buy trade. Thanks for your help. bool inside_bar =...
Hello evryone,  Gmail provides userfriendly rss feeds to read unread emails https://mail.google.com/mail/u/0/feed/atom I want to get access to my emails via MQL4. I have found https://www.mql5.com/en/code/10428 this script. But even when i replace all functions with unicode (W) it still...
Is there anyway we can execute TP and SL in fast moving market without using script.
Hello friends, I am totally a novice at programming. Can somebody add trailing stop loss function to the attached Expert advisor. It should be active on all trades on the chart and close all trades when desired profit is achieved. All help will be greatly appreciated.
I wanted to start a share and reapply disscussion on forex mechanical trading. I dont want anyone to share their trading secrets, however, I want to ask has anyone of you succeeded in developing a robust forex trading strategy?   I am a newbie in the field but after testing some handfull...
Expert started on MT5 on PC, how to control it by internet or SMS? Send buy/sell commands etc.
I can't find metaeditor icon on metatrader4 mobile platform.