A simple configurable MA Cross (3 MAs) script. You can choose between SMA and EMA , you will get arrows up or down when MAs cross each others. The arrows have different transparency and length parameters so you can easily identify them:
- small arrow and the most transparent for fast and medium MA crosses
- medium arrow for fast and slow MA crosses
- long arrow...
Signals are generated when EMA(FastLength) and EMA(SlowLength) cross each other.
Below are the additional user parameters:
1. User defined backtesting period
2. User defined Target and StopLoss percentage points
Indicator shows when a pair's SMAs cross-above or cross-under. You pick the pairs by changing the s#-corresponding to the p# matching the pair you want. The other variable numbers are out of order but it doesn't matter expect to the look of the script.
moving average crossover with added functions:
if you want crossover with price set ma1 length to 1, or use as dual ma with both lengths, ability to turn ma's on and off leaving the crossover signals behind, ability to chose ma mode (sma, ema, rma, wma, vwma, swma and alma), ability to chose source (open, high, low, close, hl2, hlc3 or ohlc4).