ALGO Source code

Created at 15 Aug 2019, 12:24
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!
ChrisCz's avatar

ChrisCz

Joined 26.07.2019

ALGO Source code
15 Aug 2019, 12:24


Hi,

I'm sure, I'm missing something obvious.

I wanna share some of my indicators with hte source code readable. But all my friends get is the executable source code, when they import and install the Algo I sent them. They get the messsage: Source code not available, when they try to modify my code.

Any help would be appreciated,

 

Chris


@ChrisCz
Replies

firemyst
17 Aug 2019, 18:09

RE:

ChrisCz said:

Hi,

I'm sure, I'm missing something obvious.

I wanna share some of my indicators with hte source code readable. But all my friends get is the executable source code, when they import and install the Algo I sent them. They get the messsage: Source code not available, when they try to modify my code.

Any help would be appreciated,

 

Chris

When you send them the algo file, also send them the .cs (c-sharp) source file.

When they save the files, save them both in the "C:\Users\<user id>\Documents\cAlgo\Sources\Indicators" folder.

Double click the algo file to install, and then they should be able to see the source code from cTrader. Or, they can just look at the source code from the .cs file you send them.

if they don't have a source code editor, just have them rename the file, add ".txt" to the end, and then they can open it easily Notepad.

Hope this helps.


@firemyst