Simple Algo: Strategy Monitor Trades don't match Strategy Window
Author: boreland
Creation Date: 3/30/2016 6:29 PM
profile picture

boreland

#1
The title is wrong on this: SM will NOT issue trades.

This is manual entry system, with the algorithm managing the exit; i.e you enter the long yourself. Ideally, the first long buy would occur one bar prior to the current printed bar, but I've not been able to code this.

In this configuration the trades start at the beginning of the day. In the SM only 3 trades show and the algorithm never fires. Do any one have any ideas why it does not work?

CODE:
Please log in to see this code.
profile picture

boreland

#2
Here are some images that show the trades that occur on the chart and show only three trades appear in the SM.
profile picture

Eugene

#3
Couldn't reproduce in WLD 6.9.15.. At the moment there were 42 trades in ESV in the SM and the number of trades was equal to the strategy window. Perhaps a SM log could shed some light on it.
profile picture

boreland

#4
Thanks Eugene. So it's clearly working for you then. Perhaps Cone might have so insights?

Is there by chance a global setting that limits the number of trades in the SM?
profile picture

Eugene

#5
I don't think so: there probably isn't.
profile picture

boreland

#6
So the big question is why does it work on your machine and not mine? I've installed a virtual machine and plan to install WLP onto it and see if there is any difference in the results I'm getting.
profile picture

Cone

#7
QUOTE:
Is there by chance a global setting that limits the number of trades in the SM?
There are no artificial limits in Wealth-Lab (at least none that I've ever been aware of or experienced in the last 16 years).

It's far more likely that different settings produce different results. Assuming that you're using the same Symbol (ESV), Data Scale (1 Min), and Range (1000 bars), then the next likely suspects are:

1. You made and saved changes to the Strategy, but you didn't restart the Strategy Monitor.
2. Strategy Parameters (or Preferred Values).
3. Position Sizing

If none of these is the answer, restart WL Pro and try again.
profile picture

Eugene

#8
QUOTE:
I've installed a virtual machine

This is something that you didn't tell us before. I think that issues highlighted by Cone, esp. #1 and #2, are the likely culprits.

Still, in some circumstances VM may play a role too if the RAM allocated is not enough etc. Any issues, limitations, peculiarities and bugs in VM's implementation (network layer, graphics driver etc.) may also affect your ride. This is something to keep in mind regarding troubleshooting your issues in general.
profile picture

boreland

#9
I appreciate the input, but the above items are not the issue. I installed a virtual machine and WLP onto it. My test script you ran yesterday Eugene appears to also run OK on the VM . Go figure! I guess there is a problem with my current installation. Something is getting in the way of it working properly.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).