How to Stop N number of Trades

I need to Stop successful Trade after 2nd or 3rd or N number. Kindly Advice .

Use Position Details keyword and quantity in that.

Example please send if you Did Before. Position details Quantity = number 2 ? what if in Other sets.

Sample Entry condition. Here assuming 1 lot (50 Qnty) NIfty50 bought for every time entry condition satisfices. This condition will restrict only 4 entries (50*4=200)

More details please refer “Keyword Documentation” available in Tradetron website