Hi Everyone,
Since the new version of Trading Station came bundled with views such as Renko, there have been a number of requests for strategies on these views. However, the Renko view that came bundled with Trading Station is still suffering from some teething issues and does not support strategies well.
I have produced this new version that can be used to write strategies on top of it.
I have made the following changes:
-- Fixed bug handling no history for strategies that crashes backtester
-- History futher enhanced to autoload enough data.
-- Fixed bug to prevent crashing (remove subscription in release instance - thanks Valeria!)
-- Added bars limit for target number of bars initially required.
-- Added dateLimit to prevent loading too long.
-- Added detection of when the server limit of data has been reached, and aborts loading further (which probably makes dateLimit legacy)
-- Forces subscription to new prices (removed load_to date)
-- Default timeframe set to m1 as this is the closest to the real thing. Should be tick really.
-- Added Volume (or an attempt to calculate it. If someone can verify my logic I would appreciate it).
-- Removed localization as I cannot translate New into all the other languages.
I think this is a good start. Someone could now take this and enhance it to support ticks, and then I think we will be pretty close to having a good view.
To see a sample strategy that uses this, please see this one: viewtopic.php?f=31&t=60749
Some final comments
- This new view allows you to load a certain number of bars (or attempt to) which makes it a bit better than the one that comes with Trading Station.
- If you use a strategy with this view, you do not have to have the view open - the strategy will open it internally.
- There are certain tricks to writing a strategy that uses this view. Please see the strategy linked above for details.
Cheers,
MooMooFX
The strategy based on this view.
viewtopic.php?f=31&t=66876