READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

OppositeBlock expectations

2 replies

Wayne

Subscriber, bbp_participant, sq-ultimate, customer, community, 6 replies.

Visit profile

1 year ago #288959

Hi support,

When looking at the code for some of the internal Blocks, I see unexpected values for the @OppositeBlock annotation.

For example, in internal\extend\Snippets\SQ\Blocks\Indicators\ATR\ATRChangesUp.java, the @OppositeBlock is set to “ATRChangesUp”. I would have expected it to be set to “ATRChangesDown”.

Is my expectation incorrect? Or are these values set incorrectly in the code?

Note: I’m using StrategyQuant X Ultimate Build 141.2226

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

1 year ago #288978

Hello,

ok I will check with our dev team

1

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

1 year ago #289768

Some indicators and signals, such as ATR or ADX, do not have a direct opposite, as they are not symmetrical. For example, ADX tends to show high values whether the market is rising or falling, reflecting the strength of the trend rather than its direction.

0

Viewing 2 replies - 1 through 2 (of 2 total)