VR Change PeriodMT5
This is a simple utility for the metaTrader 5 terminal. It displays buttons for changing the chart period. As well as buttons of the chart scaling.
Good for working in the full screen mode.
The utility creates buttons with a time frame selected in settings.
Settings:
- Timeframe1 - Button period
- Timeframe2 - Button period
- Timeframe3 - Period button; if equal to the previous one, the button is not drawn
- Timeframe4 - Period button; if equal to the previous one, the button is not drawn
- Timeframe5 - Period button; if equal to the previous one, the button is not drawn
- Timeframe6 - Period button; if equal to the previous one, the button is not drawn
- Timeframe7 - Period button; if equal to the previous one, the button is not drawn
- Timeframe8 - Period button; if equal to the previous one, the button is not drawn
- clrButton - Color of period buttons
- X_Position - Position along the X axis
- Y_Position - Position along the Y axis
- CornierPosition - Angle of position connection (0,1,2,3); 0-upper left
- Prefix - Prefix in object names to clear elements (2 letters)
To limit number of buttons, all further time frames must be equal to the last operational time frame in the utility settings.
Example of settings which has only three period buttons:
- Timeframe1 = PERIOD_M1;
- Timeframe2 = PERIOD_M2;
- Timeframe3 = PERIOD_M5;
- Timeframe4 = PERIOD_M5;
- Timeframe5 = PERIOD_M5;
- Timeframe6 = PERIOD_M5;
- Timeframe7 = PERIOD_M5;
- Timeframe8 = PERIOD_M5;
Example of settings which has only five period buttons:
- Timeframe1 = PERIOD_M1;
- Timeframe2 = PERIOD_M2;
- Timeframe3 = PERIOD_M5;
- Timeframe4 = PERIOD_M6;
- Timeframe5 = PERIOD_M10;
- Timeframe6 = PERIOD_M10;
- Timeframe7 = PERIOD_M10;
- Timeframe8 = PERIOD_M10;
important:
The utility is designed in the form of an indicator and allows to import an operating function.
void AddButtonPeriod( const int x_position, // Position along the X axis const int y_position, // Position along the Y axis const ENUM_base_CORNER cornierposition, // Angle of position connection (0,1,2,3); 0-upper left const color clrbutton, // Color of period buttons const string prefix, // refix in object names to clear elements (2 letters) const ENUM_TIMEframeS timeframe1, // Time frame from settings const ENUM_TIMEframeS timeframe2, // Time frame from settings const ENUM_TIMEframeS timeframe3, // Time frame from settings const ENUM_TIMEframeS timeframe4, // Time frame from settings const ENUM_TIMEframeS timeframe5, // Time frame from settings const ENUM_TIMEframeS timeframe6, // Time frame from settings const ENUM_TIMEframeS timeframe7, // Time frame from settings const ENUM_TIMEframeS timeframe8 // Time frame from settings )
Find out how to import a function in the Docs section.
Go to the metaTrader 4 version of the product
联系方式
公司:顺水的鱼外汇EA
状态:离线 发送信件 在线交谈
姓名:顺水的鱼(先生)
职位:投机客
电话:18391752892
手机:18391752892
地区:默认地区
地址:西安市高新区软件园
邮件:3313198376@qq.com
QQ:3313198376
微信:18391752892
阿里旺旺:顺水的鱼waterfish
Skype:3313198376@qq.com
状态:离线 发送信件 在线交谈
姓名:顺水的鱼(先生)
职位:投机客
电话:18391752892
手机:18391752892
地区:默认地区
地址:西安市高新区软件园
邮件:3313198376@qq.com
QQ:3313198376
微信:18391752892
阿里旺旺:顺水的鱼waterfish
Skype:3313198376@qq.com