Willbur
Willbur
Cologne
Friends

Add friends via their profile or user search and you will be able to see if they are online

Willbur
Added topic Playsound sometimes ... and somtimes NOT
In OnTimer - every three minutes - I do  this code ResetLastError(); if(PlaySound("tick.wav")) Print(__FUNCTION__+" Playsound true " + GetLastError()); else Print(__FUNCTION__+" Playsound false " + GetLastError()); The PRINT always gives
Willbur
Added topic mouse click, hold and drag
I am looking for a way to detect if the user clicks 'somewhere' in the chart and drag or if he clicks on an object and drag the object. In both cases I get the same event: id CHARTEVENT_MOUSE_MOVE,   lparam 517, dparam 253,  sparam
Willbur
Added topic Moving alarms in the chart
I have two installations on two laptops. Both MT5 5.0 3091 In one of them I can click on the alarms in the chart, move them or delete or change them using the right mouse button. In the other one I cannot select them. Where can to set this
Willbur
Added topic Continuous futures contracts / Adjustment
In many programs (CGQ Desktop, Ninja, Sierra etc) a functionality is offered for Continuous contracts called 'Ajustment'. This does not exist in MT5. I would like to write this myself. My idea would be to modify the @DD history. Based on the data for
Willbur
Added topic ticks missing in EA
I would like to add the volume of deals. Separated by market buy and market sell . The problem: Apparently OnTick() is often not called! Test: I placed a chart with this EA right next to the MT5 T&S.  In the T&S you can see deals coming
Willbur
Added topic vertical chart scroll from EA
Does anyone have an idea how I can make a vertical scroll - analogous to ChartNavigate() from the EA? For example, I want to scroll up the chart so that an object comes into the picture. I have my own indicators above and below the price in the chart
Willbur
Added topic OBJECT_CONTEXT_MENU ?
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
Willbur
Added topic Order routing - EUREX
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
Willbur
Added topic Differentiation of chart events
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
Willbur
Added topic Creating objects in other charts and CPU%
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
Willbur
Added topic CQG, Futures and the Rollback Adjustment
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
Willbur
Added topic Windwos / Chart Size
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
Willbur
Added topic chart windows gets focus
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
Willbur
Added topic market's opening / closing time - SYMBOL_INFO_STRING() ?
Does anybody know how to get the market's opening time ? I checked SYMBOL_INFO_STRING() but can't find it. Willbur
Willbur
Added topic communication between EAs - other then with global variables of the terminal ?
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
Willbur
Added topic how to create objects dynamicly? (Some OOP stuff)
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
Willbur
Added topic Indicate a new bar
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()     {
Willbur
Added topic Any experience with 'ChartApplyTemplate()' ?
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
Willbur
Added topic Another issue with StopLoss's
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;
Willbur
Added topic Notification ?
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
12