Hi is there a code to calculate when the marked is “flat”? Eks: When the marked is not really moving but still crossing MA and other indikators causing false bye/sell orders to open. What I’m looking for is something that can calculate the X amount of bars and showing when there is a signifiant move up or down. I just need the basic and i think i can do rest. Thanks again for all your help.