Forum

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 ? //+------------------------------------------------------------------+ //| RSI.mq4 | //|

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

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

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 Selected( void ) const ; bool Selected( const bool new_sel) const ; bool

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 starting, i don't need much, -open a buy or sel -close

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, one blue the other orange and they both has price

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 the Reasons. The doc says when the period is

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 child class of '' Parent_class " and then somehow linking

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 use? I need one for indicator, not EA nor

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