Hi All
Whts the commentry formula for previous bar value is 3 out of 1 or 2 or 3 or 4 or 5.
Thanx in advance
I am not able to fully comprehend what you are asking for.
AFAIK, there is no special formula for commentary in amibroker.
Whatever you place inside
printf(..) function will get published in Interpretation window as commentary. Thats it!
Usually, people wrap calls to
printf inside an
if statement block to make AFL perform bit faster on charting and exploration windows but the
if statement, by itself, is not a necessity.
Code:
if( Status("action") == actionCommentary )
{
printf("Some Text for Interpretation Panel\n");
}