Click here to Login




Moving Average: Rule-based


This 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

Join now
and get instant access for free to the trading software, the Sharing server and the Social network website.
Click here to download the trading software


Related objects

Empty

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object






QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright 2021 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.