emoji
Syntax (one line)
Parameters
Return Value
Example
//@version=1
init = () => {
indicator({ onMainPanel: true, format: 'inherit' });
};
onTick = () => {
if (index % 60 === 0) { // draw occasionally to keep charts clean
// 1) Style (EmojiLineToolOverrides)
const style = {
angle: 15, // slight tilt
size: 26 // larger size
};
// 2) Place the emoji at this bar’s close
emoji(time(0), closeC(0), "🚀", style);
}
};Tips
Warning
Good Practice
Last updated