PROTECTED SOURCE SCRIPT

Cross Roads - A 2 lines cross indicator for trend trading

18
We, at Stonehill Forex are posting our first homegrown indicator, which was profiled on the Stonehill Forex website in March ‘25. The original version was coded for MetaTrader 4 (MT4) and subsequently coded for MT5 and TradingView, based on community interest. They (MT4/5) will be available from our on-line library, HERE. This one comes to you at no cost and begins our TV library.

It’s a two lines cross price overlay which, at its heart, uses two weighted moving average lines run through a very sleek filter. The result calls out pretty accurate signals. We tested it over a three-year period and our results can be viewed in the blog, HERE. Additionally, there is an accompanying technical analysis video to show you how to use it. The video is embedded in the blog for ease and convenience.

The indicator has two settings;
StartLen: The starting point where the math begins to gather data. The default value is 2.
There are two caveats we wanted to mention regarding the settings for “StartLen”;
The “StartLen” setting variable must not be less than zero.
The “StartLen” setting must beless than the “LOOKBACK_period”.
LOOKBACK_period: This is the number of historical data periods the math will include when generating the signal lines. The default value is 24.

How to use it;
Long: When the green signal line crosses above the magenta signal line.
Short: When the red signal line crosses above the green signal line.

Thanks for checking us out. Watch for additional indicators from us coming in the near future.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。