YFX Zones


<data image>
<data image>

The Zones indicator provides a visual display of the boundaries around price action. There are two type of zones included in the indicator:

  • High-Low Price Zones
  • Time Period Zones (Delineations)

High-Low Price Zones display the boundaries of the high price point and the low price point. Typically, these zones are displayed for the high and low price of the day.

Time Period Zones display boundaries around time period intervals. For example, the boundaries of each can be displayed.



PARAMETERS


The Zones indicator has many configurable parameters. This allows for all aspects of the indicator to be changed for the user’s preferences. By default, the indicator is designed to work without any changes by the user. The parameters are divided into the following categories:

  • Yancy Indicator Parameters
  • Zones Parameters
  • Display Parameters
  • Color Parameters
  • Message Parameters
  • Quiet Time Parameters
  • Message Info Parameters
  • Debug Parameters
It should be noted that the user does not have to change any parameters for the indicator to work. All parameters have default values that have the lowest impact on the indicator and user. The Zones indicator is designed to work perfectly by just placing it on a chart.



Yancy Indicator Parameters


These parameters control the overall functionality of the indicator. More specifically, it controls how the Zones indicator is used within the trading terminal. The parameters in this section are:

IndicatorName – Default: YFX Zones
This is the indicator name that is displayed in the chart data window. Changing this value does not impact the indicator’s calculations.
IndicatorOffset – Default: 0
The indicator calculations are made on the current data bar by default. This value can change the default and force calculations to be made based on previous bars. It is recommend to leave this parameter set to the default value.



Zones Parameters


The Zones parameters control how the Zones indicator is calculated. Parameters in this section are:

UseZones – Default: false
Other YFX indicators can use data in the Zones indicator. This functionality can be enabled by setting this parameter to ‘true’. By default, the integration is disabled.
ZonePeriodMinutes – Default: Z_MINUTES_D1
Number of minutes to use when defining zones. This is a drop down list with periods ranging from 1 minute to 1 month.
DelineationPeriodMinutes – Default: Z_MINUTES_D1
Number of minutes to use when defining delineations. This is a drop down list with periods ranging from 1 minute to 1 month.



Display Parameters


The display parameters control how zones and delineations are displayed. Parameters in this section are:

DisplayUpperZone – Default: true
The actual display of the upper zones can be configured. By default, the upper zones are displayed. Changing the value to ‘false’ will disable the upper zone display.
DisplayLowerZone – Default: true
The actual display of the lower zones can be configured. By default, the lower zones are displayed. Changing the value to ‘false’ will disable the lower zone display.
DisplayDelineation – Default: false
The actual display of the delineations can be configured. By default, the delineations are not displayed. Changing the value to ‘true’ will enable the delineation display.



Color Parameters


Colors can be strongly preferred by users. The Zones indicator allows all colors to be changed according to each user’s preference. The specific colors do not change the underlying calculations of the indicator. Parameters in this section are:

ColorUpperZone – Default: MediumBlue
Upper zones are displayed in this color
ColorLowerZone – Default: Red
Lower zones are displayed in this color
ColorDelineation – Default: DimGray
Delineations are displayed in this color



Message Parameters


The message parameters determine how the indicator alert notifications are conveyed to the user. There are several option and the user can select which ones to use at any time. Multiple options can be enabled simultaneously. Parameters included in this section are:

DoShowComments – Default: false
Messages can be displayed in the comment section on the chart. By default, this option is disabled. Users can enable the option by setting parameter to ‘true’.
DoShowAlerts – Default: false
Alerts can be displayed on the chart. By default, this option is disabled. Users can enable the option by setting parameter to ‘true’
DoMailMessages – Default: false
Messages can be emailed to users if this option is enabled. By default, the option is disabled but can be enabled by setting the parameter to ‘true’. It is important that the user ensures that the mail options are configured and working in the trading terminal.
DoPushNotifications – Default: false
Messages can be pushed to a user’s mobile phone application. This option is disabled by default but can be enabled by setting the parameter to ‘true’. It is important that push notifications be configured correctly in the user’s trading terminal and mobile application.
DoPrintJournal – Default: false
Messages can also be written in the terminal’s journal. These messages are disabled by default but can be enabled by setting the parameter to ‘true’.
DoPrintFile – Default: false
Messages can be written to an external file on disk in the ‘Files’ folder. By default, this option is disabled by default but can be enabled by setting the parameter to ‘true’.
DefaultMessageFileName – Default: YFX_Messages.log
If the print to file option is enabled, then message notifications are written to a file with this name in the ‘Files’ folder.



Quiet Time Parameters


The quiet time parameters control when notification messages are conveyed to the user. Parameters in this section specify a time period when all notifications are disable. Settings in this section override the message parameters and alert parameters. No notification will be sent during quiet time. Parameters in this section are:

DoQuietTime – Default: false
The quiet time process can itself be enabled or disable. It is disabled by default and that means that all alert message notifications will be sent when they are generated. Quiet time can be enabled by setting this parameter to ‘true’.
QuietTimeStart – Default: 01:00
If quiet time is enabled, then this parameter sets the start time of the period. No alert message notifications will be sent after this time. This parameter is only used if quiet time is enabled. It is ignored if quiet time is disabled.
QuietTimeEnd – Default: 07:00
If quiet time is disabled, then this parameter sets the end time of the period. No alert message notifications will be sent before this time. The parameter is only used if quiet time is enabled. It is ignored if quiet time is disabled.



Message Info Parameters


The message info parameters are used to configure if internal statistics are maintained by the indicator. The information is generally not needed by the user. Thus, it is recommended to leave the options disabled. Parameters in this section are:

EnableInfo – Default: false
This parameter allow the statistics to be maintained by the indicator. It is disable by default but can be enabled by setting its value to ‘true’. If enabled, then statistical information will be maintained internally. That information would then be conveyed to user when the indicator starts and stops.



Debug Parameters


Sometimes it may be necessary to debug the indicator. Debugging can be configured with the parameters in this section. Debugging would cause a great number of messages to be generated if enabled. It is highly recommended to leave debug disabled. Parameters in this section are:

EnableDebug – Default: false
Debugging can be enabled or disabled. By default, it is disabled and no debugging information is generated. Debugging can be enabled by setting this parameter to ‘true’. It is highly recommended to leave this option disabled as the amount of debug logging can be huge and slow down the trading terminal.
DebugLevel – Default: DEBUG_LEVEL_NONE
The amount of debugging information can be configure. By default, no information is generated. This is a drop down list and the user can select any one of the values in the list.
UseDatedLogs – false
If debugging is enabled, the information is written to an external file. The name of the file can be coded to contain the date of the log file.

Screen Image 1
Basic Zones Example
<data image>
Screen Image 2
Zones Example
<data image>
Screen Image 3
Lower Zone Example
<data image>
Screen Image 4
Upper Zone Example
<data image>
Screen Image 5
Basic Delineation Example
<data image>
Screen Image 6
Delineation Example
<data image>
Screen Image 7
Zones and Delineation Example
<data image>
Screen Image 8
Settings Example
<data image>
Buy from MQL Market
<data image>