Forum

Another problem with indicators buffers (variation)

#property copyright "" #property link "" #property version "1.00" #property indicator_separate_window #property indicator_buffers 2 #property indicator_plots 2 #property indicator_color1 Silver #property indicator_color2 Silver #property indicator_width1 2 #property indicator_width2 2 double

CopyBuffer problem (bug?)

#property copyright "" #property link "" #property version "1.00" #property indicator_separate_window #property indicator_buffers 1 #property indicator_plots 1 #property indicator_color1 Silver #property indicator_width1 2 double MacdBuffer[]; int handle; int OnInit() {

Possible mql5 bug - string

I'm modifying PositionInfoSample.mq5, and I added comment display capability. The following code DOESN'T work: const string a = m_position.InfoString(POSITION_COMMENT); m_label_info[14].Description(a); The displayed result is: "Comment: 1". The following code, however, does work