Hello,I would be very grateful if someone could help me with my problem. I need the amount of the balance in one of my indicators. Which I get with the function AccountBalance(). The problem is: when I change the Account in the MT4 (Login with an...
Hello Dear Community,
does somebody know how I
can solve the problem with the "Locking" of the Cbutton? I have
created a CButton on a chart with the following code. I would like to have
a button which you
can press, but the button should not...
Hello,I try to verify in the strategy tester if the actual bar bool LastBarInThisMonth = false;
LastBarInThisMonth = CheckLastBarInMonth(Time)
is the last bar in the
actual month. I tried to write these two functions.
Dear Community,sorry for the double post. I ask the question at the www.mql5.com forum, but there nobody could help me. Maybe somebody here have an answer for me.I try using the Named Pipes to exchange data between two terminals. Unfortunately, I can...
Dear Community,I try using the Named Pipes to exchange data between two terminals. Unfortunately, I can not get it to work.. I've already read most of the entries in this forum regarding Named Pipes but found nothing suitable. I can not find the...
does somebody know, if is
there a possibility to use a two-dimensional array in the StringSplit function.
If I use it like bellow, than I get always an error:
']' - expression expected, 'TradeValues' - array required
I want to
here is a suggestion how one can call a MetaTrader
Script from Excel VBA. Unfortunately the code does
not compile any more with the Build 600. Is there a possibility to call the MT
Script (build higher than 600) from Excel VBA...
how can I get the value of
the last line in the CSV file? I have tried to write this code, but it returns
me not the correct value. I have found some older post in the forum, but they don’t
Thank you very much...
where can I find a list of the lParam for the PostMessageA function? For Example
PostMessageA(int hWnd,int Msg,int wParam,int lParam);
PostMessageA( WindowHandle( Symbol(), Period()), WM_COMMAND, 33050, 0);
is there a possibility to change
the window background color with a mql4 script? I have found in the forum
some possibilities to draw a rectangle in another color, but this is not what I
mean. I need to change the color of the...
Dear Community,I have a question: If I test my expert advisor in the visual mode (every tick mode), then the closed/modified positions are shown too late in the results-tab of the strategy tester. I can see the trades in the chart but not in the...
how can I change automaticaly the text object color in the same color as the line? I have in my code the folowing lines:
#property indicator_color1 Green
#property indicator_color2 Red
I am searching for the
possibility to get the market open time of the broker on Sunday or on Monday.
There are some brokers who begin the trading at 23:00 on Sunday, but there are
some which start first on Monday at 00:00. Is...
Dear community,I would be very grateful if somebody could help me with the position of the label. I would like to create some labels at the end of the indicator lines like on the picture below. The labels should move to right, if we get...