ZeroCafeine / Profile
ZeroCafeine
Added topic add risk every month ?
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
ZeroCafeine
Added topic MQL5 Forum Notification ?
Hi everyone, I hope you're well, when I get the little notification like on the picture what does it mean? Best Reguards, ZeroCafeine 🙂
ZeroCafeine
Added topic Search button in Toolbox / Code Base tab?
Hi everyone, I hope you're well, Do you know if there is a search button in the toolbox in the codebase tab? Best Reguards, ZeroCafeine
ZeroCafeine
Added topic Trade.RequestPosition() alway return 0 ?
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
ZeroCafeine
Added topic Same Ticket number for Order and Position ?
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
ZeroCafeine
Added topic 2 Time Frame EA
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 );
ZeroCafeine
Added topic PositionSelectByTicket and Deselect ?
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
ZeroCafeine
Added topic display String : TRADE_RETCODE_DONE ?
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
ZeroCafeine
Added topic 1 position with multiple SL
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
ZeroCafeine
Added topic MQL5 Notifications
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
ZeroCafeine
Added topic 4 Objects Trade in the same EA ?
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
ZeroCafeine
Added topic Scalping Hotkeys shortcut project
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
ZeroCafeine
Added topic Searching for capital letters in Visual Code Studio
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
ZeroCafeine
Added topic How do I manage friends' lists?
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
ZeroCafeine
Added topic Can someone explain this to me? Code from Vladimir Karputov.
input ushort InpSignalsFrequency = 10 ; // Search signals, in seconds (< "10" -> only on a new bar) datetime
ZeroCafeine
Added topic Stop Level = 0
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

ZeroCafeine
Added topic Structure type variable OR Object ?
Hi everyone, I'm trying to program cleanly, what do you recommend for storing trade information and being able to manipulate it until the trade is closed? I'm hesitating between creating a structure type variable , and creating a class with object
ZeroCafeine
Added topic how can Orders, Positions and Deals be linked together?
Hi, how can Orders, Positions and Deals be linked together? Is there a way to link them apart from the magic number? Best Reguards, ZeroCafeine
ZeroCafeine
Added topic Line Object and Label on the right
Hi I create a line object OBJ_HLINE and then I create a label object OBJ_LABEL to put just below it, I can retrieve the line's y coordinates, but how do I display the label completely on the right because a line can't see
: