Looking for a script using Pine Script compatible with TradingView so that I may backtest a trading strategy. See below for details:
Script needs to enter into a Long Position when Stochastic RSI is 20 or below, RSI is 35 or below and below the mid-line of the Bollinger band. All 3 criteria must be met to enter the position or else no position.
The script needs to exit the position when profit is 15%.
Time period must be from 2012-2018
Each trade will be 20% of total capital. Don’t open a new position when one is already open.
Technical Indicators Specifications:
Bollinger Band (20, close, 2)
Stochastic RSI (3,3,14,14,close)
RSI (14, close)