Guide
How does the Ok signal strategy work ?
The "Ok signal" trading strategy follows a straightforward approach utilizing the concept of Bollinger Bands as its foundation. It is designed for the TradingView platform and applies the strategy on the price chart overlay.
- The strategy enters a long position (buy) when the price crosses above the lower Bollinger Band. This is considered a bullish signal, indicating a potential rise in price.
- To exit the trade (sell), the strategy waits for the price to touch the upper Bollinger Band. This is seen as a selling opportunity, assuming the price may revert to a mean or drop post-hitting resistance levels.
The strategy employs Simple Moving Averages (SMA) with user-defined period lengths to create the middle band while calculating upper and lower bands using a set number of standard deviations away from the SMA. Traders can customize the period lengths for SMA and the standard deviation offsets to fit their trading style.
The strategy script also includes options for backtesting within user-specified dates. It allows for the coloring of the background on the chart within the test period, providing visual cues for the trader to assess the performance within the chosen timeframe.