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.

The number you see in the "Alerts" script is called "Quansium Time" and it shows the timestamp of the actual candle. By default is orange.

  • 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.

Timer will remain green while "Quansium Start" has the most recent value, that is for the remaining time of the candle. It is during this time the user must finish creating their alerts; once they are done, it is okay for the color to change. To summarize things, if you can see the color green while creating alerts you have done a good job.

  • 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

"Quantity", "Stop Loss", and "Take Profit" are all dynamic values. In order for them to work correctly, the user must make sure to use the specific placeholders that come by default on the alerts' "Message".

Last updated