Thanks for your concern @TheWizard The trend indi is a proprietary indicator Im trying to resemble it with one of the indicators here.. cause its just an ma I believe.. If youve read my post in the begining ive explained why I cant share the originals... & i hope you respect that too.....
As soon as i find something similar i will share....
I have this material for it..... some code from TOS
The Adaptive MACD with OBOS and Heiken Ashi Indicators
The MACD is often described as a momentum indicator, an easily understood misinterpretation. The histogram actually indicates acceleration which is a change to momentum, but when momentum is constant the MACD histogram is featureless while the Two Lines indicate the direction and velocity of the current trend. (Momentum should include volume).
The Adaptive MACD uses the Adaptive Moving Average for the slow average and an ordinary EMA for the Fast and Smoothing Averages; the normal MACD uses EMA for all 3 averages. This study is indicated in percent of the slow average price, so the value is the price difference between the averages. Because the AMA accelerates in strong trends this Histogram amplifies trend changes more than simple acceleration in the direction of the current trend.
The plots include a variation of the OBOS (Over Bought/Over Sold) indicator. This shows the price range (lows and highs) relative to the slow average of the MACD. Normally we have this one hidden from view, but you may find it useful for entry/exit rules on channeling cyclic stocks. I generally scale off the slow average, a bounce off the fast average is a bounce off the MACD Signal line, a bounce off the slow average is a bounce off the Zero line.
The main information is on the 2-line MACD with Histogram. The MACD is the difference between 2 Exponential Moving Averages (EMAs), that difference is smoothed with another EMA. The Signal line is the difference, the Smoothed line is the difference passed through an EMA. The histogram is the difference between those 2 lines.
I have added Heiken-Ashi trend indicators. They show the first bull and first bear candles and highlight doji candles which suggest possible trend changes... I show these next to the Signal line.
There are several plots within this script, each of which provides useful information:
OBOS - Plot of the Close relative to the selected (slow or fast) average of the MACD - we usually have these turned off, but in a channeling cyclic it may be useful.
Cloud showing the Highs and Lows around the OBOS line, scaled to the MACD.
MSig - The Signal Line of the MACD, unfiltered difference between the AMA and EMA studies. This is colored in relation of the price and the fast (EMA) average.
MAvg - the Smoothed Line is the Signal smoothed by another EMA. This is colored according to the state of the PSAR study.
MACD - The histogram with 4 colors to indicate bar-to-bar price action.
MZero - The zero line with 3 colors to indicate the price action relative to the slow (AMA) average.
First Bull Candle
First Bear Candle
There are 4 inputs to this study you can set in addition to changing the default colors and line styles:
fastLength - Number of bars in the Fast AMA Average
slowLength - Number of bars in the Slow AMA Average
effRatioLength - Time for AMA Fast/Slow transition
mFastExp - Number of bars in the EMA (Fast Line)
mSmooth - Smoothing for the Signal Line
OBOSBase - Slow or Fast Average for scaling of the OBOS Signals
ATRLength - Length for an Exponential Average of the True Range
ATRScale - Multiplier for the ATR for trend color indications on the study lines
SARAccFactor - Acceleration Factor (Multiplier) for the Parabolic Stop and Reverse (PSAR) used to color the smoothed line
SARAccLimit - Acceleration Limit for the PSAR used to color the smoothed line
CrossSoundType - Sound selection for the Alert signal on acceleration changes intra-candle
CloseSoundType - Sound selection for the Alert signal on acceleration changes on closing of candles
SARSoundType - Sound sleection for the Alert signal on SAR state changes
This MACD indicates potential trend changes more strongly than simple acceleration within the trend. This is because the AMA leans toward a fast average in trends and a slow average in consolidation.
When the Signal line is rising (or falling) this may signal the start of a new trend. When the line is flat indicates an established trend. Its motion and separation from the Smoothed line indicate the strength of the trend change.This line is colored based on the price being above or below the Fast average (the EMA) by a multiple of an ATR.
When the Smoothed line is rising (or falling) it may act as support/resistance for the Signal line, indicating a new trend. When this line is flat it indicates an established trend. This line is colored based on the state of a Parabolic SAR study.
The histogram, being the difference between the Signal and Smoothed lines, indicates the acceleration of price within the current trend of the underlying; with the AMA emphasizing trend changes. This study is colored based on its own tick movement.
The Zero line is colored based on the price being above or below the Slow average (the AMA) by a multiple of an ATR.
You can also use different averages for the MACD studies to produce results for different time scales. We use the defaults for most of our applications of this study. We use Day, 2 Hour, and 15 Minute scales most often, depending on the volatility of the market at any given time. You can tune your AMA by just adding an AMA study to the upper chart and tweaking the parameters to get something you like for what you are trading.
I have added Overbought/Oversold (OBOS) indicators to this study. In channels they can help identify support and resistance while in trends they can help identify points to re-enter or add to a position. For example 1 May 2011 was a sharp, strong reversal day where Day and 2-Hour candles indicate no low-risk entry points, the 15-minute chart indicates several bounces of the OBOS from the fast average, indicating relatively low-risk entries on that time scale; if the trend continues then you can move your exit conditions to a longer time scale - if your rules permit exit condition adjustments. A cloud on the OBOS indicator shows the high and low scaled to the MACD.
I have added the Heiken-Ashi indicators on this study because while I find the candles themselves relatively useless, they do highlight trends nicely if a couple candles late for great entry...
Alerts are included to indicate a SAR state change as well as acceleration changes on the OBOS study.
# (C) StarQuest Systems 2011
# MACD using Adaptive Moving Average for Slow Average
# Plots 2 Lines Plus Histogram
# Colors on Histogram for Above/Below 0 and Up/Down Tick
# Colors on Zero for Price Above/Below Fast Average
# Plots Overbought/Oversold(OBOS) for close/high/low
# Plots Heiken-Ashi indicators for Trend Indicators
#hint:<b>StarQuest Adaptive MACD</b>\nPlots a MACD lines plus Histogram using an Exp Average for the fast average and an Adaptive Moving Average for the slow average, smoothed by and Exp Average. This Study also includes Overbought/Oversold Indicator (hi/lo/close scaled to the selected average), as well as Heiken-Ashi candle markers showing an arrow at the first bullish or bearish candle and a dot on doji candles. The Signal Line is colored based on the price being above or below the Fast average by an ATR multiple. The Smoothed line is colored based on a Parabolic SAR state. The Histogram is colored based on its own tick change. The Zero line is colored based on the price being above or below the Slow average by an ATR multiple.
#hint fastLength: The AMA Fast Average Length. (Default is <b>2</b>)
#hint slowLength: The AMA Slow Average Length. (Default is <b>30</b>)
#hint effRatioLength: The AMA Effective Ratio Length. (Default is <b>10</b>)
#hint MFastExp: The Fast EMA Length. (Default is <b>5</b>)
#hint MSmooth: The Histogram Smoothing Length. (Default is <b>20</b>)
#hint OBOSBase: Select the Slow or Fast Average for the OBOS Signal Lines. (Default is <b>Slow</b>)
#hint ATRLength: ATR Length for Momentum Change Alerts. (Default is <b>15</b>)
#hint ATRScale: ATR Scaling Factor for Momentum Change Alerts. (Default is <b>0.10</b>)
#hint SARAccFactor: SAR acceleration factor (Default is <b>0.02</b>)
#hint SARAccLimit: SAR acceleration limit (Default is <b>0.2</b>)
#hint CrossSoundType: Sound for alert when Momentum reverses or accelerates. (Default is <b>Ring</b>)
#hint CloseSoundType: Select the Slow or Fast Average for the OBOS Signal Lines. (Default is <b>Ding</b>)
#hint SarSoundType: Sound for alert when SAR reverses. (Default is <b>Ring</b>)