Hello Everyone,
I just made this video because, this question came up many times in Pine QA. In this video we are trying to load default Bollinger Band indicator from Tradingview and convert it into strategy.
Below are the steps
Useful references
Pine Reference Manual
https://www.tradingview.com/pine-script-reference/v5/#fun_strategy
Strategy template in the linked ideas.
Enjoy :)
I just made this video because, this question came up many times in Pine QA. In this video we are trying to load default Bollinger Band indicator from Tradingview and convert it into strategy.
Below are the steps
- Load the indicator on chart
- Click on source code (curly brackets next to indicator title) to load the code into your pine editor.
- Make copy of the script. Remove the indicator on chart and load your copy of the script from pine editor
- Replace indicator call with strategy call
- Define your entry/exit conditions for long and short
- Add strategy.entry, strategy.exit, strategy.close calls based on the conditions to generate trades on chart
Useful references
Pine Reference Manual
https://www.tradingview.com/pine-script-reference/v5/#fun_strategy
Strategy template in the linked ideas.
Enjoy :)
Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
関連の投稿
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
関連の投稿
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。