I who have always used the complicated way.
Formula block with ATR * 2 = variable