MQL4 and MetaTrader 4 - page 65

Hi. I use MT4 already more than 10 years. Recently I change my stile of trading and start using around 20 windows at the time. My computer start to behave extremely slow. A transfer between M15 and M5 takes around 30 and more seconds. I use Windows 8.1 Professional with 8Gb memory on a 6 cores CPU...
Hello guys, sameone know how to manage this situation? Basically in my ea before to open a new order i want check if i have another trade with that symbol open and in that case i want skip i new trade
In MT4, I buy one Ethereum for $1827.02 at leverage 1:1. My margin (as shown in the attached sceenshot) calculated by MT4 is half of the price ($913.51). Shouldn't the margin be exactly as much as the price (as I am using 1:1 leverage), instead of half of the price
Hello, please anyone help me write code in Mql4 for trailing pending orders . For instance when I open a buy position, I want my stop loss to be the same as my pending sell stop and trail them as market moves in an uptrend. Same for opposite Thanks
I have an indicator that tracks max drawdown during the day. I have it displayed on the chart with a text object. Problem is, that if the user changes an input in the indicator (to move the text to a different corner), I have to delete the text object and then it loses it's value. How can I create a
Hello! If I use this function double NormVol( double vol) { return ( MathFloor (vol/ SymbolInfoDouble ( _Symbol , SYMBOL_VOLUME_STEP ))* SymbolInfoDouble ( _Symbol , SYMBOL_VOLUME_STEP )); } and to normalize a double of 0.1294, it will result in 0.12 for a volume step of 0.01 If I
  tradingview code  (6)
hello guys I'm new here, could you advice me on how to convert trading view code to mt4 format
Persian farsi Hello, I wanted to send the following proposal and criticism to the creators of Metatrader in English. Thank you for your help and guidance. 1. Five shortcut keys in Metatrader F6 control is used to switch or jump to the next chart (next chart) if we have opened hundreds of charts in
Hi everyone when i trying to start the back test the maximum number of candle in back is around 900 (i get it with Command of Bar) how i can have access for more candle in past in the beginning of back test thanks
Hello boys! I've been looking for a long time how to distinguish the drawdowns and the various operations of the expert advisors on my account. if for example I have a total DD of $300, I would like to know if it's $200 from one EA and $100 from another etc. on the history it is easy using the
I will be happy if MT4 supports UTF-8 source files. Currently, MT4 build 6xx supports system locale codepage encoding and UTF-16LE. UTF-16LE is locale-independent encoding, but has the following problem: Some tools recognize UTF-16LE files as binary (ex. git).Not only tools but also some of web...
According to http://www.metatrader4.com/en/releasenotes/215, first paragraph 1. Increased the maximum size of custom tooltips for graphical objects to 128 symbols. The tooltips are set using the OBJPROP_TOOLTIP property. Yet there seems to still be a 63 character limit on the tooltip [per line]....
Hello all :) Sorry for my bad english, I'm a little French ! I have an EA that was coded by a programmer for me, it is perfect but there have a little problem. It's a hedging EA, it opens ASK and BUY at the same time every X pips, and sometimes, when it comes back to the same place, it opens the
[Deleted]
Hi there, If I have an object name how do i know which window it is in? THX!
Hi I do a code in mq4 to show an arrow when: The Macd is above the 0 level line and the candlestick has the lowest closing price of the last 4, it will show a buy signal. And when the Macd is below the 0 level line and the candlestick has the highest closing price of the last 4, it will show a sell
Hello everyone, I hope someone can help to check my code. I wrote my own function that counts the number of orders aggregated separately by the magic number. However, when I ran the Strategy Tester , I found that the function might not work as well. Here is what I wanted to do in the code. (I will
Hello everyone. Sorry for my English. This code gives me compile error. 'Class2' - declaration without type Class1.mqh class Class1{   private:      Class2         class2;   public:                     Class1(){};                    ~Class1(){};};class Class2{   private:      Class1...
  MT4 Beginner  (5)
Hi everyone, when I Analyse the market and then I colse the window, the Analysis is gone. how can I Change it? thanks martin
Hello, I hope that I am posting this in the right section. I've done so research of my own to see if I could find the solution online, but this doesn't seem to be such a big topic. I've found post of other who had the same issues, but no one offered any solutions. I figured I give it a shot myself
[Deleted]
The EA works on the live & demo markets but when testing it works on some markets but not other, what might be the issue
Hi, Im having some problems with showing certain objects only in specific TF. What happens is that it doesnt show  em at all.string tf = "";int timeframe = 0;string comment="";     switch(Period()){      case 1: comment="BB_M1"; tf="M1";timeframe=0x0001;      case 5:...
Hello. Does the indicator initialize every time you call iCustom
Hi guys indicator not work and Error array out of range. can you fix it ? #property copyright "Copyright 2022, Moal sofware Crop." #property link "https://t.me/moalpert" #property version "1.00" #property strict #property indicator_chart_window #property indicator_buffers 1 #property
Hello, I have these functions: void PositionSave() { int handle = FileOpen ( __FILE__ + ".bin" , FILE_WRITE | FILE_BIN ); if (handle== INVALID_HANDLE ) { Print ( "Handle Invalid" ); return ; } else { FileWriteInteger (handle,MyDialog.Top());
I hope I am posting in the right category. If not pls direct me. Hello, I am using Excel RTD from FX Blue Labs from  Pepperstone to connect my Excel 365 (Desktop) to MT4 to get real-time forex data and historical ones. I need to know how to use the fill handle to fill all the cells without typing...
Can anyone point me to the tools/libraries that can be used for developing Pattern Recognition on MT4? Thank you
Hi, I draw short horizontal lines using this code Line=Time[a]+( PeriodSeconds ()*HlineBars); It draws shorter lines if there's weekend, I want to fix it, how do I fix it? Thanks in advance
Hello community, i'd like to ask if someone else encountered this weird error that can only appear during backtest (and not on demo or live): OrderSend error 4107. The error should be related to: Negative values in price , stoploss or takeprofit parameters of the OrderSend() or OrderModify()
[Deleted]
I keep getting this error code with my Expert's. What does it mean? I tried several brokers and it happens in all of them.    The curious thing is that after a few dozens of trials/iterations, the orders are finally matched. From this I can say there is nothing wrong with the code. Besides, I tried...
Hello everyone, Is there an effective method for retrieving the balance and closed trades from more than a hundred MT4 accounts? I have created a prototype with an MT4 script that connects to the accounts one by one to retrieve this information. It works, but it is not an efficient method in the