Cribbage
Member
This is confusing me more than it feels like it should, from the accumulationdistribution study on ToS:
length = 4
def range = Highest(high, length) - Lowest(low, length);
plot RangeRatio = range / range[length];
To me this is saying "highest high of the last 4 - lowest low of the last 4" is being divided by the same thing, meaning the outcome would always be 1. Where am I misunderstanding this?
Which brings me to another point: Is there a glossary of commands on this site? I would love it if there were a glossary section where different ThinkScript could be explained more thoroughly in plainspeak. I found the TOS learning center to be more confusing than helpful on the "Highest()" command.
length = 4
def range = Highest(high, length) - Lowest(low, length);
plot RangeRatio = range / range[length];
To me this is saying "highest high of the last 4 - lowest low of the last 4" is being divided by the same thing, meaning the outcome would always be 1. Where am I misunderstanding this?
Which brings me to another point: Is there a glossary of commands on this site? I would love it if there were a glossary section where different ThinkScript could be explained more thoroughly in plainspeak. I found the TOS learning center to be more confusing than helpful on the "Highest()" command.