Minimum Sell Delay based on Entry date

#1
Hi,

I mostly deal in long positions. As you know the settlement cycle in NSE is T + 2. Which means I can sell a stock only 3 days after I have given a buy request. Unfortunately I am not able to figure out how to include this (among other things) in the sell criteria.

The among other things is the part I have figured out and am improvising.

Regards
Medusa101