PanagiotisCharalampous's avatar
PanagiotisCharalampous
30 follower(s) 0 following 1006 subscription(s)
Replies

PanagiotisCharalampous
12 Nov 2023, 06:20 ( Updated at: 12 Nov 2023, 06:25 )

Hi Takis,

Can you please record a video demonstrating the steps that lead to this behavior?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
12 Nov 2023, 06:19 ( Updated at: 12 Nov 2023, 06:25 )

Hi Peteloaf,

Then send us some troubleshooting information the next time this happens. Please paste a link to this discussion inside the text box before you submit it.

Best regards,


 


@PanagiotisCharalampous

PanagiotisCharalampous
12 Nov 2023, 06:17

Hi there,

It's because it takes the average. If you want to close the position whenever the specific position reaches above that amount, the use this

 if (Positions.Where(x => x.SymbolName == SymbolName && x.Label == ThiscBotLabel && x.NetProfit > AmountInProfit))

@PanagiotisCharalampous

PanagiotisCharalampous
11 Nov 2023, 07:21 ( Updated at: 21 Dec 2023, 09:23 )

Hi there,

Why do you think the drawdown is wrong? The drawdown is shown on the equity chart


@PanagiotisCharalampous

PanagiotisCharalampous
11 Nov 2023, 07:13 ( Updated at: 11 Nov 2023, 07:14 )

Hi there,

Unfortunately I cannot help you further since the technologies you use are beyond my skillset. If you can reproduce the problem using any of our example applications, I am happy to have a look.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
11 Nov 2023, 07:11 ( Updated at: 11 Nov 2023, 07:14 )

Hi there,

Please send us some troubleshooting info the next time this happens and quote the link to this discussion.

Best Regards,

Panagiotis 


 


@PanagiotisCharalampous

PanagiotisCharalampous
11 Nov 2023, 07:09

Hi there

Try this

 if (Positions.Where(x => x.SymbolName == SymbolName && x.Label == ThiscBotLabel).Average(x => x.NetProfit) >= AmountInProfit)

 


@PanagiotisCharalampous

PanagiotisCharalampous
11 Nov 2023, 07:07

RE: RE: 14900K

Peteloaf said: 

Peteloaf said: 

Hi,

I have a 14900K arriving tomorrow. 

I will let you know how I get on, if I experience this it would be an issue for me too.

Cheers for the heads up.

Edit: The PC is built and the slider seems to be working fine for me. The only issue im seeng is that when i backtest without visual mode enabled my cbots end instantly with no trades placed, if I enable visual mode they work fine, which i have not seen happen before.

Hi there,

You can share your cBot code and we can have a look.

Best regards,


@PanagiotisCharalampous

PanagiotisCharalampous
10 Nov 2023, 12:15

RE: RE: Pivot indicator

murillomanuelst said: 

firemyst said: 

Try contacting @PanagiotisCharalampous

Thanks bro, but You can't contact this guy because his profile is hidden. 

Hi there,

Send me an email at development@clickalgo.com


@PanagiotisCharalampous

PanagiotisCharalampous
10 Nov 2023, 12:13

RE: RE: RE: RE: HOW TO DISPLAY A VALUE ON CHART

sarvann24 said: 

PanagiotisCharalampous said: 

sarvann24 said: 

PanagiotisCharalampous said: 

Here is an example

        protected override void OnTick()        {            var DIFF = Bars.HighPrices.Last(6)-Bars.LowPrices.Last(6);                        Chart.DrawText("Diff", DIFF.ToString(),  Bars.OpenTimes.Last(0), Symbol.Bid, Color.Red);                               if (rsi.Result.LastValue < 30)                {                    Close(TradeType.Sell);                    Open(TradeType.Buy);                }                else if (rsi.Result.LastValue > 70)                {                    Close(TradeType.Buy);                    Open(TradeType.Sell);                }            }

HI, Can we set rules to make only one trade per bar ONTICK( ),

Only reversing the old postion .

Hi there,

Yes, use a flag after you place a trade and reset it on each bar.

I am a learner, dont know how to do it,

 much appreciated if you provide me the code for this RSI example

Hi there,

Unfortunately I cannot do custom work for free. Give it a try yourself and come back with questions. If don't know how to program better assign the job to a professional.

Best regards,


@PanagiotisCharalampous

PanagiotisCharalampous
10 Nov 2023, 08:43

RE: RE: Repeated Disconnections

eynt said: 

ok, i will send it next week probably.

Is there a way to send the troubleshooting when the bot run via CLI?

Thanks

Unfortunately no


@PanagiotisCharalampous

PanagiotisCharalampous
10 Nov 2023, 07:15

Hi there,

Please share the complete cBot code so that readers can reproduce your problem

Best regards

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Nov 2023, 07:14

Hi there,

You cannot delete a strategy, it is automatically deleted 30 days after it is stopped.

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Nov 2023, 07:13

Hi there,

Make sure you do not have two cBots in the same project file


@PanagiotisCharalampous

PanagiotisCharalampous
10 Nov 2023, 07:12

RE: RE: HOW TO DISPLAY A VALUE ON CHART

sarvann24 said: 

PanagiotisCharalampous said: 

Here is an example

        protected override void OnTick()        {            var DIFF = Bars.HighPrices.Last(6)-Bars.LowPrices.Last(6);                        Chart.DrawText("Diff", DIFF.ToString(),  Bars.OpenTimes.Last(0), Symbol.Bid, Color.Red);                               if (rsi.Result.LastValue < 30)                {                    Close(TradeType.Sell);                    Open(TradeType.Buy);                }                else if (rsi.Result.LastValue > 70)                {                    Close(TradeType.Buy);                    Open(TradeType.Sell);                }            }

HI, Can we set rules to make only one trade per bar ONTICK( ),

Only reversing the old postion .

Hi there,

Yes, use a flag after you place a trade and reset it on each bar.


@PanagiotisCharalampous

PanagiotisCharalampous
10 Nov 2023, 07:10 ( Updated at: 19 Mar 2025, 08:57 )

Hi Noppanon,

Unfortunately it is not possible to determine the problem with this information. Please send us the complete solution file to support@ctrader.com

 


@PanagiotisCharalampous

PanagiotisCharalampous
10 Nov 2023, 07:07

Hi there,

Your report did not log any disconnections. You need to send the troubleshooting not less than a couple of minutes after the disconnection happens.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Nov 2023, 06:57

Hi there,

cTrader FIX API sends the security list in the correct order. You can see the correct response here. Below see a part of an example response as obtained by our sample application.

8=FIX.4.49=8338635=y34=249=CSERVER50=QUOTE52=20231110-06:55:46.86256=demo.ctrader.367668057=3676680320=1322=responce:1560=0146=246255=204801007=CAMECO CORP1008=255=11007=EURUSD1008=555=204811007=GRUMA SAB-ADR (NO SHORT-SELLING)1008=255=21007=GBPUSD1008=555=204821007=MULTIMEDIA GAMES1008=255=31007=EURJPY1008=355=204831007=ANHEUSER BUSCH1008=255=41007=USDJPY1008=355=204841007=MELLANOX TECH1008=255=51007=AUDUSD1008=555=204851007=GOOGLE CLASS A1008=255=61007=USDCHF1008=555=204861007=BROADCOM CORP1008=255=71007=GBPJPY1008=355=204871007=FIRST ENERGY1008=255=81007=USDCAD1008=555=204881007=BANK OF AMERICA1008=255=91007=EURGBP1008=555=204891007=ADTRAN INC1008=255=101007=EURCHF1008=555=204901007=NATIONAL RETAIL1008=255=111007=AUDJPY1008=355=204911007=NIKE INC CL B1008=255=121007=NZDUSD1008=555=204921007=GREEN MOUNTAIN COFFEE1008=255=131007=CHFJPY1008=355=204931007=EQ RESIDENT1008=255=141007=EURAUD1008=455=204941007=BRITISH

Please check your implementation.

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
10 Nov 2023, 06:35

Hi there,

How can we reproduce this problem?

Best regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Nov 2023, 06:39

Hi there,

Do you still experience disconnections?

Best regards,

Panagiotis


@PanagiotisCharalampous