hi wongloktim,
try this now..
_SECTION_BEGIN( "Z Trailing Stop");
SetChartOptions( 0,chartShowArrows|chartShowDates );
_N(Title = FullName()+StrFormat(" {{NAME}} - {{INTERVAL}} {{DATE}}
Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C,
SelectedValue( ROC( C, 1 ) ) ));
Plot( C,"Pri
It Return nothing
SECTION_BEGIN("Z Trailing Stop");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = FullName()+StrFormat(" {{NAME}} - {{INTERVAL}} {{DATE}}
Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C,
SelectedValue( ROC( C, 1 ) ) ));
Plot( C,"Price",colorBlack