
Topics
Replies
PanagiotisCharalampous
13 Nov 2023, 06:38
Hi there,
This feature is not available at the moment.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Nov 2023, 06:35
Hi there,
I have deleted the indicators.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Nov 2023, 06:34
Hi there,
Market hours are set by the brokers. You might want to contact your broker instead.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
13 Nov 2023, 06:28
( Updated at: 13 Nov 2023, 06:30 )
RE: Calculate profit in account dollars instead of pips
PanagiotisCharalampous said:
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))
Hi there,
Remove the if statement and use the below loop instead
foreach (var position in Positions.Where(x => x.SymbolName == SymbolName && x.Label == ThiscBotLabel && x.NetProfit > AmountInProfit))
{
ClosePositionAsync(position);
}
@PanagiotisCharalampous
PanagiotisCharalampous
12 Nov 2023, 06:25
Hi there,
You need to pass bars to the indicator constructor, not a symbol. Check GetBars method.
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Nov 2023, 06:22
( Updated at: 12 Nov 2023, 06:25 )
Hi there,
It's because you use the same name and the line is overridden. You need to use a unique name for each line
Best regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
12 Nov 2023, 06:21
( Updated at: 12 Nov 2023, 06:25 )
Hi eynt,
No there isn't
Best regards,
Panagiotis
@PanagiotisCharalampous
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
13 Nov 2023, 14:34
Hi eynt,
There is no built in way to do this, you would need to write your custom saving/loading functionality
@PanagiotisCharalampous