AL
Topics
04 Aug 2022, 11:39
938
1
09 Jun 2022, 22:28
1140
3
03 Jun 2022, 18:52
906
3
17 May 2022, 22:00
995
2
09 Nov 2021, 08:54
950
2
11 Apr 2021, 14:42
1
1119
2
11 Apr 2021, 14:38
3
1067
1
03 Jan 2021, 17:28
0
959
1
al-n
10 Jun 2022, 16:41
what deos (...Symbol.Pip.Size, 3)
double candle1SizePips = Math.Round(candle1Size / Symbol.PipSize, 3);
can someone tell me what this lines does?
i mean in this line:
double candle1Size = Math.Abs(MarketSeries.Open.Last(1) - MarketSeries.Close.Last(1));
-> he defines the variable candle1Size. The (1) in brackets represents the first-last candle. ok, that´s logical. but what happens here then?
double candle1SizePips = Math.Round(candle1Size / Symbol.PipSize, 3);
I mean PIP you can only specify in a price range and not for a spot or market price. And most importantly, what does the 3 mean here?
Actually I´m trying to program a breakout for the last candle for example 10 pips above the privious candle. would you solve the conditional decalaration this way?
thank you
@al-n