What is this?
This Pinescript code is a trading strategy that uses technical indicators to make buy and sell decisions.
The strategy uses a
to generate buy and sell signals.
The script also calculates the On-Balance Volume (OBV) but it is not used in the buy and sell decisions but you can activated it in certain conditions if necessary.
The strategy will only be active after January 1, 2022, at 01:30 but you can easily back-test it for longer time horizons.
When the strategy is active, it will enter a long position when the close price is above the upper Bollinger Band and the RSI is below 85.
How to use it
Connect to https://www.tradingview.com/ or register for free. Go in Chart+ and then Pine Editor. Copy past the code and run your new strategy.
Please note that this algorithm is provided for educational and informational purposes only. The author and seller of this algorithm do not guarantee or make any representations regarding the use or the results of the use of this algorithm or any related materials in terms of their accuracy, completeness, reliability, or otherwise. Past performance of any trading strategy is not indicative of future results. Trading any financial market involves risk, and you should always conduct your own research and seek advice from a financial advisor before making any investment decisions. The author and seller of this algorithm shall not be liable for any damages, including but not limited to, direct, indirect, special, incidental or consequential damages, or damages for loss of profits, revenue, data or use, incurred by you or any third party, whether in an action in contract or tort, arising from your access to, or use of this algorithm. By using this algorithm, you accept these terms and conditions in full.
|Upload additional images|