Hi Alan,
I have coded your Virtual Basket approach in the DB.
It is a beta version which needs to be tested as usual
Before to post it, I wanted a few confirmations to adjust the DB if necessary.
Here what I have done:
The VB triggers the trades without spread as we don’t need it to monitor the VB (it makes it easier).
When we reach our triggers levels +/- 300, the real basket are triggers. When those real baskets will be trigger they will have immediately a pip count of let’s say – 25 because of the spread. So the VB will have a pips count of +/- 300 when the real basket will have a pips count of – 25.
Here the approach in a spreadsheet:
VBA.png
If TP is reached, basket is closed and DB stop trading.
If SL of – 300 pips is reached, an opposite basket is open. If TP or SL is reached, basket is closed and DB stop trading.
Technical note: For example, for an in trend basket the DB trigger the SL on the real basket pips count (at – 300 pips) and not on the VB pips count of 0. Which mean there is a difference which is the spread. The VB is at + 25 when the real basket is at -300. Same approach for a reversal basket.
Instead of the real basket pips counts, I can use the VB pips count and wait for it to be at 0 but then the real basket pips count would be at -325…
Hope it make sense
You do not have the required permissions to view the files attached to this post.