Create an alert

In order to automate trading based on indicator’s signals, you need to create alerts.
The alert is linked to the current chart you are working on, based on timeframe you are using while creating the alert, and based on the indicator settings (capital, equity…) at the creation time.
Here is a step-by-step how to create an alert :

  1. Be sure you’ve configured the indicator before.
  2. On manage.capitaliz.io platform, select your exchange.
This is the manage.capitaliz.io platform to generate the webhooks
  1. Choose between Testnet (test account) or Mainnet (real account)
  2. Fill up the API Key and Secret Key of the selected exchange.

Entry & Exit #

You have two kind of order type for entry and exit orders :

Market Order #

A market order is an order to buy or sell a stock at the market’s current best available price. A market order typically ensures an execution, but it does not guarantee a specified price. Market orders are optimal when the primary goal is to execute the trade immediately.

Last best price from orderbook #

Last best price is a kind of a “limit order”, based on the mark price instead of the last price got on market order.
A limit order is an order to buy or sell a stock with a restriction on the maximum price to be paid or the minimum price to be received (the “limit price”). If the order is filled, it will only be at the specified limit price or better. However, there is no assurance of execution. A limit order may be appropriate when you think you can buy at a price lower than–or sell at a price higher than–the current quote.

Margin Mode #


While trading on perpetual contracts, you can choose between two leveraged options :

Isolated #

The isolated margin mode depicts the margin placed into a position is isolated from the trader’s account balance. This mode allows traders to manage their risks accordingly as the maximum amount a trader would lose from liquidation is limited to the position margin placed for that open position.

Cross #

It is default margin mode on Bybit. The cross margin mode uses all of a trader’s available balance within the corresponding trading pair coin type to prevent liquidation. When the trading pair’s equity is lower than the maintenance margin, the position will be liquidated. In the event of liquidation, the trader will lose all his/her equity for that particular trading pair.

Trading Amount #

Default is to use a percentage of your balance, whatever the balance amount is updated.
But to best use Capitaliz – Omega Ω indicator, you better choose the Dynamic Quantity and let the indicator settings manage the risk for you.
The Fixed Amount is to use a fixed USDT amount on each signal triggered by Omega Ω, but be sure to use the minimum required amount to open an order, depending on your exchange’s rules.

Use Trailing Take Profit #

On Capitaliz – Omega Ω, we allow to enable Trailing Take Profit.
To know more about what’s a Trailing Take Profit, watch this great video from TradeSanta

(367) Trailing Take Profit Explained – TradeSanta – YouTube

Leverage #

  1. If used in Margin account, set the leverage you’d like to use on this pair.
    • You can choose two different levers depending on whether it’s a long or short signal.
    • Minimum leverage must be set to 1.

Cancel Order if not fulfilled within #

To protect your capital, the order will be automatically closed after while.
Default is 60 seconds, but can be up to 240 seconds.
The lowest is 10 seconds.
This is usefull if your order is not processed at time or fast enough, to prevent opening a late order.

Close existing open positions on new trade entry #

If yes, each new position will close the previous one ongoing.

If no, if the signal is in the same direction as the position ongoing, it will add more funds at the signal’s price (market or last best price).

Halt to protect your capital #

Fill in the amount of your capital from which the bot will no longer be able to trigger an order.
The goal is to stop the API from taking orders if your capital reaches this amount.

How to use the generated data ? #

Example window, same look as TradingView’s alert window

We created a visual copy of a TradingView alert window to help you setting up your alerts.
Make the example window and the TradingView window the same.
It’s a kind of guidelines.

How to create an alert in TradingView ? #

On your TradingView chart, click on the alarm icon in the Strategy tester.

A window is shown.

Condition is set to use Capitaliz – Omega

Condition

You must have one of the Capitaliz.io product selected … it can be Capitaliz – Omega Ω or Capitaliz – V2.
It’s automatically selected, because you clicked on the alarm icon in the Strategy Tester

Expiration time

This is the date you can set to put an expiration date.
When the date is reached, the alert stops working

Open-ended

If you are using TradingView Pro+ or more, you can check this box, so that the alert doesn’t have an expiration date.
If you are using TradingView Pro, the alert is defined to expire 2 months after the creation.

Alert Actions #

You can receive On-App notification , e-mail, pop-up when the alert is triggered. But the most important of these features is Webhook URL
It allows the indicator’s signals to be sent to our API to create orders automatically.

Notify on App

You’ll receive notification when an alert is triggered.
If you allowed notifications on your web-browser for TradingView, you can receive notification on your computer.

Show Pop-up

If enabled, this will show a pop-up box on TradingView interface when an alert is triggered.

Webhook URL

The most important alert actions, the mandatory one.
It is used to send data from the indicator to our API, to create orders (long/short,TP,SL).
This webhook URL is generated for you and remain the same.
The URL is shown on the example window

Alert name

In this field, you can name your alert, whatever you want, in order to be organized.

Message

This is the field where you must put what is generated in the example window, in the Message field. Without it, your alerts wont work.

When everything is setup, click on the create button.

A warning message may appears. Click on Continue anyway.

Leave a Reply

Your email address will not be published. Required fields are marked *