# \[Strategy Market\] Stack ends

**URL:** https://forum.eternagame.org/t/strategy-market-stack-ends/1255
**Category:** Strategy Market - Single State
**Created:** [April 11, 2012, 1:17am UTC](https://forum.eternagame.org/t/strategy-market-stack-ends/1255 "2012-04-11T01:17:00Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jandersonlee](https://forum.eternagame.org/letter_avatar_proxy/v4/letter/j/a9a28c/32.png) [@jandersonlee](https://forum.eternagame.org/u/jandersonlee)
#### Post date: [April 11, 2012, 1:17am UTC](https://forum.eternagame.org/t/strategy-market-stack-ends/1255/1 "2012-04-11T01:17:00Z")

</div>

Considering the ends of stacks adjacent to loops, tails or bulges.

For each stack end that is closed by GC or CG add 2. For each stack end that is closed by UA or AU add 1. For each stack end that is closed by GU or UG subtract 1.

For each stack end, if there is a stack pair under (behind) the closing pair and it is GC or CG and the closing pair is not GC or CG, subtract 1.

Normalize by dividing by the number of stack ends in the target structure. Normalized value should range from -2 to 2.

---

<div class="post-metadata">

### Author: ![jandersonlee](https://forum.eternagame.org/letter_avatar_proxy/v4/letter/j/a9a28c/32.png) [@jandersonlee](https://forum.eternagame.org/u/jandersonlee)
#### Post date: [April 16, 2012, 12:08am UTC](https://forum.eternagame.org/t/strategy-market-stack-ends/1255/2 "2012-04-16T00:08:00Z")

</div>

If the intention is to have a final between 0 and 100, take the normalized score, multiply by 25 and add 50. However if doing a correlation operation, this scaling should have no effect on the result.
