Hello,
is it possible to access the equity with .net in WL 5.5?
For example I want to change the number of contracts if the equity is above its moving average 25.
BR
akr
Size:
Color:
As of version 5.5 it is possible, but partially and unsupported:
Wealth-Lab 5 Wiki > Knowledge Base >
Interacting Dynamically with Portfolio Level EquityIn other words, there are some shortcomings to this solution; and the function
SetShareSize is somewhat limited.
Starting from v5.6 (coming soon), V4's Simuscripts will make their way back to V5 under the new name "PosSizers". PosSizers are a step forward because they will execute much faster than Simuscripts, will have a GUI, keep user selected settings and will be more flexible. "Trading the equity curve" will be easily possible with PosSizers (in fact, I've already coded it for our upcoming customer-only MS123.PosSizers library).
Size:
Color:
P.S. I'd vote for the PosSizer solution because it's way more simple and no need to code: you'd just select the PosSizer, tune the moving average period [crossover of two moving averages of equity will also be supported] and other options from its GUI dialog, and apply it.
Size:
Color:
I've written an article which intends to familiarize mechanical traders and WealthSignals subscribers with the notion of exploiting a temporary weakness of a system to their benefit. Check out this brief overview of methods for "trading the equity curve" designed to take the system's equity curve and performance under control at the WealthSignals website:
When a mechanical trading system is having a drawdown what do you do?
Size:
Color: