This strategy is a variation of standard sma cross that comes as default with pine script The idea is to NOT wait for a cross between fast and slow moving averages but to anticipate it considering the distance between the two MAs Strategy can be used also for scalping, just need to be optimized for low tiime frames as 1 minute or 5 minute.
TIP: stay far from resistance and supports. I use my script "LCS/HCR Support and Resistance multi timeframes" to easily identify major supports and resistance areas (note that I said areas and not lines).
Thanks to ChrisMoody: I used his code snippet for switching between various moving average types and calculation of TEMA and HULL ma.
Next improvements: - money managment - self optimization - convert to study with alerts
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.