PureBytes Links
Trading Reference Links
|
Hans,
thanks for the helpful hint (exitlong 1 contract TOTAL) !
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. 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.
Are there any experiences about this behaviour ?
Regards,
Ulrich
|