General - page 316

Hello folks, i'm trying to edit the code of heiken ashi indicator so i can also change the color of the border of the candle but since i never coded in mq5 i can't make it work. Can anybody suggest me how to do it please? This is the original code: //--- indicator settings #property
I send some money over to MQ5 to purchase an EA, but when I tested the EA further it did not work I tried to get $100 sent back to my bank card but I was informed that you can not withdraw funds after you have sent them to MQ5 is this true? dose any body know how to get funds sent back to themselves
Hello I have a confusion about number of the positions! In the documents, it says that there is only one position for a symbol, however, I see more than one position in the terminal and can get same number using positionstotal() function. Is the document outdated and things have changed in the new
You can get general information about a Signal, like balance or equity, using SignalBaseGet...(), but this will not give you full transaction history. Is there a way to get full transaction history for a signal, similar as you would get for your own account with HistoryDealGet...()? There appears
i have noticed that my first version for this code was working well, now it calls it as if its a custom indicator that i not on mql5 ,could this be a conflict that i already have a cci custom indicator, while i using a standard, I plugged the EA to trade on one pair and it was allowed and still
I bought a trading panel on MQL platform and when I would like to install on my live MT4 platform it always direct me to my demo MT4 account. What can I do to have a choice which trading MT4 account to install the software on
SQLite/ Native handling of SQL databases in MQL5 - MQL5 Articles This article shows an example of how to use struct Person with DatabaseReadBind() function to fill an object from a database. I want to do a similar thing but with Positions, Orders and Deals so I need structs for a Position, an Order
i have publish a code in codebase, now i want to delete it from codebase, how do i do that, thanks
  Profit formula?  (6)
Can anyone give me formula how MetaTrader 5 calculates profit? Probably somehow it depends on price, volume and maybe more arguments. Thanks!
Hi there are instances where code is working properly on demo account taking buy and sell positions as per parameters but when on VPS, once buy exited sell position is taken simultaneously as per code parameters, then VPS is not taking that. As you can see in pic that natural gas sell position
Starting out with MT5 and working with Multiple Monitors I am relatively new on my MetaTrader journey and have decided to get straight into MT5. If anyone has any good tips, or knows of particularly good online learning material, especially videos, etc, I would be interested. My particular focus
If I have multiple monitors how can I put (open) different charts from MetaTrader in each monitor ? Thank You.
Hi, I have been googling the hell out of this question and I just can't seem to find an answer. Does anyone out there know if it's possible to save detached chart locations for multiple monitor setup ? I have 6 monitors (including my laptop screen), I set up 4 detached charts on each screen, but
Hi, I have a question. I am trading a private signal which currently has about a 5% avge. monthly return and about a 15% largest drawdown. In the long term (based on past demo account trading the same system) the monthly return will probably go up to about 10% per month and the monthly drawdown to
How to Become a Broker on MT5? I would like to know all steps one by one, if someone have knowledge about this, please guide
Greetings! I hope someone can answer to my question! Right now MT5 trading platform on my phone doesn't work.And they have moved to a new different one.So I had in balance -51.00 usd. And I can even get in contact with customer service or what it calls,because messages undelivered to them. What
The bid-ask spread is extremely important in forex trading. It is essentially the difference between the lowest sell price and the highest buy price. A higher spread may indicate lower liquidity, and vice versa. So, keep an eye on the spread and plan your trades accordingly. Many traders usually
Is it possible to copy more than one (free) signal on a demo account? If possible, is there an explanation for that
  old indicator  (1)
//+------------------------------------------------------------------+ //| iTrend.mq4 | //| Copyright © 2004, MetaQuotes Software Corp. | //| http://www.metaquotes.net |
Hi, can anyone help me? auto-scroll is already disabled
  Moving a line  (2)
Can anyone help with the following. I want to create a horizontal line at the bid price, then allow the line to be moved and stay at the new price. The following draws the line and allows moving, but when I changed time frames it moves the line back to bid. Is there a way to stop it being moving
Hi, I have installed mt5 on my machine (this is the second machine i am enabling for MCN, the first one works good) and then added 1 agent for one core, but in the next tab all check boxes are disabled, and in the first tab I do not see joining to MCN check box, I have attached the pictures whould
I setup MetaTester 5 Agent manage build 3443. if software build 910 working: But with software build 3443 don't connect with cloud mql5
I installed the MQL5 agents on a PC to provide computing power to the cloud network. After I installed the program, I changed the name of the PC. Big oops there. Now all the agents are duplicated. I believe this has also locked them, since it accidently violates the " The number of agents on your
Good Day Everyone! I am a freetime and hobby programer with not so much experience in MQL5 but I do my best and only ask for help as a last option. Since many days I am trying to solve a problem until I finally have decided to post it in the forum. I will appreciate strongly if you can hep me with
Hello! I have a question to ask. When I set a limit buy order(the same question applies also to the sell limit order) in an asset in MT4 or MT5 and the order is triggered, can I then set a new limit buy order in the same instrument without having to close the already opened position? Thanks in
How to code to get the symbol name in the trade position comments
In MT4, when I go to options > Signals but there's no option to update the lot size? I've read this article [https://www.mql5.com/en/blogs/post/23777] too but it doesn't seem to say how to update the lots sizing in MT4 ... any help appreciated g
c#: [DllExport] static void test_change_string_value_by_reference([In, Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder my_str) { my_str.Clear(); my_str.Append("here is the string from c#.net "); } mql5: #import "dll_test.dll" void
How to put bid line behind text object ? OBJPROP_BACK set to false doesn't do this