Little help me

 
I'm writig an EA. This EA open a short position but i want to put automatically stoploss level above 50 pip open price.
How can i do it?
I didn't find any help about in the forum.
 
Check the ordersend function. It has the details on how to put in a stop loss with your order.
 
I have a row, but it's do nothing when the EA running and no error when compiling:

{
..


..
}
 
Check your terminals settings

 
Rosh:
Check your terminals settings


I've smile but do nothing. Anyway Strategy Tester nor function.
When i delete this part "Bid+StopLoss*Point" the EA can sell and TakeProfit but i need a little safe avoid to run out my money.
I'm a beginner of MQL and don't understand.
 
It means that value StopLoss == 0. See MarketInfo
MODE_STOPLEVEL14Stop level in points.
Reason: