i just want to enquire what will happen if i have an open position with guarantee stop loss and my code open another same direction position. Will there be another second guarantee stop loss or it will add on to the first ?
You can check such things easily on the demo platform ! Run your code in automated trading there (at best on a small time scale), and you will know exactly how your stops are set. For me, this is is the main benefit of the demo version.