Select Page

Background Reading Required: Signal Parameters, Format and Protocol in APIBridge

We are providing here sample button code for NT8 which you can superimpose on your strategy charts. This code allows you to send signals from NT8 from any strategy charts by single click of button.

Step 1: Download the chartbutton files from here

Step 2: In NT8, go to tools => import => Ninja script. add on open path select zip file downloaded in Step 1

Step 3: Right click on chart -> click Strategies -> in strategy menu select Chart Button strategy. You will see the buttons on chart using which you can send signals to APIBridge.

Available Parameters:

Exchange instrument- EQ,FUTIDX,FUTSTK,OPTIDX,OPTSTK,FUTCUR,FUTCOM
Expiry – give expiery for derivatives here other wise leave blank
Strike- give option strike price here; leave blank if not trading in options
Option type= Call(CE), PUT (PE); leave blank if not trading in options
Order type – MARKET,LIMIT,SLL,SLM; leave blank if already done in APIBridge symbol settings
Limit price – price for limit order; leave blank if not required
Trigger price- trigger price for sl order; leave blank if not required
Stoploss- stoploss in points; leave blank if not required
Squareoff – or target in points for (BO orders); leave blank if not required
Quantity – order quantity; leave blank if already done in APIBridge symbol settings
Strategy tag – leave blank if not trading in multiple strategies

NOTE- once strategy is put on chart its parameters cannot be changed; if you want to change the params just put strategy on chart again.