Based on the above I would like to "anticipate" where an oscillator, moving average or other indicator will change direction - from a slope down to slope up or vice versa. If it will change direction I would like a price marker or alert put on the chart.
With this information I can place a stop limit order at the new bar open price with a reasonable degree of confidence that it will be filled when the bar closes. I trade off small size range bars and need all the advance warning I can get.
Taking an MA as an example I would like to "insert" the next bar open price (both above and below) into the final element of the dataseries and calculate whether the MA will change direction up or down. These two prices would replace the normal current trading price.
What would be the best way of doing this? I'm not the greatest coder in C and any help with the dataseries manipulation bit (with some code if possible) would be really appreciated.
Thanks.

Comment