[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

push pop



PureBytes Links

Trading Reference Links

I use a single system on a basket of markets and would like to ask if it's possible to use the pushpoop dll to feed the total equity of my portfolio to the single market system to calculate the number of contracts to use.
I would like to use something like this in the system :

Input: PercRisk(0.02);
Vars:,NumCntr(0),Equity(0);

Equity=Portfolio equity +NetProfit+OpenPositionProfit ;
NumCntr1=(PercRisk*Equity)/(AvgTrueRange(avgrng)*BigPointValue);

Anybody can help me on this?
thanks