OPEN-SOURCE SCRIPT

Simple scalping strategy for SOL

Updated
This is a simple scalping strategy for trading SOL made on top of the Rebalance Oscillator and the Rebalance Bear/Bull market indicators.

It is intended mostly as proof that these two indicators have their benefits even in simpler strategies.

This strategy in particular works well for the Bear months (check Nov. in the data window) but considerably underperforms Buy&Hold for the Bull months.

It tries to do a market operation per candle whenever the candle happens in a buy/sell trading window of the
Rebalance Bear/Bull indicator (tradingview.com/script/Y0omflqx-Rebalance-as-a-Bear-Bull-indicator/).

It always buys/sells the same amount by default (you can set it in the cog menu in the option "Base Crypto Amount To Trade"),
for SOL this is set to 1.0SOL.

This is my first attempt at scalping, it differs slightly from the standards because it does not require fast
response candles or immediate market operations (it can work well with limit trading) and on top of this it also
does not require a stop loss since it uses an indicator that provides the trading windows (surprises can still happen though).

The profit that this strategy tries to take for each buy/sell pair is not configurable and is set at 12% each way when it happens.
Release Notes
- Adds the trading window() check before doing any strategy actions.
- Periodically sells/buys if there is no balance to perform the opposite order
Release Notes
Updated the defaults for SOL/USD November month.
strategyTrend AnalysisVolatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer