Since the last cross.lua will show how many candles have passed since the last Short MA / Long MA cross.
Until next cross.lua will try to predict the number of candles until the next cross.
cross.
Obviously, this bit have to be improved.
Last Next Ratio.lua is Ratio of two.
U can download CMA.bin here
viewtopic.php?f=17&t=24476