MQL4 and MetaTrader 4 - page 111

Hi everyone, I'd be glad for a little help here as I'm pulling my hair out! I have an EA that works for the developer (it's sold here and apparently works for everyone), but for me the trailing stop and trailing stop trigger point isn't working - in my MT4 backtests it doesn't work, and in visual
I wanted to draw a box into the space that is farther into the future than the current candle with a script but it doesn't appear to be possible. I have a script to enter into a position and it calculates my entry, stop, target, and position size. I'm a visual guy and would love if it would also
  What is the value of one pixel?  (34   1 2 3 4)
What is the value of one pixel on the Y axis of the current chart? I need this value so that I can calculate the value of 600 pixels. This is because I want 600 pixel take profit level , and not 600 Points or 600 pips. I want a uniform take profit levels on all charts, regardless of their Point
Hi everybody I created an object on the chart with ObjectCreate(). So when i pressed backspace key on my keyboard, my created object deleted(like other objects on the chart that delete with pressing backspace key) I dont want to delete my created objects with pressing backspace key. Is any solution
Hi, is it possible to turn on & off the auto trading function on Mt4 when an Economic event is about to occur? ie an EA is disabled XX mins before an event triggered by an Economic cal indicator and turned on again YY mins after? Say using the attached indicator? Thanks <ex4 file removed>
In germany we have summer and winter time, the mql broker has also an extra time and the expert advisor uses the time of my computer for automatic trading . I think an indicator that shows when an stock exchange opens and closes is an important tool that Metratrader should still include. This
my skills are nit enough to do that
Hi, I downloaded a custom indicator (link below) to be used as a supply and demand in my EA, unfortunately I cant call out the values for the supply and demand levels, I tried using the iCustom code but gives me the high and lows of the previous candles. Any suggestion would be great. For the code
  OnDeinit()  (3)
Hello! I want store some variables in my EA as GlobalVariable in case EA stops, so it can recover. My question is if EA stops for no reason ( power failure or terminal failure or internet loss) is the OnDeinit() function in the EA will run? I am asking this because I want to delete all globals when
  EA upgrade  (1)
I have this supply and demand EA. I need help editing the entries. I want the EA to only take trades when the zone is retouched and not when it is newly formed. Then there should be a bullish candle that should close above the box to trigger the buy entry and a bearish candle to close bellow the box
Greetings, With the recent Windows updates I have experienced "crashing" of MT4 when I try to Access the Terminal/Market tab and have been unable to access the indicators that I have purchased. What should I do to resolve this issue, or do I have to wait for third parties to address? Your feedback
Hello there, I'm trying to find out if history of a symbol-timeframe is fully loaded or not within my mql4 expert. there is this function ... bool SeriesInfoInteger ( string symbol_name, // symbol name ENUM_TIMEFRAMES timeframe, // period
How can I view this crypto pair USDT/NGN chart in mt4 through any means even with API
I know there is the function "ObjectGetValueByShift" where you can get the price of the trendline, but i need to know how you can get the price of the trendline when you only know the values on which points the trendline is draw and then with the calculation you can get also the price, i am looking
Hi all, assume that i'm trading in one pair and doing backtest with an ea.. Ea calculating current basket like the code below; CurrentBasket=AccountEquity()-AccountBalance(); also ea calculating pair profit with codes below; double ProfitCheck() { double profit= 0 ; int total = OrdersTotal ();
Hello, I actually run 3 instances of MT4 from 3 different broker on an external VPS. I would like to rent the MQL5 VPS and I wonder if I can do the same thing as I don't really understand how it works. Thanks
Hi everybody Anybody know why: When i have to test my EA in strategy tester with "Open prices only" Model everything is good(order send, order modify and etc.) but its a problem on "Every tick" Model. for example i get a buy signal and EA try to open that position for several times not once. And for
I already found how to save the account history of 1 selected day to CSV format. But I want my whole account history in excel (and I prefer not do the 1 day download hundreds of times). Is there a way to download the whole account history (or at least a complete month)
bool DoesTradeExist() { TicketNo = - 1 ; if ( OrdersTotal () == 0 ) return ( false ); for ( int cc = OrdersTotal () - 1 ; cc >= 0 ; cc--) { if (! OrderSelect (cc,SELECT_BY_POS)) continue ; if (OrderMagicNumber()==MagicNumber && OrderSymbol() == Symbol () )
I want to create a button from button.mqh with text in 2 lines but the \n is ignored in myButton.Text("Line \nNew Line");
The Mt4 platform cannot be registered any more. When will the Mt4 platform be completely removed to trade on Mt5
void OnTick() { double ADX = iADX(NULL, 120,14,PRICE_CLOSE,MODE_MAIN,0); Print("ADX : ", ADX); } I just want to get the ADX of 2 hours timeframe but it always return zero. I think this is a bug from MQL4 because I researched the web and many people have the same problem with no one solving the
Hello, MQL5 Community Please assist with the following code function: "check operator precedence for possible error; use parentheses to clarify precedence". I have attached an image and snippet of code showing where I get the warning "⚠". Despite my best efforts, I have not been able to resolve this
//+------------------------------------------------------------------+ //| Cambio.mq4 | //| Desarrollado por William Miranda | //| Telegram:@wmirandamor |
  MT4 Strategy Tester Report  (12   1 2)
Is there a way to add Absolute Drawdown column in the Strategy Tester Report so that it shows the Absolute Drawdown for each order? If we can't do it in MT4, anyone knows a tool, app, or website that can do this
Today I have new update for MT4, but I didn't find any news about it. Why is there no news at all from metaquotes regarding the MT4 update
Hi can some make this indicator arrows to be visible in data window ? Thanks
hello, I need a custom code for mql4 following this plan of martingale: 1-a trade is opened using lots 0,01 for example. 2-a trade closes lets say ends with -10.00 usd of loss. 3-the next trade opened will be 0.02 as soon it reaches the 10.00 usd it will close the trade and wait for the next
Hi everyone, Can anyone help me sort it out. Say I have the following open orders (excluding pending orders) for EURUSD 1) buy 0.02 2) buy 0.05 3) sell 0.03 Outcome should read "0.04 sell" Thank's a lot
I use One click trading when i hit the buy button the entry line is like 20 pips higher than the first candle it should be even with it I need to find out how to fix that . If i do a sell the the entry line works good it is just the entry line on the buy button. The stop lose and Take Profit they