๐ธCreate your trading bot (step by step) โ3min
Create your Ichimoku trading bot! โ You can also watch the video tutorial at the bottom of this page.
Prerequisite:
Have a Tradingview account
Have obtained access to the "Ichimoku Premium [AlgoRider]" indicator (trial or subscription version)
Have a Mizar account
Have connected at least 1 exchange account to the Mizar application
Attention: The Webhook feature that allows alerting and strategy automation is not available in Tradingview's free plan, you will need at least the first paid plan (Pro). If you do not yet have a paid Tradingview plan you can go through our referral link and benefit from $ 15 offered.
1. Add the indicator to your chart ใ๐ 20 Secondsใ
Go to the Tradingview website at the following link: https://www.tradingview.com/chart and place the chart in the Timeframe 15 minutes (M15). To view and use the indicator, click on:
"Indicators" to display the pop-up of indicators and strategies (keyboard key "/")
"Invitation Only Scripts" at the bottom left
"Ichimoku Strategy [AlgoRider]" the name of the indicator
2. Access the settings of the indicatorใ๐ 10 Secondsใ
To change settings, you have 2 choices:
Click on the gear symbol in the indicator title at the top left of the window
Double-click on an element of the indicator (data table, rows, labels, boxes)
3. Backtest Settings - Optional ใ ๐ 10 Secondsใ
Recommended: keep the default backtest settings. You are free to change the percentage of fees corresponding to your exchange for a more accurate Backtest. You can also change the start and end dates to analyze this configuration over different time periods.
4. Entry Conditionsใ๐ 10 Secondsใ
Select the following 2 entry conditions:
Cloud Breakouts | Max Distance % = 15
Tenkan x Kijun Crossings | Signal Type = Neutral
5. Risk Management ใ ๐ 10 Secondsใ
Keep "Hedge Mode" checked and set only the following TP and SL values:
Check SL and enter SL = 4
Check TP1 and enter % Size = 100, L = 1.25, S = 1.25
6. Alerts - One-Way Mode (2 Bots) ใ๐ 2 Minutesใ
If you want to configure only 1 Bot in Hedge Mode, go to the next step (step 7).
You will create 1 Long Bot and 1 Short Bot on Mizar, and then complete on Tradingview the section "Alerts" of the indicator before creating and configuring the alerts.
A) Go to your Mizar account at the following link: https://app.mizar.com
Go to "DCA-BOTS" then "CREATE NEW BOT"
Enter a title and optionally a description
Choose the "Side": Long
Select "Start Order Type" = Market and "Start Order Condition" = Tradingview (webhook / API)
Select "Market" = FUTURES, "Mode" = One-Way and your Exchange
Select "Quote Asset" = USDT and "Pairs" = BTC/USDT and ETH/USDT
Enter "Take Profits" = 1.25
Check "Stop Loss", enter "Stop Loss" = 4 and "Stop Loss Timeout" = 0
Uncheck "Safety Orders Settings"
Finish by clicking on "CREATE BOT"
Repeat the operation in step [1.] to create a second Bot in the opposite direction to the first: Short
Note/Copy the IDs of the Long and Short Bots in "DCA-BOTS"(https://app.mizar.com/dashboard/dca-bots/bots)
Create and copy the API key linked to your Mizar account (https://app.mizar.com/dashboard/settings/API)
B) Return to your Tradingview page and then to the indicator settings in the Alerts section:
Paste your API key linked to your Mizar account in the KEY field
Paste your Bot Long ID into the Long ID field
Paste your Bot Short ID into the Short ID field
Check the "Show Alert messages" box to view the messages at the bottom right of the graph and check that there are no errors
Save the settings in "Defaults" at the bottom left of the settings window, then click "Save as Defaults".
C) Configure a single alert that will trigger the 6 types of orders (ENTRY LONG, ENTRY SHORT, EXIT LONG, EXIT SHORT, EDIT SL LONG, EDIT SL SHORT):
Configure your alerts by clicking on Alert (keyboard key ALT + A)
Condition: Select the name of the indicator
In the following field, select "Any alert() function call"
Enter a name for the alert
Go to the "Notifications" tab and check "Webhook URL". Then enter the Mizar Webhook URL: https://api.mizar.com/api/v1/dca-bots/trading-view/execute-command
Finish by clicking on "Create"
7. Alertes - Hedge Mode (1 Bot) ใ๐ 2 Minutesใ
Do not perform this step if you have already completed step 6.
You will create 1 single Bot (Bi-directional) on Mizar, then complete on Tradingview the "Alerts" section of the indicator before creating and configuring the alerts:
A) Go to your Mizar account at the following link https://app.mizar.com
"DCA-BOTS" then "CREATE NEW BOT"
Enter a title and optionally a description
Select "Market" = FUTURES, "Mode" = Hedge and your Exchange
Select "Start Order Type" = Market and "Start Order Condition" = Tradingview (webhook / API)
Choose the "Side": Long/Short
Select "Quote Asset" = USDT and "Pairs" = BTC/USDT and ETH/USDT
Enter "Take Profits"= 1.25
Check "Stop Loss", enter "Stop Loss" = 4 et "Stop Loss Timeout" = 0
Uncheck "Safety Orders Settings"
Finish by clicking on "CREATE BOT"
Note/Copy Recoverable Bot ID in DCA-BOTS (https://app.mizar.com/dashboard/dca-bots/bots)
Create and copy the API key linked to your Mizar account (https://app.mizar.com/dashboard/settings/API)
B) Return to your Tradingview page and then to the indicator settings in the Alerts section:
Paste your API key linked to your Mizar account in the KEY field
Paste the ID of your Bot in the Long ID and Short ID fields, the ID must absolutely be identical in these 2 fields.
Check the "Show Alert messages" box to view the messages at the bottom right of the graph and check that there are no errors
Save the settings in "Defaults" at the bottom left of the settings window, then click on "Save as Default Settings".
C) Configure a single alert that will trigger the 6 types of orders (ENTRY LONG, ENTRY SHORT, EXIT LONG, EXIT SHORT, EDIT SL LONG, EDIT SL SHORT):
Configure your alerts by clicking on Alert (keyboard shortcuts ALT + A)
Condition: Select the name of the indicator
In the field following the name of the flag, select "Any call to alert()"
Enter a name for the alert
Go to the "Notifications" tab and check "Webhook URL". Then enter the Mizar Webhook URL: https://api.mizar.com/api/v1/dca-bots/trading-view/execute-command
Finish by clicking on "Create"
[VIDEO TUTORIAL]
Last updated