<svg><text x=<<ProgressMark>> y=16 fill="red">▼</text></svg>
<progress value=<<some value>> max=<<max value>>></progress>
\define Proportion()
<$macrocall $name="rpn" a=$(currentVal)$ b=$(targetVal)$ operation="/">
\end
\define ProgressMark()
<$macrocall $name="rpn" a=<<Proportion>> b=520 operation="*">
\end
<$set name=currentVal value={{!!tracker_current_value}}>
<$set name=targetVal value={{!!tracker_target_value}}>
\define Proportion()
<$macrocall $name="rpn" a=$(currentVal)$ b=$(targetVal)$ operation="/">
\end
\define ProgressMark()
<$macrocall $name="rpn" a=<<Proportion>> b=520 operation="*">
\end
\define mymacro(ProgressMark)
<svg><text x=$ProgressMark$ y=16 fill="red">▼</text></svg>
\end
<$set name=currentVal value={{!!tracker_current_value}}>
<$set name=targetVal value={{!!tracker_target_value}}>
<<mymacro>>
</$set>
Would you mind sharing your DaysDiff solution?
(I wrote my own, but it's not as solid as rpn.)
Cheers,
Thomas