السلام عليكم احبتي
ممكن المساعده في تعريفي عن كل خاصيه في هذا لاكسبرت المرفقك لكم
string GridName = "AIGrid"; // identifies the grid. allows for several co-existing grids
extern int MagicNumberGrid = 10001; // Magic number of the trades. must be unique to identify the trades of one grid
extern double Lots = 0.01; //
extern bool ConsiderSpread = false;
extern double GridSize = 20; // pips between orders - grid or mesh size
extern double BaseTakeProfit = 50; // number of ticks to take profit. normally is = grid size but u can override
extern double Slippage = 2.5;
extern double GridSteps = 10; // total number of orders to place
extern double GridMaxOpenEachSide = 0; // maximum number of open positions either long or short side, not the sum of both
extern double StopLoss = 0; // if u want to add a stop loss. normal grids dont use stop losses
extern double Grid_High = 0; //define a regione that the price wave in
extern double Grid_Low = 0; //
extern int TrailStop = 0;
extern double FixedAllLongStopLoss = 0; //All long orders use the same StopLoss
extern double FixedAllShortStopLoss = 0; //All Short orders use the same StopLoss
extern double UpdateInterval = 0; // update orders every x minutes
extern bool wantLongs = true; // do we want long positions
extern bool wantShorts = true; // do we want short positions
extern bool wantBreakout = true; // do we want longs above price, shorts below price
extern bool wantCounter = true; // do we want longs below price, shorts above price
extern bool ProfitRank1 = true; // Control Profit Rank, if ProfitRank2,3 both false, then it's equals to 20 program
extern bool ProfitRank2 = false;
extern bool ProfitRank3 = false;
extern bool unEquLongShortControlLots = false;
extern bool EquityControlLots = false;
extern double BaseLots = 0.01;
extern double BaseEquity = 2000;
double Equity_Old;
extern bool CloseAllWithEquityIncrease = false;
extern bool CloseAllWithEquityDecrease = false;
extern double EquityIncreasePercentage = 10.0;
extern double EquityDecreasePercentage = 10.0;
extern string Note1 = "Equity Increase Decrease Percentage xx%";
extern bool StopTradeAfterEquityIncreased = false;
extern bool StopTradeAfterEquityDecreased = false;
bool StopTradeFlag = false;
extern bool LimitEMA60 = false; // do we want longs above ema only, shorts below ema only
extern bool UseMACD = false; // if true, will use macd >0 for longs only, macd >0 for shorts only
// on crossover, will cancel all pending orders. This will override any
// wantLongs and wantShort settings - at least for now.
extern bool UseMAGroup=false; // if all fast ma > slow ma,do not make short;
// if all fast ma < slow ma, do not make long;
extern bool UseStochastic=false;
extern bool UseSAR = false;
extern double SAR_Step = 0.02;
extern double SAR_Maximum = 0.2;
extern bool CloseOpenPositions = false;// if UseMACD or UseMAGroup, do we also close open positions with a loss?
extern bool ClosePendingPositions = false; // Close Pending Positions Far Away From Present Price
double LastUpdate = 0; // counter used to note time of last update
//int LisenceStartTime = D'31.12.2009 11:30';
//int LisenceEndTime = D'31.12.2011 11:30';