Expert Advisors and Automated Trading - page 161

Hi all, currently I am trading with MT4 using my own bot, wish to find out a few stuff before I commence with MT5. Appreciate any help or clarifications given. 1) High quality MT4 backtesting is require from 3rd party, is it the same for MT5? Or can I download the data from the broker (not
Can anyone recommend me a good currency correlation EA
I need a clarification on the Magic Number in EA. I have given the Magic Number in all my EA's as below int Magic=MathRand(); I have parallelly running 4 EA's, whenever a trade is getting executed, each EA executes the trades with a different magic number. As long as the EA's are not refreshed/not
When I try to publish my EA I get invalid volume error even when the lot size is 0.01. please I need solution, thanks
Hello there's a custom indicator that I'm loading into iCustom that has 10 buffers in the data window. The buffers I want to get values from are the first and second ones and using copy buffer on "0" and "1" returns me a random string of numbers that is not the value I want, this number doesn't
I have this code: #include <Trade\Trade.mqh> CTrade trade; double MACDValues1M[]; int MACD1M = iMACD ( _Symbol , PERIOD_M1 , 12 , 26 , 9 , PRICE_CLOSE ); ArraySetAsSeries (MACDValues1M, true ); CopyBuffer (MACD1M, 0 , 0 , 3 , MACDValues1M); traderStartValue = 50 ; if (MACDValues1M[ 1
Hi there, I've been backtesting strategies for a few months now and ran into a new issue today. Namely, until today, whenever I changed the code, saved it and started a backtest on the same file, the last saved file was loaded for backtesting. Until today: New file FileA created, parameter value set
Hi everyone, there is an issue I saw many people had when they were trying to publish their EAs. Here is some output I get(errors). 2019.04 . 05 03 : 30 : 00 failed instant sell 0.75 EURUSD at 1.12243 sl: 1.12503 tp: 1.11463 [Volume limit reached] 2019.04 . 05 09 : 00 : 00 failed instant sell
because I only open position, I didn't open any pending order, magic number only useful when identify pending order, am I right
How do I know people arent sharing my EA to escape my One Time fee? If I sell my EA to someone and send them the files to import into MT4, couldnt they just send those files to who ever they want without those people having to pay me anything? Im curious is there is some sort of notification that
I am trying to run the script but I get these on the journal tab, I have tried removing the recent added code but nothing seems to change, I have also closed and opened both terminal and the MetaEditor, Same story, someone help
Hello, I created an EA and I need to close a position by the ticket number. I am loading the EA into the VPS and for some reason I cannot close my positions. I get this error message 10027 My close position code looks like this. void close_position(long ticket) // --> MQL5 Refereances , Constants
Hi to all, in my EA, in the OnInit I attach the indiactor in this way: int OnInit () { handle_RenkAdv[i]= iCustom (symbols[i],IndicatorPeriod_M1, "::Indicators\\RenkoAdv.ex5",param1 ); } along the time I need to change the value of the Param1. I was thinking to delete the indicator and attach
I am trying to find a way to calculate the appropriate volume for longs and shorts dependent on a fixed percentage of risk. I stumbled across the CMoneyFixedRisk money management class and set it up in my EA. Every time it is called it seems to always return the value 0.0. Below is an example of how
Hello, I'd like to ask an help to understand how to get correspondace into the mql5 code about the operations in the attached picture. There is a red arrow (sell), a blue arrow (buy) and a dotted line that connects the two operations. I'm trying to implement an EA that performs a Buy Limit and Sell
Im using bot on python but i cannot open trade. Or sometimes it's okay, sometimes it's not, hơ an u fix it
  Multiple TP's  (2)
How do I set multiple Take Profits on the MT5
  Invalid stops  (5)
Hi guys, I am very new in programming in MQL5 and I have an issue that make me crazy and probably is just cause of my non experience. When I run my EA, I am buying/selling lots of GOLD if the price decrese(buy) if the price increse(sell), then my program need to update the TP of the previous open
Hello! I am looking for a utility that will close losing trades at a set level - for example 'Close all losing trades if DD is % or $ of equity' Any Ideas please? Thank you Tim
I am publishing a Trade Manager that will add a stop loss and take profit levels automatically to an existing position opened by the user. Since the EA is a Utility and does not actually open trades, how can I provide testing through the Strategy Tester
  ea  (1)
why is my ea not loading on chart
This should include both elements of hedging trading, using a grid trading algorithm, and a system with a deposit protection. Additional orders are opened with a fixed same lot size , without using lot multiplication (Martingale). If the price starts to move against the order, the EA will begin to
Hello, I recently downloaded MT5 and have purchased a tool that sets stop loss and take profit, similar to one click trading, just with more features. I can't use it because it always gives me the error, "Autotrading is turned off in MetaTrader terminal". I have tried every setting, turned on
Hi I have developed a trading automated routine, testing it numerous times in Strategy tester. I would like to test in the real environment, but it the signals do not trigger. It should trigger about 16 trades a day based on TA basd on trategy tester. Neither if I remove TA trading preconditions
How to convert the OBJ_TREND time1 and price1 into the available coordinates OBJ_BUTTON OBJPROP_ XDISTANCE,OBJPROP_ YDISTANCE
//+------------------------------------------------------------------+ //| demo.mq5 | //| Copyright 2022, MetaQuotes Ltd. | //| https://www.mql5.com |
Hi guys After the order is placed I calculate the stop loss and take profit relative to that price , so I use PositionGetDouble(POSITION_PRICE_OPEN) . now my question : is it alright to get the above function or better to use SymbolInfoDouble(_Symbol,SYMBOL_ASK) as the price? thanks
What in the computer is responsible for the speed of automatic strategy tests CPU? RAM? Video
My friends, what I want to do is to make a breakout system by restricting the trade hours and then to sell if it closes above this hour in the future. For example, the first transaction for GBPUSD will be opened at 11:30. If the next two or three candles are above the close, they will sell if they
What is the best way to Copy trades from one acc to another? I’ve got my main acc the Im trading from some time and get good results I want to open another acc and then copy all the open/close trades does it possible ? I don’t mind to pay some for professional result