MQL4 and MetaTrader 4 - page 3

hi everyone can somebbody convert mt4 indicator to mt5 indicator
  How to Deal with Bar0 ?  (12   1 2)
Hi coders, I have a technical issue that I cannot resolve it. I have an entry condition as follows :- double Hi0= iHigh (sym, 60 , 0 ), Hi1= iHigh (sym, 60 , 1 ), Lo0= iLow (sym, 60 , 0 ), Lo1= iLow (sym, 60 , 1 ); bool BuySignal= ... && Lo0>Lo1 && ...; bool SelSignal= ... && Hi0<Hi1 && ...; To
Hi; wrote this code that will send order entry confirmation to monitor screen and cell phone. if (TimeStamp != Time[ 0 ]) { SendNotification ( "SELL Order Possible! / " +Currency); MessageBox ( "SELL Order Possible! (" +Currency+ " /
[Deleted]
  open order after TP or SL  (22   1 2 3)
Hello, I have tried without success to get an order opened after my current trade stop loss or take profit has been hit. Here are my requirements. I currently enter a trade where my ea sets the stop loss and take profit. I wait for the market to hit either my stop loss or my take profit and when...
Hi All, I am trying to find an indicator similar to One-Sided Gaussian Filter w/ Channels [Loxx] on TradingView in MT4. Anyone get a chance to build similar indicator
Hi, this EA must read a custom indicator with iCustom, when I charge the EA for the first time it read correctly the Buffers, but after a couple of bars the same reading returns EMPTY_VALUE, as you can see from the Comment. See photos Pre (when EA is loaded) and Post (after a couple of new bars)
I have done amount version of my EA and done amount of backtest, some results are good some are bad, I dont sure which result is much closer to live account. My EA is only for crudeoil or usoil in 1M CHART with 1:100 account. "Spread: 50 pip for 0.xxx / 5pip for 0.xx" I have apply a features to this
Hi I would like to incorporate a trading rule that when price is below a certain price for instance USD JPY 148.37 then it will allow a sell based on other parameters. The EA would run on the time frame and currency. I have all the coding for the mechanics of the sell etc. I just can't find how to
EA MQL4 LANGUAGE STRATEGY BASED ON EMA Crossover + RSI: Identifies trend with EMA crossover and filters false signals using RSI. EMA + Price Action + MACD: Confirms trend momentum using MACD to avoid fakeouts. EMA Bounce + Fibonacci Retracement : Checks if the current price is near key Fibonacci
  Elite indicators :)  (15192   1 2 3 4 5 ... 1519 1520)
Hello, Does anyone know where I can find an indicator that takes in price values, which when reached or surpassed will cause the indicator to send a sound alert
I can't download the DEMO. When I click on FREE DEMO, I can't find the DEMO in MT4
  wrong output from iMA()  (11   1 2)
Hello everyone, I'm trying new code with Moving averages on 3 different periods: string MAsBuySig; extern int cx1= 2 ; // MA shift 1 extern int cx2= 3 ; // MA shift 2 extern int cx3= 4 ; // MA shift 3 void OnTick () { double MA200_cx1 = iMA ( _Symbol , _Period , 200 , 0 , MODE_SMA , PRICE_CLOSE
I have a volume indicator I would like to share here which displays No Supply and No Demand indications when confirmed, however I would like for it to show the indications before confirmation/instead of waiting for confirmation if possible? I tried to do it myself but to be honest I am not sure how
Hi - I am trying to set up a VPS to run an EA on my MT4 with Trade Nation. It doesn't matter what payment method I try to sign up with it immediately displays error messages with all the ways to pay. Any help? See attached
[Deleted]
Hi I have seen If two object crossed with each other then the cross section get white or in other color. Is there any way to avoid that?   I don't want the white area, I want it to be full blue. How can I do that? One thing predicting object cross section are is not possible as its dynamic. Regards...
  mt4 terminal  (2)
hello,how can i download mt4 terminal here
(Reposted using English in this "en" English forum; please ignore improper duplicate English-in-Russian forum https://www.mql5.com/ru/forum/474328 ) I haven't found a MT4 bug report of this issue; perhaps I missed it. (Tested MT4 b1420; This works on MT5). When I draw a Rectangle object (with Draw
in mql4, i can use iTime[1] to get bar[1] opentime ,   in mql5 , i use below sentence  CopyTime(Symbol(),PERIOD_CURRENT,1,1,from);    but i get  compile error: no one of the overloads can be applied to the function call   how to solve thanks 
My profit colour is black i want them to be blue
[Deleted]
Hi, How can I find market Open or Close? dunction GetLastError()? What value return function? Or other function/way? Other solution? Thank you.
Greetings, Does anyone have any solution to MT4 indicators not working on high resolution screens yet? This thread https://www.mql5.com/en/forum/158168 basically says there is no solution other than the developer fixing the indicator. But does anyone else have any other solution yet? The majority of...
Hi, I wonder if this has been discussed before but I didn't find anything in google. From my research, the following 2 declarations seem to be doing the same thing. double Ticksize1 = MarketInfo(Symbol(), MODE_TICKSIZE);double Ticksize2 = SymbolInfoDouble(Symbol(), SYMBOL_TRADE_TICK_SIZE); So is...
//+------------------------------------------------------------------+ //| qjol sol for wininet.mq4 | //| Copyright 2023, MetaQuotes Ltd. | //| https://www.mql5.com |
  Developing a stable trading robot  (170   1 2 3 4 5 ... 16 17)
I am in the process of developing a stable trading system that will combine stable profits with occasional losing trades. The system is based on a flip martingale. I should immediately mention that I understand the futility of the classical martingale, but in this system it is used in a slightly
Hello experts, I need your advise to understand why OnCalculate doesnt work in my EA. I have the following compilation warning " OnCalculate function declared with wrong type or/and parameters" and the print statements always return 0 when EA is running. 2023.02.08 15:10:22.523 TestOnCalculate
Hi, Just wrapping up a script which sends tick data to MySQL database. Successful, but when I went to add some more variables in the string I got the compile error: '(time_posix INT UNSIGNED NOT NULL , th INT UNSIGNED NOT NULL, dow INT UNSIGNED NOT NULL, date_time VARCHAR(40) NOT NULL, date
  Balance Update  (2)
For the 2nd time this week. I've got an unknown 'Balance Update' showing on my history which is deducting money from my account. Is there anyway to find out why it is doing this. I'm currently on a practise OANDA account, but i'd like to understand if this is a charge i'd see if trading for real....
Hi I'm trying to send a webrequest, but it says "Http request failed" error code: 5203 I searched so much on the internet but i couldn't find something that resloves this. I added the "http://localhost" permission on the setting, but it's not the problem. It doesn't work neither with GET, or POST
  mql4 bmp sources  (15   1 2)
hello everyone are there any sources to download .bmp files with different sizes to use in mql4 coding ? thank you in advance
Hi, when loading an EA via Template, the EA will be "loaded successfully" but no OnInit Call will be executed. There is no chance to get code executet if the EA was loaded from a Template. The "Expert" Tab in MetaTrader will print "loaded successfully" but also missing the log line "initialized". If