MQL4 and MetaTrader 4 - page 3

  Usefull links/threads/tools  (57   1 2 3 4 5 6)
The thread about threads: what's going around the forum everywhere ============ MT5, mql5, mql5.com suggestions for improvement thread ============ Requests & Ideas The beginning Requests & Ideas, the beginning - the thread Suggestions for Trading System thread After Requests & Ideas (MQL5
Hello friends, I would like to recreate this indicator for MT4, or if someone already has it done for MT4, that would be even better :D. Here's a description of the indicator and what I know about it: It's an indicator used to understand when to enter and exit the market in spread trading
  MT4 cannot load EA.ex4  (21   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
Hi, I have purchased a custom EA and there is new version out. i want to update from version 5 to version 6. I cant figire out how to do it. The develpor told me that it should be in Markets and then purchases. when i click on the purchase and the said EA. I dont see any button or tab there to
hi any idea why EA cant load? anyone encounter this? had be uninstall and reinstall again can someone guide me in this
  Buffer values  (2)
Hello, I'm working with a developer to create a mt4 indicator that reads buffer values on the chart saved by 2 other indicators and uses those values to determine when a trade alert should be given. I want to use the iCustom() function to reference values stored from the other two indicators on the
Hi I have built two basic indicators today for my own use but I cannot finish them due to 4/5 red lines that I have tried many scenarios with no avail what do I need to put in the following boxes Copyright Link Version Atrict indicator chart window It may seem obivious to some I know but nothing
Hello, I'm working on an expert advisor created by me; I've actually defined how the program opens a position (sell and buy) but I have some throubles with the exits. I need to code this situation: in case of long position, the EA should exit if: * Bid is less of the first "lowest low" (the most...
[Deleted]
Hi, I need help in avoiding orderSend error 131 and orderClose error 131. Here is the value I assign to lot size: Double lots=NormalizeDouble(MathAbs((AccountEquity()/10000)),2); and Here is How I send an order: OrderSend(Symb,OP_SELL,lots,Bid,2,Ask+600*Point,Ask-2000*Point); I need to program my...
Weird problem I'm experiencing. When I open MT4 and get the sound confirming that I'm connected to the server, MT4 shuts down on its own completely. This happens only when my EA is loaded. I've used a self-made EA as a helper tool for some time now and have never had this problem before. I don't
  Coding help  (7900   1 2 3 4 5 ... 789 790)
Hi, Mr. Guru could you please help me to constantly refresh an ea after each tick movement. I have tried everything, But I just can't make it refresh constantly. What lines of code must I insert to keep an ea and indicator refresh after every tick ? Tnx
Hi coders, I'm trying to learn 2D Array to store the OrderOpenPrice() for each symbol. Existingly, I have 3 symbols that with open orders :- 1) AUDNZD : 10 BUY open orders 2) EURUSD : 8 SELL open orders 3) XAUUSD : 12 BUY open orders and 3 SELL open orders The following are my codes :- string
Why don't take profit and stop loss orders work on MT4
//+------------------------------------------------------------------+ //| DrawUtil.mqh | //| Copyright 2024, Ting | //| https://www.mql5.com |
After posting a message to service desk, asking for zoom in shortcut as in MT5 (which knows about "-" and "=" keys on first row on keyboard) they told me I need to use Shift + "=" to zoom in. huh? thats very intuitive, thanks but no thanks.  I searched for a solution, and the most flexible was...
Hi all, I have been struggling in figuring out how to calculate unrealized net/gross profits for my current account. In other trading platforms there is a property of UnrealizedGrossProfit and UnrealizedNetProfit on the Account object itself. If this does not exist, can you do something like loop
I’ve opened and closed traders that I have seen drawdown 5% or so. Why is this not showing when I download the detailed statement of the account
Right, I have the following: void CalculateRSquared( int Periods, int SMAMODE){ if (Periods > 10 ){ Periods = 10 ; } //--- //// Declare dynamic arrays. double time[]; double price[]; double time_pow[]; //--- //--- //// Resize arrays to the specified number of period
Hi coders, hope you can help a non-programmer myself ... I have 2 strategies written in 2 EAs. Currently, I load the 2 EAs into 2 different charts but with different coded conditions (same magic), in other words, at any point of time, only one EA is trading and the other EA is in dormant state (both
Hello friends, I am trying to run function at the time I need, but function ignoring the given time. bool IsBelowMA() { double Time_S = Hour() + Minute() / 100.0 ; // Ensure the function executes only after Time_Start if (Time_S >= Time_Start) { for ( int i = 0 ; i <
Hi guys im doing this EA but using date, time and timezone confuses me. Can you help me make a function that will return true if its New York Session or return true if its the first 3hours of New York Session? Thank you so much :)
Hello All. I want to hide the color and Viisulization TAB in the custom Indicator as its not being used. it it possible to do in MT4? Thanks
You may have already noticed that the most interesting things now happen mainly on the MQL5.community. MQL4.com is about to be switched to the data archive mode. Only Book and Documentation sections will remain on MQL4.com by November. Besides, the entire MQL4.com Forum content is to be transferred...
Hi I just started in debug mode in a script just this: long    Ch01 = ChartFirst(),        ChMe = ChartID();long    ChNx = ChartNext(ChMe); and get: Ch01:130395223288765087 longChMe:130370193351027474 longChNx:-1 long I expect s.th. like 0, 3, -1 it is the last Chart?? What is meant with ID of...
I'm looking for an indicator that is compatible with offline charts for MT4 and automatically pulls higher timeframe Support & Resistance. Is there a Support & Resistance indicator that supports offline charts somewhere? Thank you
I want to keep saving a value for Zigzag indicator and save it as a buffer
  Previous Bar Trailing Stop  (43   1 2 3 4 5)
Hi, has anyone a trailing stop EA which moves the stop to the previous bar's low/high? Thank you!!
Hello, I recently realized that my code for detecting moving average crossovers was not perfect. Instead, it is the classic code that is generally used by EAs. Here is an example for US30 (backtested in visual mode in order to see the values ​​of the moving averages at each bar opening): - At point
Hello, I am interested to rent the MetaTrader VPS mainly to get Push Notifications from an indicator I developed. I tested it and I get push notifications on my mobile from the MT4 I run on my computer. I would like to now if the push notifications system works over the MetaTrader VPS before renting
Hello, I want to know can MT4 send WebRequest to a server or website directly like MT5 or I need to build a .dll file to do that