|
Version 3
I will post the EA to the first post.
Here is the updates explained...
1. Changed Boost to an extern bool and made it true. This allows multiple trades per candle and not just on the opening of the candle.
2. TrendSpacing - This is a separate spacing increment for when the price is higher than the highest buy or lower than the lowest sell. It allows the profit to accumulate quicker when in a trend.
3. CounterTrendMultiplier - This multiplies the lot size to help the retracements accumulate profit quicker. Set to 1 if you want the lot size to stay the same.
4. In the CheckForBuy() and CheckForSell() routines, I broke up the entries into two separate subroutines. This allows for the TrendSpacing and CounterTrendMultiplier.
5. I also added a MidPoint line for a visual aid. It has no real purpose.
6. Simplified the right side label to incorporate the margin and low margin and balance into one label.
Still having problems with the losing orders closing improperly. Still working on it. Can still use some help on it!
Don
EDIT - I didn't get the LWMA added to this version. Maybe in the next one.
Last edited by don_forex : 06-22-2007 at 02:15 PM.
|