Compile indicator into a DLL

Created at 31 Jan 2019, 13:46
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
TO

TonNcie

Joined 23.01.2019

Compile indicator into a DLL
31 Jan 2019, 13:46


In VS2017 how to Compile a new made indicator into a DLL.

Normally it builds to a .algo file now but sometimes it builds to a dll.

When is the build result going to be a .dll and when an .algo ?

Best rgds,
Ton


@TonNcie
Replies

Shares4UsDevelopment
01 Feb 2019, 17:40

project->properties

build action = resource

build


@Shares4UsDevelopment

Mikro
05 Feb 2019, 14:43

Hey guys,

I have the same issue at the moment.

One indicator I opened from cAlgo via "Edit in Visual Studio" compiles just fine to the 'indicator.algo' in the

/Resources/Indicators/

directory.

 

Another indicator which I resored from an old git repository compiles, but does not build the .calgo file.

I find the indicator.dll under

/Resources/Indicators/myIndicator/bin/Release/

folder, but no

/Resources/Indicators/myIndicator.calgo

is created?

I tried to set build action for the .cs file to 'resource' but with no result.

 

What am I missing?

 

thanks!


@Mikro

TonNcie
05 Feb 2019, 15:50

the properties of the cs file should be set to compile I guess to compile to cAlgo..


@TonNcie

PanagiotisCharalampous
05 Feb 2019, 15:54

Hi Mikro,

Can you send me the indicator project at community@spotware.com?

Best Regards,

Panagiotis


@PanagiotisCharalampous