Enau
Enau
Friends 1
Enau
Added topic How to draw the levels behind the curves
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 ? //+------------------------------------------------------------------+
Enau
Added topic Create iStdDevOnArray and iMAOnArray for mql5
In mql4 there is iStdDevOnArray and also iMAOnArray, but not in mql5. can somebody here create them for free
Enau
Added topic BUG hotkeys.ini is not used
on a brand new install of MT4 build 1355, hotkeys.ini is not used and hotkeys are not saved. there is no hotkeys.ini at all created. please fix
Enau
Added topic Bug in ChartObject.mqh, no Hidden function in MQL5, NO bug in MQL4
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
Enau
Added topic tutorial to make an EA compatible with both mql4 and mql5
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
Enau
Added topic How to hide the price of a HLine from CChartObject
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
Enau
Added topic Bug with _UninitReason, it returns always 0
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
Enau
Added topic create a child class of an instantiated class
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
Enau
Added topic Updates library of functions to convert mql4 code into mql5
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
Enau
Added topic MT4 build 1344 breaks windowfind()
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
Enau
Added topic How to change user input values with OnChartEvent and a button in an indicator.
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
Enau
Added topic How to initialize a class of a class of a class ('=' - reference cannot be initialized )
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
Enau
Added topic Customizing the comments in metaeditor
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
Enau
Added topic Open and write to 2 files at the same time, in 1 indicator
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
Enau
Added topic command doing ''right-click Refresh'' on the chart to change values depending on zoom level
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
Enau
Added topic change the color of a buffer in OnCalculate
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
Enau
Added topic calling twice a function with a "static int" causes problems
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
Enau
Added topic Why mql4 doesnt see variables inside a if-else
I want to define variables depending on a condition so I write if (CONDITION== 0 ){          double vol0 = AAAAAAA         , vol1 = BBBBBBBBB
Enau
Added topic How to determine OHLC of past candles in new tick charts like OVO
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
Enau
Added topic Can I number a buffer with a variable?
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);
12