This is an improved version of my earlier script, the objective of the script is to provide simple trading entry and exist based on Moving average crossover as a foundation with some dependent conditions.
This trend following system allows a trader to capture the maximum benefit in a trade from entry to exit while it doesn't guaranteed a top or a bottom exit / entry, the trader will be able to setup an entry signal, and follow up on the trade with stop loss adjustment during the entire trade.
this is mainly targeted at new traders looking to trade profitably without blowing up their account.
I am open to feedback.
regards