WriteIf is working AS DOCUMENTED, was: not working as I expect

There is no array of strings in AFL

But you may use AddMultiTextColumn to output string on array in Explorer.

Version(6.20);

IFU = C > MA(C,20);

Filter = 1;

// if IFU returns 0 or 1
AddMultiTextColumn(IFU,"Down\nUp", "Index", 1.3, IIf(IFU,colorGreen,colorRed), 2, 40);
AddColumn(IFU,"IFU",1.0);
2 Likes