OPEN-SOURCE SCRIPT
Updated

BTC 1D Safety trade

7379
Important: use only the BTC/USD pair on the 1D timeframe
The indicator is designed to determine the zones for entry to buy or sell, as well as for closing deals.
The indicator is based on a moving average with a period of 12.
The parameters are not changeable, since the optimal settings (Safety trade) were used for the BTC/USD pair on the 1D timeframe.
The code is open, please change it according to your parameters.

Upper zones for closing long or opening short.
Lower zones for opening long or closing short.
Release Notes
Update:

- Labels on the chart for enter buying and closing a position, taking into account the volume of the position.
- Input your own parameters (as a percentage) for the deviation of the moving averages of the purchase and sale zones.
- Input the start date of income calculation according to the charts.
- Added yield table.
- Now works with any pairs on any timeframes.
Release Notes

Updated:

- You can change the MA period
- Fixed recalculation of profit (there was an error in specifying the percentage of profitability)
- Fixed the error of displaying the indicator on small timeframes
- Fixed the error of displaying the indicator when changing the purchase and sale zones
- Added highlights for "buy 100%" and "close ALL" signals
- Added alerts for trade signals

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.