Moving Average: Rule-basedThis tool was created by The trader on January 7, 2010. Moving Average: Rule-based is a Trading Indicator. The development of this Technical Analysis method demanded 34 lines. The trading indicator name is 'rbsma' and it is implemented using C# programming language. It requires 4 variables. The different arguments are: price (Type: Number - Default Value: close): The time-series to average filter (Type: Number - Default Value: 1): Only bars that passes this rule are accepted bars (Type: Number - Default Value: 20): The number of bars to use for the calculation max_bars (Type: Number - Default Value: 100): The maximum number of bars to lookback Example: p = rbsma(close, 1, 20, 100); Here is how to display the function on a chart: Plot(rbsma(close, 1, 20, 100), "Moving Average: Rule-based", colorRed); Future and Past Bars: The method does not use future bars. It needs 0 old bars. Click on this link to download Moving Average: Rule-based Search terms used to find this trading item include moving average rule, moving average trading rule, moving average rules, rule based trading software, average rule The trading object is saved under the following categories: Technical Analysis Trading Indicators: Chande's & Kroll's R2 Indicator Chande's TrendScore News Sentiment Indicator Anchored Indicator Donchian Channels Relative Momentum Index End of Month Day of week and Week number function Day of week Average Standard Error Bands calcA calcB Number of bars up to the end of the month Number of bars since the beginning of the month Number of successive increases in the volume Elastic Volume Weighted Moving Average - eVWMA Volume * Price Momentum Oscillator Lane Stochastic Oscillator Center Of Gravity - COG Choppiness Index |
|