Here are two custom formulas:
$turnbar15min
LoopMax("Eval(MACDD(12,26,1,CTR)<MACDD(12,26,1,CTR+1) AND MACDD(12,26,1,CTR)<MACDD(12,26,1,CTR-1),CTR,0)",15,1)
$turnbarPREVmin
LoopMax("Eval(MACDD(12,26,1,CTR)<MACDD(12,26,1,CTR+1) AND MACDD(12,26,1,CTR)<MACDD(12,26,1,CTR-1),CTR,0)",126,$turnbar15min+1)
In the second formula the loop needs to start one day before the number resulting from the first formula; hence I nested the first formula into the second formula and this should pose no problem because below the custom formula field the following is written [quote]
You can reference custom formulas inside a custom formula.
[/quote]
However, when I call the two formulas in a screen, I get an error in the rule which uses the second formula (see attached).
So is nesting possible or not and - if not - what would be a possible workaround?