Click here to Login

Market trading rules

Trading Indicator: Market trading rules
Created by: bug man on January 8, 2010.
The coding of this Technical Analysis method needed 26 lines of code.
The function name is 'rules_select' and it is coded using CSharp.
It contains 2 parameters. The different arguments are:
rules (Type: String - Default Value: ): Rules separated by a semi-colon
index (Type: Number - Default Value: 0): Index of the rule

p = rules_select("", 0);

Formula to plot the function on a chart:
Plot(rules_select("", 0), "Market trading rules", colorRed);

Future and Past Bars:
The method do not access future bars. It requires zero previous bars.

Click on this link to download Market trading rules

Search terms used to find this trading item include ROC trading rule, sma 14 trading system

The trading object is saved under the following categories: Technical Analysis

Trading Indicators:
Moving Average: Rule-based
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
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

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


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

Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2022
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
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.