How to create fully customisable alerts in pinescript

Hi All,

As discussed in the video, below are the steps to define fully customisable alert templates and alerts in pine script. This is a generic idea which can be implemented for any script.

Step 1. What all parameters(keys) need to be sent in alerts.
Step 2. Create a default alert template
Step 3. Create a user input where users can alter the default alert template
Step 4. Define your alert condition.
Step 5. Calculate the values for all the keys
Step 6. In the template, replace all keys with values and send alert

Sample script developed during the video.

Beyond Technical Analysiscustomisablealertshewhomustnotbenamedtrendoscope

Haftungsausschluss