This script is based on a strategy that includes the following indicators:
EMA at 100 periods;
RSI at 14 periods;
Parabolic SAR;
For the signals to occur the requirements are:
The price must cut the exponential moving average to 100 periods and close over;
The next spark plug must be of the same direction as the one that cut the moving average;
You must break the support or resistance generated by a swing within 20 previous spark plugs;
The Parabolic SAR must be in favor of operation;
The strategy is that you enter the market at the opening of the candle after the signal with a STOP LOSS of 25 pips and a Risk / Yield of 1 or 1.5 and maybe follow the Trailing Stop operation.