OPEN-SOURCE SCRIPT
Generation 6 Massive Trend Following for Gold (Note at bottom!)

Making this one an open script for you people.
Commission_value = 0.02 is the same as a 50 pip gold spread.
Start capital $10,000.
1.00 lots = 1 contract on this.
Trend establishment with the 600 period moving average, trend continuation with the crossover/crossunder.
This strategy is great for finding trends on XAUUSD.
Side note: if anyone knows MQL4 coding language for MT4, please let me know, I would like to see the results of this strategy over a period of several years rather than the several months of data that Tradingview Provides. Please PM me, I want to see how profitable this code is over a long period of time. Thank you, and enjoy.
Commission_value = 0.02 is the same as a 50 pip gold spread.
Start capital $10,000.
1.00 lots = 1 contract on this.
Trend establishment with the 600 period moving average, trend continuation with the crossover/crossunder.
This strategy is great for finding trends on XAUUSD.
Side note: if anyone knows MQL4 coding language for MT4, please let me know, I would like to see the results of this strategy over a period of several years rather than the several months of data that Tradingview Provides. Please PM me, I want to see how profitable this code is over a long period of time. Thank you, and enjoy.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
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.