Monday, December 01, 2008     | Register
TradersStudio Forums
Subject: Position Size From Closed Equity

You are not authorized to post a reply.   
Author Messages
oranje14
Posts:5

02-05-2008 4:05 PM Alert 

Is there a way in trading plan scripts to calculate position size from closed equity, not including open trades? Also, in general, is there a reference for the various objects in "tradeplan" (eg.tradeplan.session().OpenTradeCount)?

Thanks

 

 

murray
Posts:431

02-05-2008 5:49 PM Alert 
Are you trading stocks or futures.
oranje14
Posts:5

04-19-2008 8:31 AM Alert 
I am trading back-adjusted futures.
Thanks
murray
Posts:431

04-23-2008 10:56 AM Alert 

Summary -- property (ITradePlan)

Returns the Summary results of the TradePlan.

Syntax

SummaryObject = TradePlanObject.Summary

The Summary property syntax has these parts:

Part Description
SummaryObject Object variable of type ISummary.
TradePlanObject Object variable of type ITradePlan.

The Summary property returns the summary of the Trade Plan run.  This property can be  called on every bar to show how performance changes from bar to bar.

You can also call Summary propety of the ISession (this will return combined summary of all the Session's market), or of the IMarket (this will return summary of individual Market).

See the Summary property of the ISession object for code sample.

See PercentSummary property

 

You can access OpenPosPL in the ISummary object and subtract it from the current equity.

You are not authorized to post a reply.



ActiveForums 3.6
TradersStudio® Copyright 2004-2008 All Rights Reserved   |  Privacy Statement  |  Terms Of Use