TradeStation EasyLanguage tutorial 176 | 'Blend bars'

2 years ago
2

_Tutorial176-BlendBar 'merges' the open, high and low for a user input number of bars to create a 'blended bar.' For example, if the user input BlendNum were set to 3 the the high of the 'blend bar' would be the highest high of the current bar and the two before it. The low would be the lowest low, the open would be the 3 bars ago and the close, the close of the current bar.

This tutorial demonstrates two ways that the 'blend bars' can be included on the chart:

1. using a paintbar and
2. drawing the bars. With the second option the bars are drawn using the trendline objects.

This tutorial illustrates various programming techniques, including:

Using trendline drawing objects
Using a text string text string to create a color object
Changing the transparency of a color object
Managing the number of drawing objects on the chart

See https://markplex.com/free-tutorials/tutorial-176-blend-bar-study/
To join the Markplex email newsletter, go to https://markplex.com/news

Loading comments...