I noticed the ORDER_EXTERNAL_ID in the order properties docs. Docs say: Order identifier in an external trading system (on the Exchange) Does that mean external as in we can input an ID there? If so how can we set this value? This would be
Given an example class below, I would like to be able to use it with values, pointers and structs. This issue is that structs can only be passed by reference which gives me a lot of headaches trying to make my own personal library. See the
We have interfaces in MQL but they really don't provide much value than just using an abstract base class in my opinion. Interfaces become alive when you can inherit a class from multiple interfaces. interface IIsStringable { string
In a custom trade class I am updating, I just want to detect if the stop loss size is too small and display a helpful message if it is the case. Here is my code, it's custom but self explanatory bool Trade::CheckStopLimits( const TradeOrder
I've got a custom trade setup box built that I want the user to be able to customize with the sliders. The sliders are a canvas obj _topCircle = new CCanvas(); if ( !_topCircle.CreateBitmap(_capi.GetChartID(), 0 , "_btn_box_resizer_1"
In many projects I've come a cross this issue where the events start playing up if you introduce more than one panel. In some cases I would like a dialog popup to change some settings/get user input/display detailed info etc. Please does anyone
Howdy, I want to use the Stdlib CHashMap in my class. However I can't seem to get past the declaration 🤬 class CurrencyIndexPanel : public Leaderboard { private :
Is there a way to arrange existing chart open windows via code? I want to programatically have the ability to re arrange the existing chart order around to make sure charts I want to focus on the most, are at the front. I was hoping there was
I am try to restart an optimization process after I updated the code. Every time I want to run the optimization process from the beginning, the optimizer remembers what iteration it was up to in the previous run, and starts from there again. I don't
I am having some issues with the CopyX functions. CopyTime, CopyClose etc It seems like when you call them, and the data is not there - the functions will return -1, and seem to asynchronously fetch the data you request. So if you call CopyX a second
Hi guys, I am trying to convert some code from mql4, and I can't get the HISTROGRAM2 drawing to work properly. I wrote this simple test indicator, but I am getting the completely wrong prices in the print statement, almost like an error resulting in