Replies

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

al-n
10 Jun 2022, 12:06

RE:

ok thnx


@al-n

al-n
06 Jun 2022, 12:07

RE:

amusleh said:

Hi,

You should post this on that cBot comments section, and the developer can help you.

ok thank you.

 


@al-n