OPEN-SOURCE SCRIPT

[EURUSD60] BB Expansion Strategy

Overview
This is a strategy that can be used in the EURUSD 60 time frame.
It is a trend-following method that uses Bollinger Bands Expansions.
The idea of using Bollinger Bands expansion is well known to the general public, but I don’t know any strategy that this idea has been PINE coded.

The three main components of this strategy are as follows.
・Long term BB and Short term BB : When the short term BB expands more than the long term BB, it suggests the occurrence of a trend.
・14EMA of 240 t/f : The direction of 14EMA of the upper time frame is used as the trend direction.
・ATR lines : As a stop-loss line and a take-profit line.


Description
Fig. Long entry pattern
快照

Fig. Short entry pattern
快照

・Description of lines
Gray : Large BB (=Long term BB)
White : Small BB (=Short term BB)
Blue or Red line : Upper t/f EMA(default: 14EMA), blue is up-trend, red is down-trend
Yellow : Stop loss line by ATR(the term is 14)
Purple : Take profit line by ATR(the term is 14)

・Description of strategy
First of all, when the small BB expands more than the large BB, this strategy detects the occurrence of a trend.
Second, When the price crosses over or crosses under small BB basis, this strategy entries long or short to trend direction (by upper time frame 14EMA).
The default stop-loss range is three times ATR value, and the default take-profit target is 1.5 times the stop-loss range (=risk reward ratio is 1.5).
Average True Range (ATR)Bollinger Bands (BB)Exponential Moving Average (EMA)

開源腳本

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

想在圖表上使用此腳本?


更多:

免責聲明