Topics
Replies
eynt
28 Oct 2021, 10:04
RE: RE: RE: RE: RE: RE: RE:
My original single symbol cBot has dozens of private members (strings, integers, etc.). All those members were designed for a single symbol. Now that there are many symbols, each of them should have a different value per symbol. Is there an easy straight forward way to convert all the members from single to multi symbol?
Thanks
@eynt
eynt
25 Oct 2021, 06:33
RE: RE: RE:
Hello
I have failed converting my code from a single to multi symbol. Perhaps you can attach a code sample of how you converted one of cTrader cBot samples (such as Sample Aligator, Sample Bears Power etc.) from single to multi symbol. An important note: The code must support running on a back test as well the same way (meaning one chart will run several symbols).
Thanks
@eynt
eynt
15 Jun 2021, 09:16
RE:
I've printed my leverage using the code below and got the following prints:
15/06/2021 09:09:06.933 | vol: 1000000000 lev: 50
15/06/2021 09:09:06.933 | vol: 250000000 lev: 100
15/06/2021 09:09:06.933 | vol: 200000000 lev: 500
Which is not what I expected to get. My Pepperstne account leverage is 1:500 regardless of volume.
foreach (LeverageTier a in Symbol.DynamicLeverage)
{
Print("vol: " + a.Volume + " lev: " + a.Leverage);
}
Thanks
@eynt
eynt
15 Jun 2021, 08:42
RE:
Thank you
I was able to access the account leverage by this.Account.PreciseLeverage. How can I access the SymbolInfo.DynamicLeverage property?
@eynt
eynt
04 Jun 2021, 16:37
RE:
PanagiotisCharalampous said:
Hi yuval.ein,
No this should not affect it. Probably the broker has disabled cTrader Copy.
Best Regards,
Panagiotis
I understand it means I cannot copy others while using my Pepperstone account. Can others copy me while I'm using Pepperstone?
Thanks
@eynt
eynt
03 Nov 2021, 10:14 ( Updated at: 03 Nov 2021, 10:31 )
RE: RE: RE:
A. What does the Stop method does?
B. If I have several instances of the same cBot and one of them calls the Stop, does it effect the other instances?
Thanks
@eynt