LongEntrySignal = ((HeikenAshiHigh(Main chart)[3] crosses above CloseDaily(Main chart)[1]) and (EMA(Main chart,28)[1] is rising for 24 bars)); ShortEntrySignal = ((HeikenAshiHigh(Main chart)[3] crosses below CloseDaily(Main chart)[1]) and (EMA(Main chart,28)[1] is falling for 24 bars));
Attachment Strategy 0211196.sqx added
Please check if you have file OppositeBlocks.csv in StrategyQuant\user\settings folder. If yes, please attach it here.
Also, could you attach your builder config?
Attachment OppositeBlocks.csv added
Attachment Buildh4.cfx added
Status changed from Waiting for information to Refused
Attachment OppositeBlocks_example.csv added
In the newest setup the file is not there, there is OppositeBlocks_example.csv that can be renamed. When the file is not there the negation works by default same as in OppositeBlocks_example.csv).
When OppositeBlocks.csv exists it manages how blocks are negated and allows you to control the negation. In your file HeikenAshiHigh was negated ot HeikenAshiHigh, that's why it worked like that.
For more information check section 5.4 Controlling conditions negation in Users Guide.
In my tests HeikenAshiHigh is correctly negated to HeikenAshiLow.
Are you using the latest SQ version ? Is it clean installation or update?