Order Placement via Webhook

  1. How to set target point as well as stop loss points while placing order via Tradingview Webhook ??
  2. Is it possible to take position simultaneously after square off position ?? That means, New Sell Position can be taken once a script is sold by
    by Tradingview Sell Alert ?? Please advise.

Hello @1000344818

You will have to add different alerts for Target and Stop Loss while placing orders via Webhook. You can also try pinescript to automatically add this.

For this, you can simply double the quantity post first order execution i.e. once your initial buy order is triggered, you can keep the next sell alert with double quantity. This will create a short position simultaneously while squaring off your earlier long position.

Double the quantity is not working.

Please advise how to do this with the help of pinescript.

Hello @1000344818

If you know pinescript coding, then this will be cakewalk. Or else, I would recommend you to go ahead with manual alert placement only for the time being.