Tooltip in amibroker 5.4

#1
this is sample afl:


PlotOHLC( Open, High, Low, Close, "", BarColor, styleBar);
ToolTip=StrFormat("Open: %g\nHigh: %g\nLow: %g\nClose: %g (%.1f%%)\nVolume: "+NumToStr( V, 1 ), O, H, L, C, SelectedValue( ROC( C, 1 )));


tooltip working well in ami 5.3, but can not work with ami 5.4

need help to enable tooltip ami 5.4

thanks
 
#6
..........

Hello,

Tooltip variable IS OBSOLETE AND NOT SUPPORTED anymore from 5.40.
==================================

The only supported way to get anything displayed in the tooltip
is using Plot() statements. Anything that is plotted will be automatically
displayed in the tooltip. One can also display extra things in tooltip
using
Plot( Open, "Open", 0, styleHidden ); // no chart but value included in tooltip

Best regards,
Tomasz Janeczko
amibroker.com
 

rajeshn2007

Well-Known Member
#7
you can try this
Code:
Plot( O, "Open", colorBlack, styleHidden );
Plot( H, "High", colorBlack, styleHidden );
Plot( L, "Low", colorBlack, styleHidden );
Plot( C, "Close", colorBlack, styleHidden );
 

Similar threads