AFL for take profit

#1
Hello,

I want to define takeprofit and stoploss in points.
i can't use ApplyStop function as i am using bridge to send orders to nest.

takeprofit = Ref(BuyPrice,0) + 10 ;
Sell = takeprofit;

how can i refer to price directly and add or subtract its value ?


Thanks
 

Similar threads

Zerodha – Open Paperless Account

Open online account with Zerodha. Free delivery trading and Max Rs 20 for Intraday, F&O, Currency and Commodity Trading. Intraday High leverage with MIS, CO and BO.

Name:Phone:
Email:City:
State:
Are you a day trader?