Hello everyone, I hope you are all well. I am currently setting up notifications from the MetaTrader 5 software on my VPS for long-term trading. What do you consider to be the best alert systems to ensure that you don't miss any alerts? 1) There are
Hi everyone, I hope you're well! In my EA, I want to risk $xx every month, So each month I need to add an amount to risk, What is the best way to do this I was thinking of OnTimer( ) which does this action every month? Best Reguards, ZeroCafeine
Hi everyone, Do you know why the RequestPosition method of the CTrade class always returns 0 ? In other words, what is the simplest solution for retrieving the ticket or identifier of the position that has just been opened using my CTrade class? I
Hi everyone, hope you're well I have a confusion between position ticket numbers and order numbers, Unless I'm mistaken, yesterday in my backtest I found myself with an identical ticket number for a position and an order? Is this
Hi everyone, do you have any idea why I get this error when backtesting? Best Reguards, ZeroCafeine. int OnInit () { Handle_MACD_D1 = iMACD ( _Symbol , PERIOD_D1 , FastEMA_D1, SlowEMA_D1, SignalSMA_D1, PRICE_CLOSE );
Hi everyone Just as there's a function for selecting a position by ticket " PositionSelectByTicket ", there's also a solution for deselecting a position, although I don't think this will be of much use, since according to the documentation, even when
Hi everyone, Is it possible to display the constant as text, for example: TRADE_RETCODE_DONE , instead of the return code: 10009 , I thought of the EnumToString function, but to do that I'd have to get the enumerator name? Thank you in advance
Hi everyone, I hope you're all well. how to have several stop losses for a single position pls ? For example: I open one position of 0.10 lot and I would like to have a different stop loss for each 0.01 lot, Do I have to open 10
Hi everyone, I hope you're all well, I'm still having trouble with the notification, can someone explain to me what this is? I have the feeling this is the first time I've seen this. Best Reguards
Hi everyone, In the same I want to : - Buy Limit( BuyLimit ) - Buy Market ( Buy ) - Sell Limit ( BuyLimit ) - Sell Market ( SellLimit ) Would you recommend creating 4 instantiations of the CTrade class? To better
Hi everyone, I hope you're well! I've started programming a little expert advisor. When I press a button, it draws me the TP, Entry and theoretical SL lines, with the position size calculated according to the risk I've predefined, as shown in the
Hi everyone, I hope you're well, I'm writing this message in case it might help a few people simply about finding upper and lower case letters in Visual code studio, as mql 5 is case sensitive, I made a small mistake because I had 2 variables
Hi everyone, I hope you're well! 😉 How do you handle new friends? I receive requests almost every day, which in itself doesn't bother me - I refuse categorically anyway, What bothers me is a rude person who never says hello, who doesn't send you a
Hi everyone, I hope you're well, I have a demo account with a broker and I have a stop level of 0, is this normal? how do you interpret this? Where's the trick or the trap? 😉 Thank you in advance for your insights Best Reguards