MarketScript > Comments |
Comments can be written within formula. Everything after two slash characters "//" to the end of the line is treated as a comment.
// this formula lags "/GCL" data for one calendar day
lag( "/GCL" * 2.32, 1 calendar )
// comment examples
wagg( // weekly aggregation function
"/GCL",
startday:mon // start of weekly aggregation at monday
);
[#2] // #2 attribute specifies output precision of two decimal places