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

Re: Problems adjusting the position size



PureBytes Links

Trading Reference Links

> Hans,
> 
> thanks for the helpful hint (exitlong 1 contract TOTAL) !

.....seen many times on THIS list !
 
> Unfortunately this seems to cause the following problem:
> 
> - In an indicator I get the CORRECT equity (with I_OpenEquity).
> 
> - In a system the I_OpenEquity function is not available.
>   I have to "emulate" it. The only construct I found is 
>   NetProfit+OpenPositionProfit. 

correct

>   But at the bar at which the
>   "exitlong... TOTAL" is executed, the calculation is false.
>   So all calculations for the following bars are false, too.

hmmm, thats to difficults to overcome for ME - think my mate PO will have to do 
that one 

rgds hans
www.sirtrade.com