
Topics
Replies
PanagiotisCharalampous
18 Apr 2019, 22:06
Hi businessclever45,
Thanks for posting in our forum. Trailing Stop Loss trails at a distance defined by the Stop Loss parameter. The minimum increment of the TSL is defined by the Minimum Change property of the Symbol, found in the Symbol's information window.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 Apr 2019, 22:02
Hi ryanoia@gmail.com,
I don't think this is possible with the existing indicator since the S/R levels are not accessilbe. You will need to make considerable changes to achieve this.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 Apr 2019, 21:53
Hi Xavier R,
Can you please elaborate on what is the issue?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 Apr 2019, 21:49
Hi Pezhman,
I would suggest to use a commercial licensing system. There are hundreds of them out there for all budgets and all uses.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 Apr 2019, 21:46
Hi alter.christian,
Thank you for posting in our forum. You do not need to declare the arrays as output paramaters. If the arrays are public then they will be accessible from your cBot as well.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 Apr 2019, 21:43
Hi Rowie,
You can get the account balance at any time using the Trading Accounts request. Regarding the drawdown maybe this article could be helpful.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 Apr 2019, 21:36
Hi markham.fiona,
Thanks for positng in our forum. It seems you installed a cBot without source code. you need to contact the cBot developer to provide you with the source code.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
16 Apr 2019, 16:10
Hi FireMyst,
Thanks, our team is looking into it.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Apr 2019, 20:20
Hi micderaj,
Seems like a non repainting to me.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Apr 2019, 20:10
Hi Ly,
There is no such feature at the moment but we consider adding it in a future update.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Apr 2019, 20:09
( Updated at: 21 Dec 2023, 09:21 )
Hi dalinar,
There is nothing special you need to do. Just add on the charts as many cBots as you want using the cBot button on the left of the chart.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Apr 2019, 18:45
Hi FireMyst,
Can you please share with us the cBot code so that we can reproduce these results?
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Apr 2019, 17:18
Hi Mr4x,
The condition to check the spread before executing orders is the following
if ((Symbol.Ask - Symbol.Bid) / Symbol.PipSize > MaxSymbolSpreadInPips) { //Please your trades }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Apr 2019, 17:13
Hi dominhtri1995,
Cached data for cBots and indicators are updated whenever new data is available, if this is what you mean. If not please elaborate on what the issue is since your explanation is not very clear.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Apr 2019, 13:31
RE: RE:
jani said:
Spotware said:
The algo files are encrypted but we cannot disclose the encryption algorithm.
Can you decompile any algo file?
Hi Jani,
No you cannot.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Apr 2019, 13:31
Hi a.fernandez.martinez,
The reason you are getting the errors is that you are using Account and MarketData properties in a class where they do not exist. These properties exists only in classes inheriting from Robot. If you want to use them in Currency class you should pass them as parameters.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Apr 2019, 13:26
Hi pejman101,
There are several errors in your code. See below
#region Indicator declarations private WeightedMovingAverage { get; set; } #endregion
You don't declare any parameter name here
/// <summary> /// This is called when the robot first starts, it is only called once. /// </summary> protected override void OnStart() { // construct the indicators wma = Indicators.WeightedMovingAverage(SourceSma1, PeriodsSma1); }
PeriodsSma1 is not defined anywhere
if (wma.Result.LastValue.HasCrossedAbove) { // if there is no buy position open, open one and close any sell position that is open if (!IsPositionOpenByType(TradeType.Buy)) { OpenPosition(TradeType.Buy); } ClosePosition(TradeType.Sell); } // if a sell position is already open and signal is buy do nothing if (wma.Result.LastValue.HasCrossedBelow) { // if there is no sell position open, open one and close any buy position that is open if (!IsPositionOpenByType(TradeType.Sell)) { OpenPosition(TradeType.Sell); } ClosePosition(TradeType.Buy); }
?HasCrossedAbove and HasCrossedBelow are not used properly. See here and here how to use them.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Apr 2019, 13:12
Hi FireMyst,
Backtesting is a simulation of the trading on your machine. It does not communicate with the server and it does not account for all possible parameretes of a cBot's runtime. The specific error is sent by the server where the checks are a bit more strict. I would advise you to test your cBots on a demo account as well before moving to a live trading account.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
14 Apr 2019, 13:08
Hi kalaivani.ram1982@gmail.com,
Please talk to your broker regarding this message.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
18 Apr 2019, 22:09
Hi to both,
This is not possible at the moment.
MB MB,
it is not clear what do you mean with this
Best Regards,
Panagiotis
@PanagiotisCharalampous