MQL4 and MetaTrader 4 - page 454

I'm trying to speed up and light up my Indicator calculations, so I'm searching some ways for that. I wonder if there is a speed difference between Math functions formats and the regular/basic formats. For Example: MathMod() vs fmod() MathCeil() vs ceil() MathFloor() vs floor() MathAbs() vs fabs()...
Hi, I notice my MT4 is giving this exception when I try to send test message How can I purge the pending message on MT4 ? Is there any limitation of sending email ? Currently I'm sending email in 4-5 minutes intervals Please advice
[Deleted]
Hi All, Myself and my friend are new toMT4 and would like the forums best opinions on what broker we should be usingand some further help on getting the best out of MT4, We are going to be spreadbettingso can anyone give us the best advice on what is the best broker to use withMT4, Also we would...
Hi, Is this possible to open multi orders for different pairs using single EA? eg: I would like to sell all USD pairs so when EA runs it must open Sell/SellStop/SellLimit USDJPY ,USDCHF,USDCAD,etc... if possible please give me suggetions to start coding myself? I never coded for multi pair orders in
Need to adjust MTF
hi, i have problem with updating order with function OrderModify.. - in first cycle for i have classic OrderSelect with right symbol and type - in this first cycle i change with OrderModify SL, TP or both together... - everything is all right, in Experts i have message with succesfull modify ..ok -...
My MT 4 wont connect after windows update and I am pulling out my hair. Tried these , but none of them work ==================================== Rescan server Restart MT4 Restart windows 10 Delete server.ini Run MT4 as administrator Turn off fire wall File ===> Open account =? login existing trade...
  Forum Issue  (1)
This Forum was really brilliant , but from past months Forum doesnt show trading related issue ? Is This issue with me or other members also ? Kindly Reply
  My Bad Maths :(  (9)
Hi All, I wonder if someone can put me on the right track for something that should and probably is very straightforward. However, my maths is not good so, here it is. I'm trying to take the close of two different bars and see whether the difference falls in or out of the scope of a "reversal" value...
Hi All, I'm trying to debug an indicator and when stepping through the code I want to check the output on the chart. When I select the debug-created chart to adjust it, the cursor starts spinning and the UI freezes. I've done this countless times debugging an EA but this is my first indicator and so
Hi, I try to get MA of DeMarker by iMAOnArray. in MODE SMA value is correct but in MODE EMA value is incorrect. what's wrong please help me. This my code double Dem_0[20];int a=0;int b=DeMaker_MA_Period-1;double dem_ma_1,dem_ma_2;while(b>=0){   Dem_0[a]=NormalizeDouble(iDeMarker(NULL,0...
  ECN Brokers Test  (2)
Hi, I am using MT4. Can I use  OrderSend with SL and TP and having error 130 to find out whether the broker is an ECN broker? Is this method the correct way and accurate? Or is there any other method to determine whether a broker is truely ECN? Thanks 
Hi All, I've created an EA and added drawing objects using the standard library. In a custom indicator, can you still draw on the main window using the standard library or can you only use the index buffers to draw on the chart?  I've created an indicator but using the standard library, the objects...
So I'm trying to create an indicator, here's the basic process inputs: buyzone (Stochastic level) sellzone(stochastic level) Fast MA Slow MA Sell Signal:  IF (Stochastics>= buyzone) AND (Fast MA < Slow MA) THEN (Display Red down arrow on chart) Buy Signal: IF(Stochastics=<sellzone) AND (Fast...
Hi, please call me dumb, however i can't find how to get the current price that is also presented by the horizontal bar in the chart. In MarketInfo(); i can only find ask and bid price. They only way i consider atm is reading out the actual closing value of the first bar ... however is there no...
I have downloaded and installed mt5 from mql5. When I open some charts (ex: gbp usd) and go back to 2017 data, I see few candle sticks that are over 10,000 pips. Due to this I cannot properly draw SR lines, I was wondering if anyone in this forum had this issue and was able to fix this. Any help is...
I have been using MT4 on my MacBook using parrells for some time now, all of a sudden the other day I opened up MT4 and I could not click anything (nothing I clicked would respond) at all. I couldn't even close using the 'X' I have tried allot of common fixes e.g. re installing MT4, also deleting...
Hello, I am trying to compare 2 different EMA from H1 timeframe with close price. But I get "Array out of range" error. I run this indicator on M2 timeframe. How Can I fill the MA buffer from rates_total?...
Today, 22 December 2017, my PC applied updates and now a bunch of my indicators won't work on MT4. Anyone else having this issue? Does anyone have any suggestions how to fix it?
  Help on program  (2)
Hi guys, I am working on this program: int start(){            Alert("Numero Ordini"+CountTrades(MagicID));      RsiPrec = iRSI(NULL, 0, RsiPeriod, PRICE_CLOSE, 2);//Rsi      Rsi = iRSI(NULL, 0, RsiPeriod, PRICE_CLOSE,...
Hello I come from Thailand. I am interested in MetaTrader 4 Mobile I wonder if metatrader has stock price and indicator for Thai market (known as SET) Thank you
Hi, In MQL4 is there any event that notifies when a candle starts drawing? e.g on 09:15 I need to be notified that a new M15 candle started drawing Thanks
Hello friends,  I am new to MT4, know little basic programming for MQL4. I am trading in UTC+5:30 in Indian Stocks. I just want a small piece of code to get today's First candles HIGH and LOW in current TimeFrame. Our trading starts at 9:15 AM IST and ends at 3:30 PM IST. e.g. if I select PERIOD_M15...
  Trade the equity  (11   1 2)
Tradethe equity Thereare so many trading systems out there that all have something incommon: sooner or later they are all facing a more or less heavydrawdown. They have times when they work nicely and times when theydon´t. And as we all heard so often they stop working when we starttrading them live...
Hi, I am looking for MT4 function(s) that allow selection of specific symbol in the watchlist, so the symbol's tick chart is displayed. It is to be called from EA or indicators and would be similar to ChartOpen but for Market Watch, eliminating the need to click on several tabs and select the symbol...
https://www.mql5.com/en/forum/130523I am having an issue in an EA I am trying to write and which has to do with Bars or iBars counting. When I compile or attach the EA on the desired TF, the Bars are counted correctly: When I switch from daily to monthly TF, it reads the Bars correctly and goes on:...
I want to add email alert to below code. I am not programmer. I have tried Sendmail function but couldn't successful. Please give me proper code for email alerts. #define SIGNAL_NONE 0#define SIGNAL_BUY   1#define SIGNAL_SELL  2#define SIGNAL_CLOSEBUY 3#define SIGNAL_CLOSESELL 4#property...
  Confirm on next Timeframe  (15   1 2)
Hi guys, I'm a newbie on MQL4 so I would like to apolagize in advance for my lack of experience and my laughable code. So, I have this function: bool NextTimeFrame(){    // Next Timeframe Confirmation    if(useconfirmation == false)        return(true);    int TimeFrames[10] = { 1,5,15,30,60,240...
Hello, I am developing a multi-currency EA and got a strange bug, which I don't understand. So what I am basically doing, is calling iClose (s, tf, shift) one minute after the close of the last H1 bar for a bunch of symbols to determine the past movement. To debug wrong live entries, I print out the
Enumerate TimeFramesenum TFrame(Period_M1, PeriodM5....); and so on.........input  TFrame TakeTrade =Period_ M1;The above code is meant to list TimeFrames for user to select in Expert Advisor. Please , i am not sure what is being omit.You correction will be appreciated. Thank you.