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

PanagiotisCharalampous
16 Jul 2018, 16:31

Hi John,

TinyTake allows you to upload the video and send us a link. Alternatively you can send it to community@spotware.com.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 Jul 2018, 15:39

Hi John,

I use TinyTake. It has a Mac version as well.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 Jul 2018, 15:32

Hi again,

Which version of the application do you use? v1.x or the new v2.x native mobile application? Can you tell us the broker as well?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 Jul 2018, 15:22

Hi zedodia,

You can send me the code at community@spotware.com

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 Jul 2018, 15:20

Hi Symposium,

Thanks for posting in our forum. You can try the code below

Notifications.SendEmail(EmailAddressF, EmailAddressT, SymbolCode + " XeroLag Indicator is now displaying a BUYING opportunity", emailBodyB);

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 Jul 2018, 15:11

Hi John,

Thanks for reporting this. I have tried to reproduce this but I could not. Could you send us a video demonstrating this behavior?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 Jul 2018, 15:01

Hi Lavio,

Can you try performing a clean installation

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 Jul 2018, 14:52

Hi zedodia,

Thanks for reporting this issue. We will forward it to the product team.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 Jul 2018, 14:48

Hi Daniele,

The entry price of a position does not change if you close a part of it. If for example you open a EURUSD position of €10k at 1.10, when you close €5k it doesn't change the fact that the remaining €5k have been entered at 1.10.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 Jul 2018, 14:35

Hi ceacuk,

Is there a reason that OpenTime does not work for you?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 Jul 2018, 14:28

Hi Pavan,

Did you check if you get subsequent messages with quotes for the rest of the symbols? You should be getting one message per quote.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
16 Jul 2018, 14:15

Dear Trader,

Thanks for posting in our forum. If you are looking for ADX then you will find it in Directional Movement System indicator. Regarding the source of the RSI indicator, you can always use a custom indicator as an input, which can contain the median value of each candlestick.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jul 2018, 17:26

See below how you can find the positions with a specific label

Positions.FindAll("label");

 


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jul 2018, 17:21

Not really sure what you mean... If each robot has a distinct label, you will be able to filter and close positions of specific robots.


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jul 2018, 16:59

Hi Alexander,

Simply controling a cBot from another cBot is not currently possible. You will need some more advanced solution which depends on the use case. We discussed this a bit here. You should develop a method of communication between cBots. For example, you could have a controler cBot that will raise flags to other cBots, when they need to shut down themselves. The flags could be set in a file, accessible by all cBots. However, each specific use case might have a different ideal solution.


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jul 2018, 16:44

Hi Alexander,

I assumed that you wanted to operate on open positions. What would you like to do to a robot that has no open positions? If it doesn't have a position open yet, then it does not have a P&L neither does it allocate any margin. 

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jul 2018, 15:58

Hi quesnayquadrato,

In the backtesting log you will see the following message

01/04/2011 00:05:00.000 | Crashed in OnTick with NullReferenceException: Object reference not set to an instance of an object.

This means that you are trying to read variables that are null. In your code, the exception is thrown in the following parts

            if (current_SD < previous_SD)
            {
                var position2 = Positions.Find("OrdineComprare");
                ClosePosition(position2);
            }
 
 
            if (current_SD < previous_SD)
            {
                var position1 = Positions.Find("OrdineVendere");
                ClosePosition(position1);
            }

Before closing a position you should always check if it is null. Modify your code as follows

            if (current_SD < previous_SD)
            {
                var position2 = Positions.Find("OrdineComprare");
                if (position2 != null)
                    ClosePosition(position2);
            }


            if (current_SD < previous_SD)
            {
                var position1 = Positions.Find("OrdineVendere");
                if (position1 != null)
                    ClosePosition(position1);
            }

Let me know if this helps,

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jul 2018, 15:25

Hi quesnayquadrato,

Thanks for posting in our forum. Could you please explain to us what is the problem?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jul 2018, 12:36

Hi Alexander,

This is not possible. OnBar is called only the cBot's timeframe. If you want to handle the OnBar() on another timeframe, you will need to run a cBot on that timeframe as well.

An alternative is to run your code in OnTick() and check each time if a new bar has been added each timeframe series.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
06 Jul 2018, 11:17

Hi Bazan,

Thanks for posting in our forum. Currently cAlgo.API does not offer the tools you are looking for. Tradable instruments are not available and cBots are bounded to a Symbol and timeframe, even though it is possible to trade on other symbols as well and retrieve information about other timeframes. Maybe Connect API is a more appropriate technology to use in your case.

Please have a look and let me know if I can help you further.

Best Regards,

Panagiotis

 

 


@PanagiotisCharalampous