I'd like to program an indicator which will tell me the slope of the 50MA on a 1600 tick chart. Here's the catch. I don't want to actually have a 1600 tick chart open. I really just want to know what the slope would be, IF I did have that chart open.
Basically I want to know is if it's possible to program the timeframe into the indicator regardless of what chart you're viewing.
I've been thinking through this, and a few thoughts occurred to me. I'm assuming I would use OnMarketData() and loop through each tick and set the tick data into custom datasets. The calculations for SlopeMA are already available.
Before I dive in, is anyone already doing something similar? I don't want to struggle through something that's already been done. I did search, but didn't see this anywhere.
I was just thinking that it might be useful to see an upward slope on 5 different tick charts without actually having to view those charts. Would be a nice confirmation of trend as I trade.