Create Alerts
Unmark “Borders” In Settings.
Add the "Alerts" script and open the settings.
Copy exactly the same inputs as you have in your "Backtest" script.

Write the same number in the input “Quansium Start”, and it should turn green. This indicates the user has successfully entered the minimum inputs that make a setup and the latest "Quansium Time" is being used.

Open the “Create Alert” and select the "Alerts" script under "Condition".

Then under "Condition" as well, select the desired signal (e.g., "ENTRY LONG", "ENTRY SHORT", ...)
Under "Options" select "Once Per Bar" (This will be the go-to options for all alerts).
Define your "Expiration Time" (as far as possible from today).
Check “Notify on App” and “Send Email” (optional).
Under "Message" enter your automation bot of choice syntax for the specific signal.
Name
Definition
Quantity (q)
Percentage of trading capital used per trade. This is a mandatory parameter, and its values range from 0 to 100%.
Stop Loss (sl)
This is the value of the stop order that is placed to exit market position at the specified price (or worse). This is an optional parameter and is not percentage.
Take Profit (tp)
This is the value of the limit order that is placed to exit market position at the specified price (or better). Only use this if "Reward Ratio" is higher than "0". This is an optional parameter and is not percentage.
Jubot Syntax Examples
ENTRY LONG a=1 n=myStrat e=bitmex s=xbtusd q={{plot("QTY")}}% l=1 sl={{plot("SL")}} tp={{plot("TP")}} tf=7200
ENTRY SHORT a=1 n=myStrat e=bitmex s=xbtusd q={{plot("QTY")}}% l=1 sl={{plot("SL")}} tp={{plot("TP")}} tf=7200
EXIT ALL a=1 n=myStrat e=bitmex s=xbtusd tf=7200
Last updated