Expert Advisors and Automated Trading - page 17

  Strange Code  (3)
I have just had a MT5 EA made for me ... Now I have the code I am a little unsure about part of it ... I cannot see the relevance ... The name, broker, account number and markets are all wrong Are they piggybacking on my EA ? The only part I can accept is the expiry date Is it cause for concern or
Is it possible to modify the trading results during a certain period? Recently, the EA I’ve been using got consecutive losses. Then the developer of the EA updated the EA after that. I have compared the backtest results between the previous version and the new version. The new version improved the
Bought an EA from marketplace and it will not install on my Mac. I have installed other EAs manually with no issue: The issue is not antivirus related The issue is not firewall related The issue is not to do with a VPS - I do not need one or want one. I am logged into mt4 on my Mac, through
How to use keyboard functions to call function in my EA
Hi all. Thanks for all the help so far with a few questions I've posted recently. Here's another. Well, a bunch of related ones... I've read a number of posts and the doc'n about Order vs Deal vs Position, including this documentation , and this , and others . A few things I'm unclear on, and
Hello guys i want know is it possible for an ea to trade a small balance of $10
Hello, I have an MT5 EA that works really well until spreads widen. The EA is a free EA that i have optimized really well on XAUUSD and the spread is what makes or breaks its performance. It has no spread filter and i don't have access to the source code. I believe the options i have are -Somehow
I've been doing some tests translating keyboard events to a string (kind of what you would expect any edit field to do, either in metatrader, or your web browser, or anywhere). Nothing too crazy at first, you press 'a', TranslateKey returns 'a' (or 'A' if shift is pressed). But when dealing with
Hello, I want to know if anyone else is having this problem. Since last update on mt5, my bot is running into problem when backtest in real ticks. When I start the backtest it goes normal, the cpu goes to 100% while the memory is loading each agent, normally it would be 100% CPU and about 40% of
Hi i have this problem that i have not found a solution for it in the forum this is the example code to call indicator within the ea code : (using ChartIndicatorAdd ) #property description "Expert Advisor demonstrating the work with ChartIndicatorAdd() function." #property description "After
Hi, I currently create an EA, but still confuse to calculate the proper lot to trade. Assume that I want to trade XAUUSD with $700 balance, How much lot maximum that I can trade safely? And can please suggest a broker and a vps hosting that can work seamlessly? Thanks
I want to launch/run 40 times the same EA (same code) to different (40 charts/symbols). Is there a way to automatize this process (or run them all at once), or would I have to launch one after another, manually? I really looked for an answer but didn't find it. Finally, is there any inconvenient in
Hi dear I wrote an price action strategy and it comes with 67% winrate How can i create the dataset for that strategy and make machine learning model for that and lable the dataset
Hello everyone, I'm new to Metatrader 5 and had a question about backtesting . I used data that my broker provide to do backtesting but history quality indicate 98% instead 99%. May I know why this is happened? Currently I backtest SPY instrument on H1 timeframe using 1M OHLC data
what does this mean(title)? and how can I fix this? handle_iFibo= iCustom ( _Symbol , PERIOD_CURRENT , "/Indicators/Free Indicators/Fibonacci Channel" ); if (handle_iFibo== INVALID_HANDLE ) { //--- tell about the failure and output the error code PrintFormat ( "Failed to create
hi, want to run my EA on MT4 on vps hosting how to proceed
Please help debug this code, I have tried for days and failed. The EA is meant to draw these sessions every day but it only works once when I try it in the strategy tester. When I forward test it seems to work. Where would my error be
//--- input parameters input int StopLoss= 30 ; // Stop Loss input int TakeProfit= 100 ; // Take Profit input int ADX_Period= 8 ; // ADX Period input int MA_Period= 8 ; // Moving Average Period input int EA_Magic= 12345 ; // EA Magic Number input double
  how to use ChartRedraw()  (14   1 2)
How do I use ChartRedraw()? I have my comment/OSD function like so... and eqplus iStartLots and Spread is in ea inputs. void osd2() { Comment ( "\n Profit Target = $" + DoubleToString (eqplus, 2 )+ ", Minimal Profit per Trade = " +
My EA adds some MTF indicators to the chart and in order to see them after the backtesting, I have to add the EA to the tester chart manually, everytime the backtester finishes testing. this manual loading taking me some amount of time for saving the backtest settings then loading them into the EA
I need a mql5 code for remove expert advisor from the chart if the conditions are false
Hi there! I have a template that comes with an EA. When I apply this template manually (right click on chart > templates), then Algo Trading is activated in the EA. But when I apply this template using ChartApplyTemplate(), Algo Trading is off (in the EA settings). Is there a way to load a template
@MetaQuotes , there seems to be 2 partially contradictory sources of information with regard to Type of Execution vs. allowable Fill Policy types - the information in both sources differs for IOC and Return fill policies. Which one is the correct one? 1) MQL5 Reference , namely in
I am trying to learn how to close a position. I found at least a dozen examples, more like two dozen, but it seems that ALL of them either require CTrade or present a solution that involves iterating over many open orders and selecting by position, which confuses me. Can someone please provide an
  Mt4 to telegram  (1)
Hi, I'm looking for an EA that sends my trades as a signal to telegram. I'm looking for one that supports multiple TP's as all the ones I've found only support 1 tp. Thank you 😊
Here is a step by step guide for buying, installing, testing and using a Metatrader 5 Expert Advisor (Robot, Bot are whatever): 1. First make sure that you have the necessary funds required for your purchase in your MQL5 account, its always easier to pay with your MQL5 balance, than using a credit
Hi everyone I would like some feedback on my code or how I can make it more efficient as it uses several conditionals and loops. I wanted to create a multicurrency news filter for when 30 minutes before and after the current time there is an important news event. For each news event I need its
Hello, I am doing a backtest of my EA with MT5 and some optimisations settings. When I go to to Agents tab, I see that 7 processors over 8 have their status on Finished. Only one is working, and I still have 200h of backtesting. I don't understand why all the processors are not 100% used . Can
I do an optimization and the result is quite good, lots of parameter showing green color. But when I change to 3D graph most of the color is change to red color. Is there a condition that determine the color change between the 1d graph and 3D graph? Here's the result of 1D graph and here's what 3D
  Make coding  (4)
Can anyone help me? I want to create code using a Moving Average that compares the closing price of each candle. Example: Buy if the closing price of candle 0 increases x% from the closing price of candle 1, and Sell if the closing price of candle 0 decreases x% from candle 1