Contract Size and Profit Taking  [SOLVED]

Questions about MultiCharts .NET and user contributed studies.
lordsriram
Posts: 8
Joined: 03 Dec 2018

Contract Size and Profit Taking

Postby lordsriram » 29 Mar 2019

Hi

I am using

Code: Select all

ordercreator.limit(new SOrderParameters(Contracts.Default, "Buy", EorderAction.Buy))


I am using the portfolio trader to determine the contract size based on 80% of my equity. I want to place profit taking orders at certain profit targets, but only take say 15% of the total contract size. What is the statement to get the current contract size for me to do the math or is there a statement that will perform profit taking for varying contract sizes. I am unable to find this answer and would appreciate some inputs into this

Thanks
Sriram

lordsriram
Posts: 8
Joined: 03 Dec 2018

Re: Contract Size and Profit Taking  [SOLVED]

Postby lordsriram » 31 Mar 2019

Found my answer.... Currentpostions.Openlots gives me this number

Thanks


Return to “MultiCharts .NET”