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
Replies

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

avrudoi
14 Aug 2014, 17:18

Then's you/


@avrudoi

avrudoi
14 Aug 2014, 17:06

could not write a sales price currency


@avrudoi

avrudoi
14 Aug 2014, 11:15

I'm not good in exchange Temin Symbol.Ask tell me how to understand the ask, I will still be voporsy something like it, tell me?


@avrudoi