Some work done on advanced trader, need to fix the trend length
brokenness