Hi guys.. how do I get my stop loss and take profit to show the potential loss / gain on screen? As below? I have seen peoples platforms which actually show it on the relevant line next to the order ID, however previously I used to have to hover over the relevant line to show the potential value
cja: HiI have added an extra line of code to Signal Bars V7 & v71 to see if this will deter people from selling it on ebay - sorry for the inconvenience to all those honest members as this will add extra clutter to your charts What do you think?? Should we be doing this on all our indicators. The...
How i can add 2 indicators in the same window at the mt4 platform? Example To add a moving average or 2 moving averages at the RSI(14) window
Hey, as the subject says, I would like to change an Expert Advisor's parameters according to my account drawdown and market conditions. I do not have the EA code as it is one developed by a third party and I added on my account with an *.ex4 file. Is that even possible with MQL4? Thanks for helping
Hi guys i have this code //+------------------------------------------------------------------+ //| OCOea.mq4 | //| Copyright 2023, MetaQuotes Ltd. | //|
I have MT4 chart which has some chart history, I want to export this history to MT5. how can i do that
hi guys ,is possible set bold a write inside at editbox ? i have create the esditbox with insede a text , but i not find how is possible set a bold EditCreate( 0 , // chart's ID "Cross_1" , // object name 0
Good morning Forum, I have an EA that currently has two variables: buyOrders and sellOrders which increase by 1 each time a new trade is made. I have a maximum number limit which is currently set at 10 buys and 10 sells simultaneously. If a trade closes, then I would like these variables to decrease
I did a Buy Order in USDCAD at Price 1.36141 and Sold at 1.36241 with lot size 0.02 but I only got 1.47$ in profit instead of 2.00$. As per my research Take Profit will only close when Bid price reach the take profit price. Can Anyone help Me Here is the image of order from Account History
Hello guys, i am going crazy with a strange issue using iCustom call to have value result from this mq4 indicator https://www.mql5.com/en/code/7376 Code is really simple and it works fine if, for example, in backtest i execute code with a different symbol from where i call iCustom. I give you an
How can I make chart selection exclusive per account
This is just some information, rather than a question, but I thought I'd share it since I've been wondering how to do this for some time. The standard BITMAP and BITMAP_LABEL objects allow us to load bitmap images on to the chart, but do not support 32-bit images (with alpha channel). This means if...
When I download the demo- version-indicator from the Market it always goes to my live Mt4 account. Now I want to buy the indicator but I want to put it into my demo Mt4 and not the live Mt4. Is that possible?...Thanks
Hi; I am curious to know: presuming I have a global variable assigned the value of Symbol(). Which expression (see below) would be better to use and what are the differences? Thank you. string Currency= Symbol (); // global variable MarketInfo(OrderSymbol(), MODE_POINT); MarketInfo( Symbol
Hi. I have bought the [ product name] licence and I am unable to paste the .ex4 file in the experts folder In MT4. It just doesn't let me paste the file in it. Any suggestions? I have a Macbook Sonoma, don't know if it has anything to do with this. Thanks Product name redacted by moderator
I am trying to code for to identify engulfing bars but I am getting the wrong open, close, high, low values. This is the snippet of code: int currentBar = Bars - 1 ; // Get the high,low,open and close prices of the current and previous bars double currentHigh = High[currentBar];
I am trying to do a trade for lot size I use 0.05 for the lot which should be 50 cents per pip and I am doing 20 pip stop lose and 30 pip take profit so if I win the trade I should get $15.00 but mt4 is only paying me $1.50 which works out to be 5 cents per pip If I put it like this 0.50 which is
I'm trying to decode and convert HST files from MetaTrader 4 (MT4) into CSV format. However, I've encountered issues with the buffer size and struct.unpack errors. I suspect that the file format or data structure may have changed in the latest version of MT4. How can I find information about the
Hello everyone, For the past few days I've been looking for a reliant solution for this issue as many of the solutions I found online have many drawbacks. Market Open or Close - how can I find it? - Day Trading Strategies - MQL4 and MetaTrader 4 - MQL4 programming forum (mql5.com) First of all, I
The MetaTrader 4 platform update will be released on Friday , March 24, 2023. This version provides error fixes and platform stability improvements. The update will be available through the Live Update system
is it possible to convert EX4 file to MQ4 file.
Hello, I put text label on the chart and also put label (white painted) on the chart. But yellow text label is under the label and I can not read it. How to move the text above the white label? Is it z-order to solve the issue
Is it possible to make a pending order on MT4, seem like the only thing that I can place is a market order? I'm switching platforms because of this
Hi. I have an indicator based on supply and demand zones that I try to upload to indicator marketplace The indicator is compiled with no errors, but as to be able to upload it on MQL5 marketplace, I need to add "property strict" function. After I add it, the file gives multiple errors. Can anyone
Hi all, Been a while since I have done this sort of coding, so I'm a little rusty... I need to get the computername and am trying: #import "kernel32.dll"string GetComputerNameA(string lpBuffer, int nSize);#importint start(){ string name; GetComputerNameA(name,32767); Print(name);...
hi guys i always see codes with continue at the end. what exactly it does? i coded some not complicated EA but i dont used it. I try to read in google but i cant really understand why you have to put it. What help will it add on my EA? Here is an example if ( ( OrderMagicNumber() != magic25 ) || (
Hi, I'm having a new problem with an old function that gets the Computer Name on Build 646. #import "kernel32.dll" int GetComputerNameW(string lpBuffer, int nSize);int GetEnvironmentVariableW(string lpName, string lpBuffer, int nSize);#import string GetComputerName() { string...
I'm aware that the subject of point value, delta lot value, and related calculations has been extensively discussed on this forum. Until recently, none of my customers had encountered issues with point value calculations when using my products. However, I've encountered a unique problem for a client
Is there a limit in MT4 for how many files or "trees" (folders , files) can be in the experts folder ? i have a subfolder with 4 source codes and i can only have 2 compiled max
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.