ZeroCafeine / Profile
ZeroCafeine
Added topic how to move an object on the graph ?
Hi, What's the easiest way to move an object on the graph? I've seen that you should use: CHARTEVENT_OBJECT_DRAG, But I've only found this thread on the subject, a useful link or sample code would be welcome 😉 Best Reguards, ZeroCafeine
ZeroCafeine
Added topic CHARTEVENT_KEYDOWN keystrokes And various keyboards
I'd like to use CHARTEVENT_KEYDOWN with the event handler OnChartEvent(), To detect keystrokes and assign them to functions, I'm noticing that the keys are not the same depending on the type of keyboard used in Windows (AZERTY / QWERTY /
ZeroCafeine
Added topic Sleep function and Closing all trades
Hi everyone, How to close all positions instantly, without using the Sleep function as in the following code pls ? bool CloseAllPositions(){ int total = PositionsTotal (); for ( int i = total - 1 ; i >= 0 ; i--){
ZeroCafeine
Added topic Manage multiple monitor with MT5 ?
Hi everyone, i have the impression that multiple monitor management is not up to scratch with metatrader I've tried saving and saving as, and when I change the profile using ctrl + F5, I no longer have the same screen layout, I've been trying
ZeroCafeine
Added topic EA open & close position with keyboard ?
hi everyone I am looking for a free expert advisor who can open and close positions with keyboard shortcuts please? I would like to have a base so that I can modify it for keyboard shortcuts. Best Reguards, ZeroCafeine 😊
ZeroCafeine
Added topic Long & Short information in description
Hi every one, Is it possible to find out from the asset description whether we can go long and short at the same time, or do we have to do the test ourselves and open 2 opposite positions? exemple on USDJPY here : Best Reguards, ZeroCafeine 😊
ZeroCafeine
Added topic Clear Template as Default
Hi every one, I've figured out how to use a default template on new graphics on this video is it possible to do the same with the strategy tester ? Best Reguards, ZeroCafeine😊
ZeroCafeine
Added topic Calculating the spread on a position, SP500
I hope you are all well, can someone explain to me why I have 0.48 in gains, it's as if the spread wasn't included in the calculation? I created a $100.00 demo account and thanks to this trade it is positive at $100.48 I've added a graph with lines
ZeroCafeine
Added topic Mac & VSCode, need help for "Mql_tools.Metaeditor: Metaeditor5 Dir"
Hi every one, I need help on my Mac for this error, on Windows it'w working perfect, but On Mac I think I'm doing something wrong, and help or link will be more then welcome, Best Reguards, ZeroCafeine
ZeroCafeine
Added topic Multi Time Frame Drawing
Hi everyone, Can I draw a rectangle on a Daily time frame and see the same drawing on H4 ? Or do I have to draw 2 different rectangles each on a time frame ? somethink like on this photo : Is there a native solution on the Metatrader software
ZeroCafeine
Added topic More then Triptych method?
Hello 😊 Do you know of methods like the triple screen but with even more timeframes like 4 or 6 timeframes to optimize inputs for algorithmic trading for example? For those who don't know, let me give you the example of Alexandre Elder's triptych
ZeroCafeine
Added topic How to measure the Spread inside a candle
Hello everyone, I hope you're well. Do you know of a free utility or indicator that provides a history of spreads within a candle, or at least retrieves maximum and minimum values? If not, is it possible to record the largest and smallest spreads
ZeroCafeine
Added topic How to manage position with multiple entry?
Hello everyone, I hope you're all well 😊 Let's take a concrete example where I open 10 long positions, with a volume of 0.01 lot per position per bare, i.e. a total volume of 0.1 lot. In order to manage the entire position efficiently, I would like
ZeroCafeine
Added topic the spread in a candle ?
Hello everyone, I hope you're all well, I have a small question about the spread which is displayed here on the right window (see photos), how is it calculated? Is it the average of the spreads or the spread at the beginning or end of the candle in
ZeroCafeine
Added topic How do I delete comments and other things on the chart?
Hello everyone, I hope you're well. I'm still a beginner and I'm finding that when I remove an expert advisor then I still see the comments, so I did a quick search and found this solution , so I added an empty comment in the OnDeinit function: void
ZeroCafeine
Added topic Daily Profit and Losses ?
Hi everyone 😊, I'm still a beginner in this fabulous language, would you have a simple example code or a link with which I could calculate the daily profit or loss please? I've done some research on the website but I often find MQL4 codes and not
ZeroCafeine
Added topic Margin & Free Margin problem on BackTest ?
Hello everyone, I hope you're well. I'm still a beginner with this fabulous Metatrader software, but I do have a small question about calculating free margin during a backtest. For example, when I have 2 positions open at the same time, 1 long and 1
ZeroCafeine
Added topic ORDER_TYPE_BUY and SYMBOL_ASK
Hello everyone, I hope you're well 😊. I'm still a beginner and I see that the PositionOpen function can use different order types , trade.PositionOpen( _Symbol , ORDER_TYPE_BUY , 1 , SymbolInfoDouble ( _Symbol , SYMBOL_ASK ), 0 , 0 , "CouCou" ); and
ZeroCafeine
Added topic m_symbol.Bank() Not working ?
hi everyone, hope you're well 🙂 I am testing the functions of the CSymbolInfo class , I notice that the Bank() function does not show me anything, do you know why string bank = m_symbol.Bank(); Print ( "Bank : " , bank); I
ZeroCafeine
Added topic Stream Deck and Hotkeys ?
Hello everyone, I hope you're well. Is there a quick shortcut system (hotkeys) for opening and closing orders? Are there any ready-made solutions or compatibilities with the Stream deck? Or maybe scalping links or tutorials where I could find things
: