AV
Topics
14 Aug 2014, 20:13
4427
4
14 Aug 2014, 08:40
2958
6
13 Aug 2014, 18:18
2186
1
07 Aug 2014, 20:20
2504
1
avrudoi
16 Aug 2014, 15:37
Here is an example on your forum site
/forum/calgo-reference-samples/2231
function OnStart using code
protected override void OnStart ()
{
double targetPrice = TradeType == TradeType.Buy
? Symbol.Ask - Target * Symbol.PipSize
: Symbol.Bid + Target * Symbol.PipSize;
PlaceLimitOrder (TradeType, Symbol, Volume, targetPrice, MyLabel,
StopLossPips, TakeProfitPips);
}
how to understand this record
Symbol.Ask - Target * Symbol.PipSitse;
in this line of the purchase price of the dollar amount of his multiplicationt.e. dollarov and minus the question of why the ask price - is a price for that Symbol.Ask 10-20, .... dollorov? or 1 dollorov.
@avrudoi