How to Creating dynamic JSON message in pine script to place automatic orders in equity using Webhooks

Hi I am trying to create a dynamic Jason code in trading view Pine script where I can automatically place orders using web hook in tradingview

Hi @ABHISHEK1990 Welcome to Dhan community.

We have explained in details about using Webhooks here: Introducing: Now execute your Basket Orders via webhooks on TradingView

More details on how to use also on this YouTube video: https://www.youtube.com/watch?v=xgWVmIad-cY

Im getting then alert triggered but no actual buy sell is happening

Im getting the alert triggered but no actual buy or sell signal being generated i have connect the app to thr broker using dhan

Some preliminary quick checks :point_down:

  • Webhook URL correct and active ?
  • JSON generated for the corresponding Webhook URL ?
  • FnO segment activated for you ?

1.Webhook URL CORRECT AND ACTIVE
2. JSON COPED FORM WEBSITE
3. Why fno segment activated I’m placing a DELIVER ORDER

As per your JSON string u r placing order for SBI Option Contract SBI 560 CE.

Thanks it worked.
But is there any way to place After MARKET Order.