Wavelet Strategy Tutorial

How to set Alert (Include SL/TP)

Set Alert

image.png

Include SL/TP

First must make sure check the 2 Show boxes of SL/TP. (Default setting is uncheck)
image.png
In Message, useing {{plot("SL")}} and {{plot("TP")}} to place in the position:

{ 'side': '{{strategy.order.action}}', 'symbol': '{{ticker}}', 'price': {{close}}, 'amount': {{strategy.order.contracts}}, 'position': {{strategy.position_size}}, 'sl': {{plot("SL")}}, 'tp': {{plot("TP")}}, 'strategy': 'Wavelet' }

and will recive a message like below:

"{ 'side': 'sell', 'symbol': 'BTCUSDTPERP', 'price': 29131.8, 'amount': 215.317811, 'position': 215.317811, 'sl': 30560.4, 'tp': 22332.6, 'strategy': 'Wavelet' }"

After added the alert, you can uncheck the 2 Show boxes of SL/TP and it will not affect the alert.

💡
When create an alert at that time, it stores all parameters in the tradinview cloud. Then you change any parameters in the strategy is not working for that alert.

You need to re-create a new alert after you modify the source strategy.

Telegram Bot Notify

telegram me https://t.me/sevenjay7 external_link to request to join the bot channel.

  • When buy/sell signal:
    image.png
    Net amount, position and total PNL are calculated from 10k simulated capital.
    When strategy name is #TEST, please ignore it.
    And #WaveletExperiment is high risk.

  • When close position with SL/TP:
    image.png

  • When continuing a different side buy/sell signal:
    image.png
    Amount is just more and position is not 0.

  • When something error:
    image.png