Here is Beta 7. It doesn't have all the features I had hoped and I apologize for that. Beya 8 will have the Money and Risk Management. Promise
This version contains the reactive code and some mechanisms for filtering trades that get bad fills caused by price spikes (news) and fast moving markets that cause price to stray wildly from the moving average causing a valid, but usually poor, entry.
Here are the new inputs:
extern bool UseReactiveEntryQQE = false;
When true, QQE will use the current bar for entry decisions.
extern bool UseReactiveExitQQE = false;
When true, QQE will use the current bar for exit decisions.
extern bool UseReactiveEntry = false;
When true, all non-QQE indis will use the current bar for entry decisions.
extern bool UseReactiveExit = false;
When true, all non-QQE indiswill use the current bar for exit decisions.
extern bool UseReactivePipsFilter = false;
extern int ReactivePipsFilter = 5;
These 2 are used together. When the boolean is true, the entry and exit conditions will have to be true for ReactivePipsFilter pips before the trade will occur. This is meant to filter brief crosses of QQE and the other indis which could cause false entries and exits. This will need optimization.
extern bool UseSlopeFilter = false;
When this is true, the entry condition must agree with the slope of the internal EMA. So if a long is triggered, it will only be placed if the ema slope is upward.
extern bool UsePriceFilter = false;
When this is true, the current price must be below the internal ema when entry condition is met for a trade to occur. So if the ask is below the ema price for a long, the trade is valid. This helps protect against taking trades after price spikes that cause valid crosses and helps to eliminate bad fills.
extern bool SameBarReverseTrade = false;
This allows a trade in the opposite direction to occur on the same bar as a just closed trade. So id a long closes and the conditions are valid for a short, the short will be placed on the same bar.
If all of the inputs are false, Beta 7 works just like beta 6.
Please let me know if anything is not working.
For the testers, I will come up witha test plan to include these features shortly.
This reads like a work of art! I believe that this is really an instant kick in the axx for the EA and its reactivity!
Great work there once more and still going amazingly fast!
Guess the next settings will be based on that also, right? Thank you really so much Rick!
Have a good weekend and G'night from Old Europe!