For the last 5 hours I´ve been finally investigating the partially really messy symmetry issues that SQX is having since a while. I had opened several bug reports about the unsymmetric entries I´ve found here:
However, as more and more were unsymmetric entries were showing up, I decided to really get to the ground of the issue, which is related to the /user/settings/OppositeBlocks.csv file. I´ve gone through all almost 400 lines several times during the last hours, corrected the errors, sorted the entries to a more logical few (for humans) and did several validation-runs within SQX to verify it now creates the correct, symmetric rules finally. Apart from the above bug reports, which can now be closed, I´ve found a lot errors (completely missing opposite entries) and misconceptions about what a correct opposite rule really is. For example, there was an entry for "ADXChangesDown;ADXChangesUp", which means that a downward changing ADX is the opposite of a upward changing ADX, which simply is not the case, because ADX, just like for example Momentum, only shows the STRENGTH of the actual trend - you can´t draw conclusions of the trend direction from just the ADX. So it´s showing the same values for a strongly up-moving market, as well as a strongly down-moving market (it´s rising in both cases). So the right usage for that indicator would be "ADXChangesDown;ADXChangesDown", just like you´ve already correctly done it for the ATR or the StdDev, which also is unable to show a direction of the market, just the strength of it´s movement and hence needs to be combined with other indicators to work (SQX will figure this out on it´s own during strategy generation).
There have been a lot more issues in relation to HeikenAshi / Low / High / Daily High / Daily Low, etc, they (and many more) all had incorrect opposite rules. Also BearsPower and BullsPower, which are basically one indicator split into two. So if using BullsPower for the Long Entry, it must be using BearsPower for the short entry. However, almost everything is fixed now in the edited file that I´ve attached and that will hopefully make it into build 117 quickly :-) Still, there are some issues that I can´t overcome, because there seems to be another issue with SQX. Those are:
1) The candle pattern "Doji" is missing it´s counterpart formation "Dragonfly" completely, so right now now Doij is having Doij as it´s opposite rule, which makes no sense. Dragonfly would be the correct opposite rule, but Dragonfly does not seem to be implemented into SQX yet.
2) Although I´ve added
...into the OppositeBlocks.csv file, SQX still generates strategies like this:
LongEntrySignal = (BullsPower(Main chart,13) crosses 0.0 downwards);
ShortEntrySignal = (BullsPower(Main chart,13) crosses 0 upwards);
Correctly it must use BearsPower for the short entry, not BullsPower too, but it seems to ignore that rule from the OppositeBlocks.csv file for unknown reasons.
3) The Aroon indicator that comes with SQX has 2 oscillating lines, a UP and DOWN line, however, there is no way to configure these in the OppositeBlocks.csv file. I´ve configured Aroon like this right now:
However, SQX still generates strategies like this:
LongEntrySignal = Aroon(Main chart,20).Up crosses above Aroon Down);
ShortEntrySignal = Aroon(Main chart,20).Up crosses below Aroon Down);
...while the short entry should instead be:
ShortEntrySignal = Aroon(Main chart,20).Down crosses below Aroon Up);
However, I see now way how to configure this correctly right now as Aroon in the OppositeBlocks.csv file simply only can be configured like it would be a normal oscillator with just one oscillation line.
Status changed from New to In progress
Status changed from In progress to Fixed