Thanks for your reply.
You need to have one set that is used to determine the TotalPNL only, no other actions, no conditions. This is so the TotalPNL is updated.
In another set, you would compare the total PNL to your limit value and if true to then set a bool variable to false as the action. NOTE: I would not name the bool variable Bool as this may cause a conflict with the strategy builder. Instead, choose a name that has more meaning such as OkToTrade. You would then use the bool as part of the entry conditions by checking that the bool is true.
Comment