I'm trying to use the change from prior day close as a condition of entering a trade, but don't know how to reference or calculate it.
The CH token seems to return only the change of current price from yesterday - as in today's change value, and not the change from prior day close vs the date being backtested.
Thanks for any help!
The current close is accessed with the CL token.
I assume you are working on intraday data. There are a few ways to access previous close but I recommend using the Session Statistics indicator set as you see below.
And the syntax for change from previous close would just be...
CL - SESST