[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 525

 

First option

DoubleToStr(iClose("EURUSD",PERIOD_M30,0),MarketInfo("EURUSD",MODE_DIGITS)),
DoubleToStr(iClose("USDCHF",PERIOD_M30,0),MarketInfo("USDCHF",MODE_DIGITS)),
DoubleToStr(iClose("GBPUSD",PERIOD_M30,0),MarketInfo("GBPUSD",MODE_DIGITS))...
Or see terminal\DDE-Sample.xls
 
FAQ:

First option

Or look in the terminal\DDE-Sample.xls
Sorry newbie me, what to lookDDE-Sample.xls?)
 
How the DDE server built into the terminal works
 

2012.01.24 19:16:39 TestGenerator: unmatched data error (volume limit 3387 at 2012.01.20 19:00)
- what is the tester complaining about?

 

2012.01.24 19:16:39 TestGenerator: unmatched data error (volume limit 3387 at 2012.01.20 19:00)
- what is the tester complaining about?

 
Ivn:

2012.01.24 19:16:39 TestGenerator: unmatched data error (volume limit 3387 at 2012.01.20 19:00)
- what is the tester complaining about?


tried changing the date
 

Good day everyone!

help me solve the following problem:

I need to analyse my last closed trade order to see how it was closed: stop or profit

 
jurist70:

Good day everyone!

help me solve the following problem:

I need to analyse my last closed trade order to determine if it was closed by stop or profit

See here - "Page #4 -

Only "Useful features from KimIV".

GetTypeLastClosePos - Returns the last closed position type or -1
GetTypeLastOpenPos - Returns the last open position type or -1
isCloseLastPosByStop - Returns the last position closing flag by stop
isCloseLastPosByTake - Returns the last position closing flag by take.
 

Can you advise if I create a synthetic chart of a non-standard timeframe (for example M2 using period_converter script), how can I request indicator value from this chart when testing the EA? Is it ok?

double ma=iMA(Symbol(), 2, periodMA, 0, mamethod, appliedprice, 1);
 
Neelan:

Can you advise if I create a synthetic chart of a non-standard timeframe (for example M2 using period_converter script), then how can I request the indicator value from this chart when testing the EA? Is it ok?

The symbol will have to be typed in the first parameter, if it is non-standard.
Reason: