MQL4 and MetaTrader 4 - page 6

  Can price != price ?  (95   1 2 3 4 5 ... 9 10)
I'm trying to understand something strange that I am seeing so I can better code round it in the future . . . I noticed something strange happening with one of my Indicators, it wasn't doing what it should have been so I checked the code and it looked correct. So I did a little investigation and
  MT4 download  (17   1 2)
I want an MT4 download link, I do not want to use MT5... Most people want MT4 so why push users towards MT5? Why should I go through a broker? Stop annoying a lot of people and provide an option!!!
(Previous part here ) Hello, Could you suggest a function in mql4, which among several open buy positions, starting from the lowest price, counts the specified number of lots (sum) and outputs the price below which this number of lots are. Orders are market orders. And the same, but for sell. To
Hi All, Im trying to add this indicator to a chart in MT4 but it just wont load.  I think it may be a build issue. Does anyone know how i can fix this? (sorry am a bit of a novice - i have tried editor/compiling but no idea how to fix the errors). Thanks
  problem with iCustom  (14   1 2)
hi here I have a custom indicator , But when I use it in my expert 's backtest, I only receve maximum one signal ! and in the back test I only have maximum 1 trade (depending on start time of backtest ) !! here I have deleted the SendOrder to minimize code size , i only receive one print
I have a question I use the below code to remove certain figures from arrays from a specific index. How can I make the code work for arrays example RunningTrades[].symbol void RemoveIndexFromArray( string &MyArray[], int index) { string TempArray[];
Hello all, I tried to make a panel with a checkbox, It works well, but how can I catch the checkboxevent (is checked or not) Some advices are apreciated, thank you Greetings //+------------------------------------------------------------------+ //|
Hi , anyone who can build Mt5 indicator for me , with really simple steps. Let me know Will pay
Hi, Just wondering if anyone else is getting this odd problem where the terminal is unable to download/update to the new version? I just get this message repeated constantly: "LiveUpdate: old version, try to download new one" Have tried on different days to, just in case there was a server issue
Hi, the error messages below were generated in the journal while an EA was trying to place pending orders. Error 136 (off quotes) is captured by waiting for the refreshrates() in a loop and immediately sending the order again with the new prices; However, the process below keeps repeating itself....
var bool gbroken= false var bool rbroken= false //-----------------------------------[MARKET STRUCTURE INDICATOR]-----------------------------------{ //--------------------------- //market breaking indicator // //-----------------------------------------------------------------------------
I've been using the ALPARI UK Demo for a few months now and this is the firsttime I came across this error. My journal has the following lines (they repeat a few times): DataCenter connecting failed [6] unknown command C6 login The expert that was running during this stopped working, but did...
Hi All, I have created an EA that relies so much on candle and MA statuses at the close of period for both entry and exiting of trade condition. The only exception is if SL is triggered or max drawdown reached. This means that considering I use the 1H time frame, it can only place a trade or exit a
hi guys, i am trying to find the signature of OKX request. the screenshot is showing what i find, the last value in the screenshot is what i should find, and the value before it is what i am finding. any help? it says that hash256 should give raw binary code, after that we encode it on base64... any
Hello, After auto updating MT4 today, my MT4 unable to connect to EA. I have been using MT4 with this EA for a while, The error just appeared after today's program update. Does anyone know how to solve this problem? error message: cannot load
My account went offline because of "old version". I installed the newest Mt4 update (built1420), but now it is no longer possible to drag the EA into the chart. What can I do
[Deleted]
it's works fine on changing time period, but not with symbol. what do i mistake here ?? this for changing time period, worked correct. //+------------------------------------------------------------------+ //+- Roll 1 Button Period M1 ----------------------------------------+ if (id ==
https://www.mql5.com/en/code/mt4/indicators downloaded about 5 custom indicators from here, put to my folder, compiled them, but none of them are working. input window don't even appear. what's the problem? help please. build 1420 my folder address
have a nice day. Below is my code structure. However, I cannot plot this data on the graph screen. Can you help me. I'm new to MQL5. double BUFFERTOP[]; //// int ema1; int ema2; int ma1; int ma2; int highW1; int highM1; int loww1; int lowM1; int closew1; int closeM1; double valueema1[]; double
Hi, due to my testing setup i need an idea how to avoid automatic update from metatrader. Is there an opportunity how to handle with it. Or possibe to rollback to older Version
u sing thi s code: but not working for some rea son...help... each time return s la st profit, but not multiple clo sed order s, which clo sed at the same time. / /------------ double LastProfit( int tip) { double cnt= 0 ; for ( int i=OrdersHistoryTotal();i>= 0 ;i--) {
Hello everyone.. I want use below indicator on MT5 EA this is possible..? // @version= 5 indicator ( "ALİ ALT BUY DENEME" , overlay = true ) Kol_Linii = input ( 2 , "Количество линий" ) Signal = open [ 3 ] > close [ 3 ] and open [ 2 ] > close [ 2 ] and open [ 1 ] > close [ 1 ] and close > open and
It is so fractured !! I try millions solutions on online but nothing can help me. I bought the EA from MQL5 but can't load it on my MT4 server. I try to list down all the details I got, so hope the community can solve my issue without longer discussion thread. Device (1) : MACBOOK Parallels Window
Hello everybody, Since 2 days, all my metatraders 4 (macos, ios and windows 11) stop to connect to trading accounts unless I deactivate my ExpressVPN. I have been working with MT4 + ExpressVPN seamlessly during 3 years and since 2 days it just does not work anymore. I've spent hours with ExpressVPN
#property copyright "CopyLeft, Aad Slingerland aka 2733, januari 2024." #property version "1.11" #property link "https://www.youtube.com/playlist?list=PLCNIo-MSrmGdD7pCCGh7-uPxdXxnBn0Da" #property description "https://www.youtube.com/playlist?list=PLCNIo-MSrmGdD7pCCGh7-uPxdXxnBn0Da"
Hello, I am not taking Stop Out Level, Risk Percentage or Stop Loss into the consideration, The maximum lot size i can take in my account with Account Balance. While calculating the Lot size one major problem is Forex = 100000 Unit Gold = 100 Unit Silver = 1000 or Maybe 5000 Unit Similarly for
  MT4 cannot load EA.ex4  (22   1 2 3)
hello, my case now is I purchased EA from market and cant load it in my mt4, ‘C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\xxxxxxxxxx\MQL4\Experts\Market\name EA.ex4’ other EAs are fine. Im using MT4 ICmarket. reinstall several times already
Hello. Is there a way that I can retrieve the commission cost by a script in MT4 (as I could retrieve the swap fee)
hello everyone, a few months ago I entered my demo account information as a signal which allowed me to obtain live information from my account (drawdown, number of trades, open trade, etc.) and I could see the trades live without necessarily connecting to my MT4 account. For some time now it has