Replies

ergun
18 Aug 2020, 09:31

RE:

Hi Panagiotis,

They are different accounts on same broker. But each time i run a back test i refresh the charts. Should not be the ticks same?

Also i just tried to run the backtest on same machine, same ctrader instance, same user but one demo account one live account. Ticks are not same again ???

 

Best Regards

 

PanagiotisCharalampous said:

Hi ergun,

You did not answer my question. Is this the same account? Can please take screenshots showing that there are different charts on the same account? Make the account number visible.

Best Regards,

Panagiotis 

Join us on Telegram

 


@ergun

ergun
18 Aug 2020, 08:44

RE: RE: RE:

also both machines are connected to same network with cable no wifi.

 

ergun said:

I am also using ctrader in multi instance mode. So i can run multiple accounts on same broker in parallel

 

 

ergun said:

Yes, icmarkets.com

 

PanagiotisCharalampous said:

Hi ergun,

Do you use the same broker and account in both cases?

Best Regards,

Panagiotis 

Join us on Telegram

 

 

 

 


@ergun

ergun
18 Aug 2020, 08:43

RE: RE:

I am also using ctrader in multi instance mode. So i can run multiple accounts on same broker in parallel

 

 

ergun said:

Yes, icmarkets.com

 

PanagiotisCharalampous said:

Hi ergun,

Do you use the same broker and account in both cases?

Best Regards,

Panagiotis 

Join us on Telegram

 

 

 


@ergun

ergun
18 Aug 2020, 08:40

RE:

Yes, icmarkets.com

 

PanagiotisCharalampous said:

Hi ergun,

Do you use the same broker and account in both cases?

Best Regards,

Panagiotis 

Join us on Telegram

 

 


@ergun

ergun
12 Aug 2020, 21:34

RE:

Thanks for detailed explanation. So if i understand correctly; it only effects the margin but not profit per pip with same volume?

 

PanagiotisCharalampous said:

Hi ergun,

Leverage only affects the margin required for a position to open. Let's assume you have two accounts, one with balance $1000 and leverage 1:100 and one with balance $1000 and leverage 1:500. If you open a position of one lot (100000 volume) on both of them, on the 1:100 account you will use all your margin ($1000) while on the 1:500 account, you will only use $200. This means that on the 1:500 account you can open another four positions worth one lot. This is the actual use of leverage, to open positions of higher volumes. However positions with the same volume will have the same results on both. 

Best Regards,

Panagiotis 

Join us on Telegram

 


@ergun

ergun
11 Aug 2020, 23:55

RE:

Hi Panagiotis,

I am confused. What is the point of leverage then? I am thinking in lots by the way. How is lots converted to volume, i have no idea.

Best

 

PanagiotisCharalampous said:

Hi ergun,

I am not sure why do you expect different profits. Leverage has nothing to do with it. If you trade with the same volume, you will get the same results.

Best Regards,

Panagiotis 

Join us on Telegram

 


@ergun

ergun
11 Aug 2020, 23:54

RE:

Hi Panagiotis,

Sorry but the indicator is copyrighted :(

I know the answer so you can not help :) :(

 

PanagiotisCharalampous said:

Hi ergun,

You need to be more specific with the issue. Can you provide us with the indicator code that will allow us to reproduce this behavior?

Best Regards,

Panagiotis 

Join us on Telegram

 

 


@ergun

ergun
10 Aug 2020, 20:03

RE: RE:

Maybe we can trigger a programmatic refresh before making the calculations? Is that even possible?

 

ergun said:

Even this is an old post. I am having similar issue on version 3.7. If i leave a chart open long time my indicator lines change after refresh. My guess is (as a programmer) when new bar came the old bar is drawn with latest local tick. But somehow sometimes we miss some ticks because of connection reliability or something else. So time to time cTrader is refreshing the candles and when this happens if candles change (in my case the close values) indicator lines change with it. If this is the case what is the way to overcome this issue? Also i can not manually refresh the candles of forex pair while a bot is running on it. Is there a work around for this as well?

 

Best Regards

 

PanagiotisCharalampous said:

Hi GoldnOil1050,

Thanks for the screenshots. We will investigate this.

Best Regards,

Panagiotis

 

 


@ergun

ergun
10 Aug 2020, 20:00

RE:

Even this is an old post. I am having similar issue on version 3.7. If i leave a chart open long time my indicator lines change after refresh. My guess is (as a programmer) when new bar came the old bar is drawn with latest local tick. But somehow sometimes we miss some ticks because of connection reliability or something else. So time to time cTrader is refreshing the candles and when this happens if candles change (in my case the close values) indicator lines change with it. If this is the case what is the way to overcome this issue? Also i can not manually refresh the candles of forex pair while a bot is running on it. Is there a work around for this as well?

 

Best Regards

 

PanagiotisCharalampous said:

Hi GoldnOil1050,

Thanks for the screenshots. We will investigate this.

Best Regards,

Panagiotis

 


@ergun

ergun
10 Aug 2020, 19:55

RE:

I back tested my bot with different test accounts which had different leverages. But the result was same profit. So i was confused. Is there a way to log the current leverage in the bot so i can see?

 

PanagiotisCharalampous said:

Hi ergun,

When backtesting, the cBot will use the leverage of the selected account. Can you please explain why do you think this is not the case?

Best Regards,

Panagiotis 

Join us on Telegram

 

 


@ergun

ergun
03 Jun 2020, 19:25

RE: RE:

Something like tips and tricks to write more efficient indicators/bots. I would really appreciate that.

 

ergun said:

Hi Panagiotis,

Is there a documentation for memory management for custom indicators. I am also trying to write one and i am facing the same memory issue.

Best regards

 

PanagiotisCharalampous said:

Hi dmn,

We have investigated this issue and it seems you are using a custom indicator (I-Sessions) which causes the memory issue. Can you try removing the indicator and letting us know if it resolves the issue?

Best Regards,

Panagiotis

 

 


@ergun

ergun
03 Jun 2020, 19:24

RE:

Hi Panagiotis,

Is there a documentation for memory management for custom indicators. I am also trying to write one and i am facing the same memory issue.

Best regards

 

PanagiotisCharalampous said:

Hi dmn,

We have investigated this issue and it seems you are using a custom indicator (I-Sessions) which causes the memory issue. Can you try removing the indicator and letting us know if it resolves the issue?

Best Regards,

Panagiotis

 


@ergun

ergun
29 May 2020, 23:42

RE: RE: RE:

Sorry, my bad. I was trying it in indicator.


@ergun

ergun
29 May 2020, 23:30

RE: RE:

Is this fixed? When i put this in a Bot:

 

protected override void OnBar()
        {
            Print("On Bar");
        }

 

cTrader says:

Error CS0115: 'cAlgo.IndukCaller.OnBar()': no suitable method found to override


@ergun

ergun
22 May 2020, 02:21

That shall be very nice

Please make this feature, pretty please :)


@ergun

ergun
13 May 2020, 09:41

RE:

Hi PanagiotisCharalampous,

Is there a timeline for the release of the features which we can see?

Best


@ergun

ergun
12 May 2020, 21:06

RE:

Did you try to send a message to bot over telegram? Like sending a message to a person?


@ergun

ergun
29 Apr 2020, 00:43

RE: Fixed!

andrewfblake said:

I had this problem too and did not want to change anything in cAlgo.... but managed to fix it simply by editing the Bot in Visual Studio and updating that to the new framework 4.6.2.... It then calls my Class Library in 4.6.2 and works like a dream... no need for Spotware to do any updates :-) 

You saved my day. Thank you very much :)


@ergun

ergun
27 Apr 2020, 11:43

RE:

Hi Panagiotis,

Thanks for the fast reply.

Just to clarify; if an indicator is called from another indicator, the called one has IsLastBar always true?

Best


@ergun

ergun
26 Apr 2020, 22:30 ( Updated at: 23 Jan 2024, 13:16 )

RE:

afhacker said:

Try this: [/algos/show/1425]

Link broken :(


@ergun