Strategy Properties

Questions about MultiCharts .NET and user contributed studies.
sylfvdk
Posts: 57
Joined: 06 Dec 2005

Strategy Properties

Postby sylfvdk » 21 May 2015

Hi,
Is there any way that I can get in my Strategies the following info programmatically:
-- Cash per Trade
-- Fixed Shares / Contracts

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Strategy Properties

Postby Henry MultiСharts » 21 May 2015

Hello sylfvdk,

Do you mean you want to read these values from the settings into your code?

sylfvdk
Posts: 57
Joined: 06 Dec 2005

Re: Strategy Properties

Postby sylfvdk » 21 May 2015

Yes, I need to read those values in the code to determine potential quantity that strategy will get in.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Strategy Properties

Postby Henry MultiСharts » 22 May 2015

Hello sylfvdk,

Unfortunately there is no way to read these values from the code. You can set the amount of contracts to buy/sell from the code and it will overwrite the values in the strategy properties.


Return to “MultiCharts .NET”