The SMA 200 basic strategy will be more than familiar to most traders.
This strategy is to stay with the programming language so to say the "Hello World" of trading.
The SMA 200 basic strategy is also one of the simplest strategies in trading. All that is required is the price and a 200 period moving average. Usually the strategy is used in the daily chart....
The basic idea behind indicators is "to buy the strong one and to sell the weak one". This indicator yield entry and exit signals for stock trading.
You can view the STRENGTH INDEX for the symbol you want in this indicator.
(X - ((RMA(t-1) * (n-1)) + X(t)) / n) / X * 100
n = The length of the Moving Average (defval = 200)
X = Price
t = Timeframe