In the image below, you can see the equities screen.


Select a New Strategy from the right top corner. Give a unique Name for the strategy. Select the relevant Rule as applicable to your strategy in Amibroker / Trading view (Refer to Modules section in the documentation for complete details on various Rules):

  • Long Only Module - If your Strategy is Long Only

  • Short Only Module - If your Strategy is Short Only

  • Long + Short Module - If your Strategy provides BUY/SELL signals.

  • Long + Short Module - If your Strategy provides BUY/SELL/SHORT/COVER signals.

  • Stop + Reversal Module - If your Strategy is always Long / Short.

Select the Segment – Equity. Select the Trading Symbol – Type the symbol name and choose from the drop down the symbol that you wish to trade. Select the Order Type – CNC / MIS. Select the Price Type – Only Market Orders are supported as of now. Enter the Quantity to trade. Select Split Qty if the Qty is greater than Freeze Qty. Provide Chart Symbol – optional, any name can be provided for reference. TGT – Optional, can provide Target as % or Points. TGT Value – Specify the value that you wish to set as Target. SL – Optional, can provide Target as % or Points. SL Value – Specify the value that you wish to set as Stoploss. Start Time – Default is 09:15, you can change if required. End Time – Optional, you can set the End Time if required. Remarks – Optional, you can update with any text. SUBMIT the details updated. Copy the Long URL for use in Amibroker and either the Long / Tiny URL for Trading view. Additionally for Trading View copy the Custom Data which needs to be pasted in the Message box of Tradingview. eg:

    "date": "{{timenow}}",
    "action": "{{strategy.order.action}}"

Use the Back button to go back to My Strategies section where you will find the Strategy that you just created.


Enable the Strategy created. The one created using Step 1 will be INACTIVE by default. Enable the Live / Paper Trades by clicking on the relevant button provided.


Create Alert in Tradingview. Open the Chart with the Strategy that you wish to Algo Trade. Create the Alert for the Strategy. Paste the Custom Data from the My Strategies in the Message section of the Alert. Paste the Long / Tiny URL in the Webhook URL under Notifications Tab of the Alert. Create the Alert after giving the relevant name. Any Alerts generated will now be executed automatically in your account. For Amibroker use the relevant Module (refer to Modules section for more details) and in the Parameters section, paste the Long URL only and enable Algo for activating algo trading.

Video Tutorial

Last updated