Replies

PanagiotisCharalampous
22 Dec 2017, 14:42

RE:

Drummond360 said:

What if you want to place a sell order below the current price? Would that be a StopOrder?

and would you still use ModifyPendingOrder to trail it onTick?

Hi Drummond360,

The answer to both of your questions is yes.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Dec 2017, 11:18

Hi dordkash@gmail.com,

If you need somebody to develop the indicator for you, you can post a job in the Jobs section or contact a professional Consultant.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Dec 2017, 11:05

Hi gunning.ernie,

The percentage of your risk depends on where you will put your stop loss, not only on the volume. In leveraged accounts you can risk your entire account balance if you do not use a stop loss. The higher the volume, the less pips needed to reach your risk threshold. For example, if you open a position of $100.000 and you want to risk only $100, you need to place your stop loss at 10 pips since each pip is $10.

The leverage does not change the amount of risk. It is the size of the position itself that determines your risk. Leverage just defines the minimum margin required by the broker to open a position i.e. with a leverage of 1:100 the maximum position you can open with $1000 is $100.000.

I hope this helps.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
22 Dec 2017, 10:26

Hi gunning.ernie,

Volume is just the amount of base currency you would like to invest in your position e.g. 100000 in EURUSD means a position of €100.000. Regarding your calculation, leverage in not related to pip size. Leverage is related to your account's margin. Pip size is only related to position size. The result of your calculation should be $1. In reality, the pip value of EURUSD is $10 since the the pip position is on the fourth decimal place.

Let me know if my explanation makes things clearer to you.

Best Regards,

Panagiotis

 


@PanagiotisCharalampous

PanagiotisCharalampous
22 Dec 2017, 09:48

Hi rewtrading,

Thanks for posting the code. However this indicator does not seem to do anything. It is an empty indicator. How did you perform the conversion? If you want to learn more on how to develop indicators you can read the guide here.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
21 Dec 2017, 17:33

Hi rewtrading,

Could you share the code with us to advise you what could be wrong?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
21 Dec 2017, 16:54

Hi svanharmelen,

Can you please send me message you are sending as well as the ones you are receiving so that I can have a look?

Best Regards

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
21 Dec 2017, 12:04

Hi gunning.ernie,

Indeed the message is related with the parallel loop. Have a look at this article, it might be helpful.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
21 Dec 2017, 11:20

Hi irmscher9,

Thanks for reporting this but if Windows crashes for any reason then probably it would be better to contact Microsoft instead. There are not much things we can do about a Windows crash.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
21 Dec 2017, 10:25

Hi svanharmelen,

Requesting multiple symbols in one market request is not available in our current FIX API implementation. Yow need to send a request for each symbol separately.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
21 Dec 2017, 10:23

Dear Trader,

We have applied a fix on the Heiken Ashi formula in the recent update for cTrader Web. The fix will also be present in the new native mobile apps that will be released soon.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
21 Dec 2017, 09:59

Hi tradingu,

cTrader Copy which is coming soon will feature management and performance fees. Stay tuned!

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Dec 2017, 15:41

Hi tradingu,

I managed to reproduce it as well. I will report this to the Quality Assurance team to take a look at this. Thanks for your help.

Best Regards,

Panagiotis

 


@PanagiotisCharalampous

PanagiotisCharalampous
20 Dec 2017, 15:19

Dear Trader,

If you want to place a Buy pending order below the current market price, you need to place a Limit Order. Buy Stop orders cannot be placed below the market price. If you want to implement trailing of the order based on price movement, you can have a look at ModifyPendingOrder function and use it to modify the order accordingly on each tick. 

Let me know if the above information helps you.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Dec 2017, 15:00

Hi tradingu,

I haven't managed to reproduce your problem so maybe I am missing some steps. Is it easy to capture and send me a short video that displays the problem so that I can check again? You can use TinyTake for this. Also it seems that you have changed the colors for the candlesticks. Can you send me a screenshot with the exact colors you use?

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Dec 2017, 12:38

Dear Trader,

Thanks for posting in our forum. You can post a job in the Jobs section or ask help from an experienced Consultant.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
20 Dec 2017, 10:03

Hi symbiosis,

It is not very clear what you are asking for. Are you looking for a cBot that will close all profitable positions? You can close manually any position opened by mirroring a strategy at any time.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Dec 2017, 15:43

Hi chrismail0209,

Thanks for posting in our forum. You can post a job in the Jobs section or ask help from an experienced Consultant.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
19 Dec 2017, 14:54

Hi gunning.ernie,

The information in this post is a bit outdated. OnTick() method is called for all symbols retrieved using MarketData.GetSymbol(). See the following example

using System;
using System.Linq;
using cAlgo.API;
using cAlgo.API.Indicators;
using cAlgo.API.Internals;
using cAlgo.Indicators;

namespace cAlgo
{
    [Robot(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    public class NewcBot : Robot
    {
        [Parameter(DefaultValue = 0.0)]
        public double Parameter { get; set; }

        protected override void OnStart()
        {
            var EURUSD = MarketData.GetSymbol("EURUSD");
            var GBPUSD = MarketData.GetSymbol("GBPUSD");
            var EURJPY = MarketData.GetSymbol("EURJPY");
            var USDJPY = MarketData.GetSymbol("USDJPY");
        }

        protected override void OnTick()
        {
            Print("tick");
        }

        protected override void OnStop()
        {
            // Put your deinitialization logic here
        }
    }
}

In this case, OnTick() will be invoked for all four symbols.

Let me know if this helps you.

Best Regards,

Panagiotis


@PanagiotisCharalampous

PanagiotisCharalampous
18 Dec 2017, 16:24

Hi megha,

There are two ways to get the symbol id in cTrader. These are the following

1. Manual

  • Go to cTrader 
  • in MarketWatch, right click on a Symbol
  • In the popup menu, select "Information"
  • In the pop up form, you can find FIX Symbol ID in the Symbol Info section

2. Using Connect API

You can use Symbols request from Accounts API and access the symbolid field for each symbol.

Best Regards,

Panagiotis


@PanagiotisCharalampous