Юрий Пыслару / Publications
Forum
How to set correct stoploss and takeproffit on BUYSTOP orders
I am writing an EA to place buystop and sellstop orders, everything works great but I do not think I am calculating the sl and tp values correctly in my code. in the code: BST = 10 SL = 30 TP = 30 xecn = 10 the broker uses a 5 digit quote and spread is 19 here is the code for buystop