I take the original MQ RSI and add various levels, but the levels are above the RSI and it's ugly. How do I get them behind the RSI ? //+------------------------------------------------------------------+
the ChartObject.mqh of mql4 has a Hidden function for hiding the object and the code like MY_OBJECT.Hidden(true); compiles fine here is what ChartObject looks like in mql4 bool
I want to start to code my own EA, but contrary to indicators, I see that Metaquotes changed the syntax a lot from mql4 to mql5, so i wonder if somebody managed to make a unified class for dealing with buying and selling orders . Since I am just
I use the class CChartObject to print objects and some horizontal lines, both in the main window and the secondary window. I would like to remove the label on the right printed on the price scale, for all my horizontal lines. The picture has 2 lines
In MT4, the _UninitReason survives the change of periods, and it has the value of 3, as per the documentation, which is useful to change the behavior of an indicator. In MT5, the reason is erased. here is the log of this indicator which prints only
I have a parent class Parent_class and I create an instance Parent_class MY_OWN_Parent_class; So far so good. i want a child class Child_of_MY_OWN_Parent_class : public MY_OWN_Parent_class of '' MY_OWN_Parent_class '' instead of creating a
I remember seeing people offering libraries of functions to ease the transition from mql4 mql5, but i can't find the link again. I remember the library was several years old and I am not sure it is kept updated. What is the latest library that people
windowfind works in mt4 build 1340, then in 1344, it gives always a +1 to its normal value , so now windowfin(name) must be windowfind(name)-1 to get back to the real value
How to change input values with OnChartEvent and a button in an indicator. I want my indicator to change one of it's user input with a button, then to recalculate everything in OnInit and redo all the loops in OnCalculate, so I create a button
I follow this guide to create classes loaded like usual variables, ie "my_class class1(Param1, Param2,...);" with ''parametric constructor". chapter "Passing Parameters to Constructor" https://www.mql5.com/en/articles/351 my problem is that
I would like to change the " The Block Comment command (Ctrl+/) inserts single-line comment characters in the current position: " https://www.metatrader5.com/en/metaeditor/help/development/intelligent_management#comments in metaeditor. I would like a
I want my indicator to open and write to 2 files but the indicator opens and writes only to the first file. I use the names and handles like this to write and open the file. First I define variables in the global scope: int handle1= 0 ; int
I need to modify the thickness of a few trend lines and rectangles, depending on the level of zoom on the chart, so i use if(ChartScaleGet(0)>3){thickness =...} else {thickness = ...} in my drawRectangle(...) function. but that works only on
Hello is there a way to change the color even the style of a buffer in OnCalculate, after it has been initialized in OnInit? especially without introducing new buffers
I want to use LWMA (the official LWMA in Custom Moving Averages .mq4) twice with two PERIODS, one short and one long, and those averages will be in 2 buffers, SHORTBUFFER and LONGBUFFER, to print them. BUT, LWMA has a "static int" and so
At ovo.cz, they have an indicator which creates tick charts. Once the offline tick chart is loaded, there are lots of candles from the past, and so it means OVO managed to determined OHLC for every candle in tick chart. How is it possible to
I have a few buffers and numbering them gets tedious because I keep adding or removing ones, so I have to change all their Identifying numbers as I add or remove buffers for instance I have SetIndexBuffer(1,A); SetIndexBuffer(2,B);