video not played or not found error
click on direct switch
Hosted by Dailymotion. For legal issues: Copyright Center · DMC · Instant Removal
Tutorial 193 | Activity Bars | TradeStation EasyLanguage tutorials and programs
Description
Activity bars allow the user to analyze a bar ("activity bar") smaller than the current bar. In this tutorial the 'big' bars are set to daily, with the analysis being made on one minute bars ("activity bars").
Specifically the tutorial analyzes the Commodity Channel Index (CCI) effectively applied to the smaller interval (one minute bars) and looks for "zero rejections" i.e. the CCI get close (or slightly crosses the zero line, depending on the inputs we use, but then moves back in the same directions it came from.
Tutorial 193 also looks for divergence between price and the CCI.
In either case, if an incidence of a zero rejection or a potential divergence occurs, an activity bars is drawn for the price range in which it occurred.
The tutorial includes two methods:
LegacyColorFromColObject: takes the name of a color and converts it into an integer which can be used in the AB_AddCellRange statement.
NewBar: this method is called for each activity bar. Most of the functionality is concerned with looking for divergences and zero rejections. If found AB_AddCellRange adds an activity bar. The method includes functionality to get a label value from a string. It also get the color value from a TokenList containing specific names of colors from the Color class.
See the tutorial page: https://markplex.com/free-tutorials/tutorial-193-activitybar-study-showing-cci-zero-rejection-and-divergence/
More from User
Program 90 | Finding extreme oscillator 'hooks'
Markplex
Tutorial216
Markplex
Tutorial217
Markplex
Tutorial 215 | Alert when MACD crosses a line drawn on chart
Markplex
Tutorial 214 | Draw a rectangle between the high and low of the week
Markplex
Tutorial 212 | Draw a rectangle on a chart each day between the high and low of the PREVIOUS day
Markplex
Related Videos
Quick-tip 86 | Basic TradeStation RadarScreen screener | EasyLanguage tutorials and programs
Markplex
Quick-tip 88 | DateTime behavior | TradeStation EasyLanguage tutorials and programs
Markplex
Tutorial 173 (Markplex Supertrend) for Radarscreen | TradeStation EasyLanguage tutorials
Markplex
Tutorial 183 | Controlling background color in RadarScreen | TradeStation EasyLanguage tutorials
Markplex
QuickTip 74 | Finding the highest pivot on a chart | TradeStation EasyLanguage tutorials
Markplex
Tutorial 190 | Markplex Centered Moving Average Envelope | EasyLanguage tutorials and programs
Markplex