Expression Binding - If statement to control historical trend end date

I'm running a vision client with Easy Chart's do display specific data over time, in a historical mode.

These historical easy chart's have a start date bound to a memory tag. A button on the screen to "start process" grabs the system.date.now() and throws it into a memory tag mentioned above.

The easy chart's end date is currently bound through an expression reading:

now(1000)

So essentially, I trigger the start, and the end time updates perpetually at the rate above.

Now I need to stop this end date, based on specific events, like abort, or process finished.

The logic would look like below, but I need it to agree with an expression binding syntax:

Try

if(
    !{[default]Internal/Trending/Stop Trend.value},
    now(1000),
    {[default]Internal/Trending/Stop Trend.timestamp}
)

Thank you!