What I am looking for is a Hurst Channel Indicator to be made in TOS.
I am looking for an indicator that will have 3 simple moving averages calculated based on the closing price of a stock to be displayed on the chart. These simple moving averages are displaced into the past by half the moving average number selected. There is the first moving average which is simply a moving average displaced into the past by half its length; then the other 2 moving averages: one is displaced vertically upwards and one is displaced vertically downwards by the same distance, these other two moving averages form a channel around the stock price and these other two moving averages use the first moving average as the centerline of the channel.
the trick is not doing a moving average with bands around it like Bollinger bands or Keltner channels because these don't enforce a constant vertical channel width
then the real trick is getting dotted lines to start where the simple moving averages left off (keep in mind these moving averages end before the most recent bar because they are displaced into the past) and project a potential channel continuation with same slope and same curvature projected forward to the present day and beyond into the future by half the number of bars selected for the moving average. The distance between the moving average in the middle the upper and lower bounds of the channel is not only must it be constant vertical width, but the channels must contain most of the price data, if the vertical width has to be changed significantly to incorporate an outlying price bar then don't widen the channel just for a few price points on the chart. then the last final touch is allow for adjustment of a smoothing factor of the moving average projections if desired. I have made a few stabs at this and still working on it. Any help would be greatly appreciated! And obviously will benefit anyone else who wants to tryout Hurst Channels in TOS!!
I am looking for an indicator that will have 3 simple moving averages calculated based on the closing price of a stock to be displayed on the chart. These simple moving averages are displaced into the past by half the moving average number selected. There is the first moving average which is simply a moving average displaced into the past by half its length; then the other 2 moving averages: one is displaced vertically upwards and one is displaced vertically downwards by the same distance, these other two moving averages form a channel around the stock price and these other two moving averages use the first moving average as the centerline of the channel.
the trick is not doing a moving average with bands around it like Bollinger bands or Keltner channels because these don't enforce a constant vertical channel width
then the real trick is getting dotted lines to start where the simple moving averages left off (keep in mind these moving averages end before the most recent bar because they are displaced into the past) and project a potential channel continuation with same slope and same curvature projected forward to the present day and beyond into the future by half the number of bars selected for the moving average. The distance between the moving average in the middle the upper and lower bounds of the channel is not only must it be constant vertical width, but the channels must contain most of the price data, if the vertical width has to be changed significantly to incorporate an outlying price bar then don't widen the channel just for a few price points on the chart. then the last final touch is allow for adjustment of a smoothing factor of the moving average projections if desired. I have made a few stabs at this and still working on it. Any help would be greatly appreciated! And obviously will benefit anyone else who wants to tryout Hurst Channels in TOS!!