1. Home
  2. TradingView
  3. Pine scripts
  4. TTPTSL RSI-EMA strat
  5. TTPTSL RSI-EMA strategy: How to set alerts?

TTPTSL RSI-EMA strategy: How to set alerts?

In this article we will show you the steps to setup alerts from TTPTSL RSI-EMA strategy so it can command deal open and close events in your DCA bots.

  1. Create a DCA bot on 3commas and save it. No need to start it yet.
  2. This strategy doesn’t use safety orders (number of safety orders = 0)
  3. Use deal start condition: Manually/API
  4. Optional: you can add extra deal start conditions or min volume. If you do this your bot might receive deal start alerts and not action them because the other conditions are not true yet.
  5. Add the strategy to trading view
  6. Once happy with the setup of the strategy we can now setup the DCA bot json information in the strategy settings
  7. Copy the “Message for deal start signal” json webhook from your DCA bot page.
  8. Open the strategy settings in the chart and paste it in the “open deal 3c dca json” field. Make sure the field is empty first.
  9. Copy the “Message to close order at Market Price” json webhook from your DCA bot page
  10. Open the strategy settings in the chart and paste it in the “close deal 3c dca json” field. Make sure the field is empty first.
  11. Click OK to make sure your changes were saved.
  12. Now that we finish the dca json information we can setup the alerts. We will need just one.
  13. On the tradingview chart click on add alert
  14. Use open ended or set an expiration time in the future
  15. Optional: decide if you want notify on app, show pop-up and send email
  16. Make sure webhook is switched on
  17. Set an alert name.
  18. Provide the 3commas official webhook URL: https://3commas.io/trade_signal/trading_view
  19. In the message text area copy paste this: {{strategy.order.alert_message}}

Check which subscription tier you need to access this strategy.

Learn more about 3commas webhooks.

Updated on February 28, 2022

Was this article helpful?

Related Articles

Comments

Leave a Comment