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

PanagiotisCharalampous
11 Feb 2020, 13:56

Hi Tj11,

1) You cannot change a timeframe on a chart when a cBot is running.

2) cBots cannot reference indicators being on the chart.

Therefore you can consider writing information into a file as a workaround.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
11 Feb 2020, 08:50

Hi testpossessed,

No there is no such option.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
11 Feb 2020, 08:21

Hi radioglyn,

Can you please explain what do you mean that the charts are failing? What happens? Can you share some screenshots?

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
11 Feb 2020, 08:19

Hi Jan,

Positions.Find will only return one position matching the label. There are several changes that you need to make to this example in order to be adapted to handle any number of positions. For example, you will need to track a separate TriggerWhenGaining for each position, maybe with the use of a dictionary.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
10 Feb 2020, 12:19

Hi PureForm,

This is by design. Since in backtesting you can choose from where to start you can load as many bars as you want. If your indicator needs more bars, just start the backtesting from an earlier date so that the bars are loaded.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
10 Feb 2020, 11:04

Hi Alistair,

No environment connection means that the server of the broker of this account is not linked to our Open API proxy. Do you get this message on a consistent basis or was it something temporary?

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
10 Feb 2020, 10:45

Hi yeril123,

You can have a condition to place orders only when there are 0 pending orders. You can check the number of pending orders using PendingOrders.Count property.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
10 Feb 2020, 10:42

Hi firemyst.

Check here.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
10 Feb 2020, 09:20

Hi Alistair,

These are not account numbers but account IDs (ProtoOATrader.ctidTraderAccountId). If you want to get the trading account number use the ProtoOATrader.traderLogin field.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
10 Feb 2020, 09:16

Hi firemyst.

The cloud option works only between two IndicatorDataSeries. In your case just add another continuous transparent IndicatorDataSeries that will have all the values and use it for your cloud.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
10 Feb 2020, 09:03

Hi koktos632,

No it is not.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
10 Feb 2020, 08:58

Hi koktos632,

It is the same issue. It will be fixed in an upcoming update.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
10 Feb 2020, 08:53

Hi bb1902,

Go to Settings > Advanced and make sure your email is configured properly.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
10 Feb 2020, 08:50

Hi casiimwe,

The price alert icon is still there.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
10 Feb 2020, 08:48

Hi thoy1,

1) You have placed your checks in OnTick. If the server is disconnected, you will not receive any ticks hence no checks will be made. Use a timer instead.

2) I could not reproduce any NaN values with your BollingerTest. Can you provide exact steps to reproduce this problem and post some screenshots as well?

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
10 Feb 2020, 08:36

Hi Rob,

See below

            Symbol symbol = Symbols.GetSymbol("AUDJPY");
            Print(symbol.Bid);

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
10 Feb 2020, 08:34

Hi Jan,

Say we use Step=5 and buy has moved to Step but Sell only halfway,  if (position.Pips >= TriggerWhenGaining)  would allow also the Sell stop to be moved/trailed even though it has not yet reached the step, am I correct?

I am not sure how you came to this conclusion but seems wrong. Can you please explain? The cBot is designed to trigger a TSL only for one position as soon as it has reached the trigger level. If you want to use it on multiple positions. then you will need to have multiple instances with multiple labels. Each instance should be independent and not affect other positions.

 Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
10 Feb 2020, 08:26

Hi w.b.z,

You can send it at community@spotware.com.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

PanagiotisCharalampous
10 Feb 2020, 08:25

Hi Manuel,

Can you please post your cBot's code so that we can check?

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous

PanagiotisCharalampous
10 Feb 2020, 08:24

Hi Jan,

No that is not possible.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous