If you want to display your own chart context menu, you have to switch off the MT5 context menu with ChartSetInteger ( 0 , CHART_CONTEXT_MENU , 0 , false ) Does anyone have an idea how to switch off the object context menu
Hello everybody I trade FDAX with MT5 via AMP at EUREX. EUREX accepts stop-market orders for futures trading in addition to the native order types: market and limit. QUESTION: Does anybody know if the MT5 Gateway transmits a STOP-Market order
1. When a TrendLine is deleted by selecting and pressing the [DEL] key, MT5 puts a CHARTEVENT_OBJECT_DELETE into the queue. 2. When a TrendLine line is deleted by program using "ObjectDelete()", MT5 puts a CHARTEVENT_OBJECT_DELETE into the
I always use 3 charts (M3 M15 H1 of the same symbol). I copy a part of the drawn objects into the other charts by creating them from the main chart with ObjectCreate(chart_ID,name . . . So far so good. If I did this a few times the CPU
Hello everybody After a few years of trading and programming on the Agena Trader I am now back on MT5. Conclusion: MT5 is great! My current work topic: CQG offers the option 'Continuation' for futures data feeds. In MT5 you can
Hello I would like to change the size of the windows from the program. ! It is not about the subwindows of the indicators ! For example, there four open chart with different symbols (EURUSD, GBPUSD etc.). I would like to control the size and position
Hi there, I have got a question about Chart Events: Is it possible to check out, when a chart window becomes the “on top” one / gets the focus? Already checked: Having e.g. the UK100 chart-window maximize on top, I call the
I wrote an EA who will support me in trading (e. g. traling Stops, buy and sell on trendlines and so on). I apply this EA for each chart which I open. How can these EA kommunizierien with each other ? Is there an other way then using the global
Here comes some OOP stuff. The idea for the program: * I draw a trendline in the chart and name it "beep" - the next time the price crosses this line, I will get a beep * I draw a trendline and name it "buy" - the next time the price crosses this
I wounder how to indicate when a new bar sees the light of day. Primarily I worry about performance. On some Symbols I saw ticks every 20 ms. Not so much time to react. One idea is rates.tick_volume Mqlrates rates[1]; OnInit() {
Hi there, my plan is to save the chart as a template bevor leaving it. This part works fine! It's the reload in 'OnInit', which don't do what I what. The MessageBox says "Template apply: 0" - but noting happends in the chart. I can load the template
I've got a problem with an sl too. Whenever I think it's about numbers typed "double". Bevor I use my SL in OrderSend() I try to round it to the posible numbers given by the TickSize. double sl = 0.00544; double currSymbolTickSize = 0.00001;
Hi There, I did my first steps in MQL5. Which is to set a SL to ervery thing living there without one. It works well, but there are errors in the terminal jounal that I can not interpret. "Notifications invalid
Hi There! I am about to do my first steps in MQL5. Some things went fine others . . . How to open a file in append mode? There is no flag in the FileOpen. Thanks a lot Willbur