Calculation should be done at the first tick of the bar, and calculate l1norm