Code:
extern int Order_Punkte_im_Profit = 50;
Code:
if( OrderType == OBBuy ... {
double Buy_BE = NormalizeDouble(OrderOpenPrice() + Order_im_Profit );
if( Ask > Buy_BE ) OrderModify(... , -Buy_SL = Buy_BE- , ...) } ;
So ungefähr würde ich das wohl machen.