Download MetaTrader 5

set the X-range of chart in MQL prigram, is it possiblr?

To add comments, please log in or register
okwh
1633
okwh  

There is a function ChartGetInteger(...)

Where is the function  ChartSetInteger(...) ?

 

I want to set the X-range of chart in MQL prigram, is it  possiblr?

phi nuts
2184
phi nuts  
DxdCn:

There is a function ChartGetInteger(...)

Where is the function  ChartSetInteger(...) ?

 

I want to set the X-range of chart in MQL prigram, is it  possiblr?

 

Can you explain what you mean by "set the X-range of chart" ? Did you mean width in bars or pixels ?

click here ChartSetInteger

Liping Wang
3662
Liping Wang  
You meant on time scale direction?
okwh
1633
okwh  
I want to draw objectes using future datatime, how to set  its position?
phi nuts
2184
phi nuts  
DxdCn:
I want to draw objectes using future datatime, how to set  its position?

Add a time with PeriodSeconds  of several bar that you want.

Here's some example https://www.mql5.com/en/forum/9424/388150#comment_388150 

  

datetime addition
datetime addition
  • www.mql5.com
but it draws the line at 2012.
To add comments, please log in or register