how can I limit no of trades per day to a certain no of times like I bought when close(-1)>vwap(-1) and exit and entry condition satisfied again exits again
How about position details keyword
1 Like
you can list the long & short to 1 trade using position detail by putting
position detail(Entry, B, All , Quantity, underlying) == number(0) in the buy side
position detail(Entry, S, All , Quantity, underlying) == number(0) in the Short side
however, for an x amount of trades you will have to take the python route.
1 Like