Thread: Fire and forget
View Single Post
  #3 (permalink)  
Old 02-19-2007, 09:40 PM
DanielTyrkiel's Avatar
DanielTyrkiel DanielTyrkiel is offline
Senior Member
 
Join Date: Nov 2005
Posts: 176
DanielTyrkiel is on a distinguished road
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!
__________________
Think for Yourself, Question Authority

SKYPE: danieltyrkiel
Reply With Quote