RS Levels MT4 Demo
支撑阻力级别的 MT4 演示版。可以在 EURUSD 中评估本指标。
supp=1 //支撑线超过指定间隔的级别 res=2 //阻力线超过指定间隔两倍的级别 <-34 //影响最后的 34 根后向柱线
|Depth||扫描深度表示柱线数量，从 0 柱线或最右边的柱线 (依据 "Redraw when scrolling" 参数值) 开始。|
|Time Frame||绘制级别的图表时间帧。它可以等于或与当前图表时间帧不同。建议选择较低时间帧。即，如果指标运行在 M15 图表，最好选择 H1 作为级别识别时间帧。|
|Number of nearest levels||在当前价位之上和之下显示多少根线。|
|Level line style||级别线的样式。|
|Level area||级别范围。它表示点数。它指明构成级别的极值组的点差范围。数值越大, 级别空间越宽广。|
|Display level area||是否显示级别区域。如果值设为 true, 区域将被显示为长方形。|
|"Price" label position||级别对应的价格标签位置。它可以显示在左边, 在右边, 在中间或彻底隐藏。|
|"Support" label position||支撑级别计数标签的位置。它可以显示在左边, 在右边, 在中间或彻底隐藏。|
|"Resistance" label position||阻力级别计数标签的位置。它可以显示在左边, 在右边, 在中间或彻底隐藏。|
|"Old" label position||跨度级别标签的位置。它可以显示在左边, 在右边, 在中间或彻底隐藏。考虑到所显示的数值含义，建议选择 "Right" 位置。|
|Redraw when scrolling||当向下滚动，它判断指标行为。
2. Added the ability to switch the type of text labels: classic and modern (label with the level background color).
3. Added the "Extrema radius" parameter.
4. Added the ability to display the extrema (the "Display extrema" parameter), which is useful in the selection of the "Extrema radius" parameter.
5. Added the indication of the level "purity". It is calculated as a percentage ratio of the number of candles, that do not cross the level zone with their body, to the total amount of candles at the level's effective interval.
6. Added the indication of the level "strength". This is an indication of how far the price went after the last extremum was formed. It is displayed in detalization mode as a vector. The vector is plotted until there is a series of candles of the opposite direction, the number of which exceeds the value specified in the "Max counter bars" parameter. The strength of a level is displayed as a percentage. The longest vector is chosen as 100 percents, the values of the others are calculated according to it.
2. Added four filters:
- by the minimum number of support points;
- by the minimum number of resistance points;
- by the minimum total number of support and resistance points;
- by the minimum value of the "Usage" parameter.
Filters interact on the "AND" principle. To disabling one of the filters set its value to 0. To disable all the filters set the "false" value of the "Filters enable" parameter.
3. Added the possibility to show the sequence of extrema that form a level in chronological order. For example, entry RRSR means "resistance", "resistance", "support", "resistance". It means the following: first the level twice acted as resistance, then once as support, and the last time was resistance again. The maximum length of the sequences is 32 points. If this max value is exceeded, the oldest extremes will not be taken into account.
4. Added detailed level display. When you click on any of the text labels that describe the level, the detailed mode will be enabled for this label. In this mode all extrema that form the level will be shown as arrows. The levels will not be drawn until the detail mode is disabled. To disable the detailed mode click once again on one of the text labels of the level. The availability of this mode is determined by the 'Detail allowed' parameter.
5. Added an alert. The distance to a level in points is determined by the "Alert area" parameter, hysteresis (to avoid chatter at the border) by the "Hysteresis" parameter. Alerts ara available only in the zero bar reference mode (when parameter 'Redraw when scrolling' is false).
6. Added the "Period" label (disabled by default), which displays the value of the timeframe, in which the levels are drawn. This is useful when you run several indicators that draw levels at different timeframes on one chart.
7. Fixed an error that occurred when adding several indicators on one chart.
1 To provide correct operation of the indicator, correctly set up parameters "Level area", "Alert area" and "Hysteresis". Their values depend on the currency pair and the number of digits after the decimal point. Default parameters are calculated for the pair EURUSD with 4 decimal places.
2. Mode "Redraw when scrolling" is designed for working on historical data when drawing of levels is bound to the last right bar when you scroll the screen. That's why in this mode alerts are disabled.