Tuesday, October 10, 2017

VR Change PeriodMT5

VR Change PeriodMT5


A simple tool for MetaTrader terminal 5 displays a graph of the change key schedule period. And the zoom button graphics.


Convenient use with the full-screen MetaTrader 5 terminal.


The utility creates a button with the selected settings in the timeframe.





settings:



  • TimeFrame1- period button

  • TimeFrame2 - period button

  • TimeFrame3 - button period if the previous button is not drawn

  • TimeFrame4 - button period if the previous button is not drawn

  • TimeFrame5 - button period if the previous button is not drawn

  • TimeFrame6 - button period if the previous button is not drawn

  • TimeFrame7 - button period if the previous button is not drawn

  • TimeFrame8 - button period if the previous button is not drawn

  • clrButton - Color buttons periods

  • X_Position - Position on the X axis

  • Y_Position - Position on the Y axis

  • CornierPosition - Corner snap coordinates (0,1,2,3) 0-Upper Left

  • Prefix - Namespace prefix objects for their cleaning elements (2 letters)


To limit the number of buttons in the settings utility subsequent timeframes to do as well as in the latest work.


Example of settings in which to do all three periods of a button:



  • 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 in which to do all five periods of 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 written in the form of a display and allows you to import working function.


void AddButtonPeriod (
                     const int x_position, // Position on the X axis
                     const int y_position, // Position on the Y axis
                     const ENUM_BASE_CORNER cornierposition, // Angle binding coordinates (0,1,2,3) 0-Upper Left
                     const color clrbutton, // Color buttons periods
                     const string prefix, // prefix object names for their cleaning elements (2 letters)
                     const ENUM_TIMEFRAMES timeframe1, // Timeframe of settings
                     const ENUM_TIMEFRAMES timeframe2, // Timeframe of settings
                     const ENUM_TIMEFRAMES timeframe3, // Timeframe of settings
                     const ENUM_TIMEFRAMES timeframe4, // Timeframe of settings
                     const ENUM_TIMEFRAMES timeframe5, // Timeframe of settings
                     const ENUM_TIMEFRAMES timeframe6, // Timeframe of settings
                     const ENUM_TIMEFRAMES timeframe7, // Timeframe of settings
                     const ENUM_TIMEFRAMES timeframe8 // Timeframe of settings
                     )

How to import function, see the section Documentation.


Version of Meta Trader 4 more ...


VR Change PeriodMT5

No comments:

Post a Comment