Quote:
Originally Posted by WNW
I've been running this strategy manually for several weeks due to the lot sizing problem, however, I've not yet tried Derk's version.
I trade 17 pairs, no PSAR or ADR, just the 200 EMA for the signal.
Using the mod below this has been extremely profitable.
If any pair is in a progression but have a new watermark account balance high I halt any and every progression and start over.
This has resulted in never having gone over a 3 unit lot size on any pair.
So what we want to tell the EA to do is, "If I have any pair that has been trading more than 1 unit and my balance reaches an all-time high, stop the propression and start over with 1 unit on every pair.'"
I've tried in vain to code this. If someone could make the mod this thing would be dynamite.
Thanks in advance.
|
may not be possible, since there is no way to keep track the balance.
anyway the idea is
check x time ago to see what is different, may be able to using array.
if the different is reach certain amount. then reset the unite.