No-Code Implementation
Scenario 1 — alert()
If you see a License ID input in the script’s settings, you should be able to automate the script easily.
Update Inputs
To implement the script, simply tweak the inputs available such as the License ID, Stop Loss and Risk. The script-owner might have a different set of input options — perhaps with traildist or the spread filter.
Select “Ok” once you have completed your edit.
Create Alerts
Go to the symbol and timeframe you’d like to implement the script for and create an alert.
Select the appropriate script under Condition, and input the following Webhook URL:
https://pineconnector.net/webhook/
In this example, we are implementing the script on US100 — evident from the “Create Alert on US100” at the top.
Once you have created your alert, you will be able to see the ticker and timeframe the alert is running on.
In this example, the alert is running based on prices on US100 on the 1 second chart.
The fired alert can be seen in the Alerts log, taking on the inputs you have indicated such as the License ID and post-symbol identifier.
You may repeat the implementation if you’d like to trade more symbols and timeframes.
Scenario 2 — alertcondition()
The script-owner might have used alertcondtion() to create the alert function.
Create Alerts
For this scenario, select the script under “Condition” and the appropriate selection such as “Going Long”.
Under Options, we recommend you select “Once Per Bar Close” to reduce repainting issues.
LicenseID,{{strategy.order.action}},{{ticker}},risk=1
Putting the alert setup panel together, we have something like this:
Once an alert fires, you may pause the active alert.
If you see {{strategy.order.action}} printed, the script is an indicator.
If you see actual order action such as “buy” or “sell” printed, the script is a strategy.
Configure Alert Message
You may start with something basic:
LicenseID,buy,{{ticker}},risk=1
LicenseID,buy,{{ticker}},risk=1,sl=10,tp=20
If your script is a strategy, you may opt for something more dynamic:
LicenseID,{{strategy.order.action}},{{ticker}},risk={{strategy.order.contracts}}
You may repeat the implementation if you’d like to trade more symbols and timeframes.
← Previous
Next →