Expert Advisors and Automated Trading - page 285

Hello Traders! I'm looking for an EA or maybe a Script?, that allows me to enter same Take Profit Levels, that repositioning the Stop Loss Level when the Take Profit levels are reached. Let me explain: for example, trade Setup: I would like to trade the pair EUR/USD on the short side (sell) SL: 1...
[Deleted]
Dear Sir, I have a MQL5 VPS, and i have synchronized my EA with my MT5 on my VPS.  My questions are 1) In my MT5 navigator, i saw the EA both run on my local MT5 and VPS (see screenshot below). Is this normal, should I removed the local EA in order to avoid conflict??? 2) In my local MT journal, it...
Hi . I'm new to forex trading . Looking to purchase a robot but need to configure it
hello         use MTF cross Signal Arrow Indicator day time frame. EA use 15M chart when EA entry buy before day close if entry close EA entry again. but i want one signal one entry in a day no more entry EA can you help me for make that function how it possible if(iCustom(NULL,1440...
Greetings! Is it possible?
Hello All, I want to make an Expert that using market entry and market exit by below Indicator: when Indicator change color, Expert should enter market, I read about iCustom function, I test it with this indicator, But this function in this indicator only one double value output, How can I do this?...
Hello I have a simple mql code, I want to get current price and price of 20 seconds later in stratgy tester, Here is my code: int _time_waiting=0; int _PauseTime=TimeCurrent();void OnTick()  {//---double current_bid = SymbolInfoDouble(_Symbol, SYMBOL_BID);double current_ask =...
Hello, I want to calculate my risk per trade relative to account balance (for example only risk 2% of balance per trade). Of course the stop loss is relative, lets imagine the Stop Loss variable will be changing and will use ATR for calculation. I have the expert ready but I need help with this code...
Hello, I have an indicator "myindi" and it gives up and down arrows(buffers 1 and 2). Now I try to make an EA using iCustom but I don't understand where I have to put these buffer numbers? #include <Trade\PositionInfo.mqh>#include <Trade\Trade.mqh>CPositionInfo  m_position;...
i need data price history forex such as timeframe D1 or H1 in mysql format. im already search in forum , found that data format in excel have a limit row and coloumn where i can found it for free ?
hello        i want to make a ea. when zigzag arrow appear high/low after when sma 20 below price entry sell. please help for get last arrow function 
I have this HA indicator in Mql5. I want to determine the red and blue candle via ICustom on mql5. How do i do this?  Thanks. //------------------------------------------------------------------#property copyright   "© mladen, 2018"#property link        "mladenfx@gmail.com"#property description...
Hi all, Can someone recommend be some simple trailing robot which would automatically close the trades if the floating profit is above given amount in eur? For example, if I want to close all trades once the floating profit reaches 10 EUR? Thank you.
Hi, I have just shifted over to the MQL4 platform from Python and was simply wondering what is the diffrence between iHigh and high or iClose and close etc Really looking forward to building great systems on this platform. Kind Regards
Hello, I just downloaded MetaTrader4 on a mac.  I'm confused that it shows up as MetaTrader5 and I'm unable to add any new brokers.  Please help.
Hello folks, According to C and C++ definitions, is possible to use printf with variables "width" and "precision". In MQL documentation is clear that we can use variable "width", but is not clear to "precision". Is possible to use variable "precision"? Is there any way to do this? https://www.mql5...
Hi all I am having problem in using WebRequest in MQL5....... I have also added web site's url in (Main Menu->Tools->Options, tab "Expert Advisors")  under "Allow WebRequest for listed URL" uption. while calling WebRequest method EA returns error code = 4014 following in my code....  bool...
anyone have link or sample of neural network implement in forex especially for indicator. let me the know the project if exist. thanks
Hi guys, I am new at the coding and have big problem and need your help: Lot of custom or default indicator works in my EA well. But some indicators not. For example this amazing indicator (https://www.mql5.com/en/code/21059)  doesnt work when i add to EA and run. It refreshs and clones itself at...
  iHigh & iLow  (2)
Hello everyone, today i'm working on a EA, i was wandering how can i get the iHigh/iLow parameter from a personalized Indicator with the iCustom function?? and when i declare the parameters of the iCustom function, Which parameters i need to take?? because there are more than 3
Hello Everyone, If in MT4 (mql4) to get the value of BearsPower  and BullsPower indicator is like:  - double val01 = iBearsPower(Pair01,PERIOD_H1,13,PRICE_CLOSE,0); - double val02 = iBearsPower(Pair02,PERIOD_H1,13,PRICE_CLOSE,0); - double val03 = iBullsPower(Pair03,PERIOD_H1,13,PRICE_CLOSE,0); -...
Thanks for coming! As the title, please help inform me on how to make a stoch cross signal for an EA with mql5. I used mql4 before and now turning to mql5, I find that the function iStochastic returns a handle instead of indicator value like using mql4. I'm not a professionnal programmer, so please...
I'm not sure how to create code for an EA to increase lot size as an account grows and decrease lot size as the account shrinks. So if it starts at $1000 and moves to $2000 the lot size doubles where as if it falls to $500 it cuts in half. 
Hi people. I built an expert, trying to be always in the market, but for some reason it remains out from trade to trade. This is the logic:    //----------------------------------------- Internal variables ---!   double SlowMAprev=iMA(NULL,0,SlowMAperiod,SlowMAshift,SlowMAmethod,PRICE_CLOSE,1);...
just wanted to ask the a question ,  what would be the mql4 code be for using profitable trades to close losing ones, using a hedge EA , bring equity back up from 5% loss to 3% loss ? thanks
Hello everyone, after compiling I started an optimization with multiple symbols. While it was running my pc crashed with a blue screen. After restart I checked my EA and all the code is lost. I have a 4 days old backup, but all recent changes are gone. However, the source file is still 168 KB and
Hello everybody, how can I display the indicatos used in my EA in my live chart window? Problem: While running the "MACD Sample" in Strategy Tester I can see the indicator but not when running the "MACD Sampe" in a live chart. Is there any #property of other function I can use to tell the terminal...
I have a Meta4 account and was wondering with signal trading subscriptions, can you only subscribe to those who have the same leverage with your dealer account, meaning can I subscribe to a signal provider who has a 1:100 if I only have a 1:50 leverage with my account? And if you can, will it
[Deleted]
Hi All I am running an EA (EA_1) purchased from MQL5 market. Now, I would like to create another custom EA (EA_2), add some additional criteria / indicators on top of it in order to make the EA_1 more secure Can I control the EA_1 stop and run inside the EA_2? Thanks, Jacky
Hiii... I need help.. I need EMA indicator on my MACD Indicator Windows... [Using MQL5 Language (EA)] And That MACD is placed on Indicator Windows 1... How can i create EMA at the same Window using EA ?? Thanks for help me :)