This script is using Average True Range (ATR) and works very well on the Bitcoin 4 hour timeframe to determine when to stop and start your bots. It has a very similar visual to the EMA RSI Indicator found here: https://www.tradingview.com/script/N5fOzdKC-EMA-RSI-Pump-Drop-Swing-Sniper-With-Alerts This 'ATR Start & Stop Bot' is better because it has less confusion during sideways market movement.
As an example - You are using 3commas and have a Composite bot setup with several alt coins, you can use this indicator with the 'Stop bot' alert to disable your composite bot from taking trades at times when the market is on a trend that looks in the red.
Alternatively you can use the 'Start bot' alert to turn your bot back on during the green uptrends.
Using this indicator with these alerts on the Bitcoin 4-Hour chart add a great layer of automation to your already existing bots.
Updates: + Added setting to change the timeframe of the script. (Now you can stay on a 1H Chart but still see the settings as if it were on a 4H chart)
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.