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

PanagiotisCharalampous
12 Nov 2018, 12:36

Hi Sasha,

There is no event for KeyPress at the moment. You can find the available events here.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
12 Nov 2018, 12:32

Hi cysecsbin.01

Thanks for posting in our forum. See the below the correct way to implement this.

using System;
using cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using cAlgo.Indicators;
 
namespace cAlgo
{
    [Indicator(IsOverlay = false, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class MarketSeries_Test : Indicator
    {
 
        [Output("Main")]
        public IndicatorDataSeries Result { get; set; }
 
        private MarketSeries EURUSD;
 
        protected override void Initialize()
        {
            Symbol eurusd = MarketData.GetSymbol("EURUSD");
            EURUSD = MarketData.GetSeries(eurusd, TimeFrame.Hour);
        }
 
        public override void Calculate(int index)
        {
            Result[index] = EURUSD.Close[EURUSD.OpenTime.GetIndexByExactTime(MarketSeries.OpenTime[index])];
        }
    }
}

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
12 Nov 2018, 12:25

Hi djtnd,

Please contact ICMarkets regarding their plans to upgrade to 3.3.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
12 Nov 2018, 12:05

Hi Xavier,

Can you send these projects to community@spotware.com so that we can have a look?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
12 Nov 2018, 12:01

Hi Pierre,

Thanks for posting in our forum. ICMarkets has not been upgraded to 3.3 because they need to make internal infrastructure changes before they are ready to upgrade to the latest version. We will upgrade them as soon as they inform us that they are ready for the upgrade.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Nov 2018, 16:54

Hi Janse,

Thank you for posting in our forum. Can you please share a screenshot with us so that we can understand what you mean?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Nov 2018, 12:43

Hi zhuyeaini,

Thanks for posting in our forum. The formula is profit = volume *  points * tick value.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Nov 2018, 11:19

Hi Ian,

Ok it is clear now. You should have put the print statement inside the brackets. The way you put it, the brackets are not considered part of the if statement any more, only the Print() method.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Nov 2018, 10:56

Hi nguyendan81985,

No, it is only used for testing automated strategies.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Nov 2018, 10:54

Hi lec0456,

Unfortunately we cannot provide source code for built in indicators.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Nov 2018, 10:52

Hi ddd,

It is not very clear what do you mean. What kind of CVS do you need to import? In what array? Check this thread. It could be helpful.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Nov 2018, 10:39

Hi David,

Double position does exactly what you described. It adds a new deal of the same size to the existing position. Since the new deal is opened at a different price then it is obvious that the position's entry price and profits will be averaged. If you want your positions to be separated then you need to create new positions instead of doubling an existing one. Also I noticed that you use the terms order and position interchangeably which leads to confusion and misunderstandings. For a detailed explanation of these terms and how they are used in our context, have a look at this article.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Nov 2018, 10:31 ( Updated at: 09 Nov 2018, 13:59 )

Hi Peter,

I am happy that the issue has been resolved. We can delete the thread if you wish.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Nov 2018, 10:22

Hi mhdbakri@live.com,

We still do not have an ETA for this.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Nov 2018, 10:19

Hi Sasha,

It is not possible to change a position's label at the moment.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Nov 2018, 10:17

Hi Piotr,

Thank you. It would be better to have the complete indicator code so that we can reproduce the issue the same way as you do. If you do not want to share it publicly, please send it to me at community@spotware.com

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
09 Nov 2018, 10:12

Hi Ian,

Thank you. I could not reproduce your problem on ICMarkets. Can you please provide me with baktesting parameters and dates as well?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Nov 2018, 16:55

Hi Ian,

Can you explain to us what do you mean it fails? Can you also share the full cBot code as well as your broker?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Nov 2018, 11:04

Hi anghenly,

You need to hover your mouse over the right corner area and it will appear.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
07 Nov 2018, 09:41

Hi kontodospamu5,

Thanks for the clarification. Is it possible to share some code with us (cBot/Indicator) so that we can reproduce the problem?

Best Regards,

Panagiotis


@PanagiotisCharalampous