Quote:
extern int Order_Type = 0; // 0- Current Price; 1 - SELLSTOP; 2 - SELLLIMIT
extern double Lots = 1;
extern double Price = 0;
extern double Distance = 0; // Distance from current price in pips for pending orders
extern int TakeProfit = 0; // TakeProfit in pips
extern int StopLoss = 0; // StopLoss in pips
extern int Slippage = 3;
extern string Comments ="SELL";
extern int Magic = 0;
|
If I understand correctly, I should set "Price" to whatever value I need (price A in my initial description). I'll test it. Thank you very much for your help!