OPEN-SOURCE SCRIPT

robotrading trendweek

The blue line is the closing price of the week.

Strategy

If the price is above the blue line - this is uptrend.
If the price is below the blue line - it is downtrend.

If the low candlestick is above the line - you should open a long position (and close a short position, if open).
If the high candle is below the line - you should open a short position (and close a long position, if open).
Reverse trading.

Crossing

A crossing is defined as an event, when the whole candle is above the line (high > line), or below the line (low < line). This method greatly reduces the number of false signals.
Trend Analysis

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明