KTREND indicator

Viewing 6 posts - 1 through 6 (of 6 total)
  • #153918

    Please would you be able to convert the below code to prorealcode.

    AMIBROKER code but looks like logic can be deduced and some details can be found in

    http://karthikmarar.blogspot.com/2015/05/the-k-trend-indicator.html

     

    #153938

    Please add pictures and description. Please next time, respect the posting rules on this page when requesting for a code conversion: Ask for a free code conversion

    #153964

    My sincere apologies, I should have gone through the checklist.

    I have added a screen shot also some sort of description as much as from the authors page is below. Not sure, how much helpful it is. I shall try and find more information from somewhere else.

    Thank you again.

    K -TREND description:

    It is nothing but the True Strength Indicator (TSI) with some additional Gaussian filters.  TSI indicator and further experimented to make it  adaptive by using Adaptive Moving Averages instead of conventional Exponential Moving Averages.

    For the K-Trend, I used the “Ravi” indicator and the “Linear Regression Slope” to determine various conditions like entry and exit.  Also these were used to identify the intermediate Tops and Bottoms and the possibility of reversal. Frankly  the Identifications of intermediate Tops and Bottoms were quite good while other signals were not very good.  There is also an option to select the smoothing filter AMA or EMA.  Also some signals like Zero line cross, Zero line bounce and zero line loop were added.

    #153973

    1)I also have added on some information on RAVI here. RAVI is a short form for Range Action Verification Index.

    RAVI indicator is calculated using moving averages of different lengths. The first one is a short moving average with a lookback period of 7 bars. The second one is a long moving average with a lookback period of 65 bars. The indicator returns a percentage value. Above a certain threshold, the market is considered trending.
    Interpretation:
    The market is considered trending if the RAVI value is above 3%. Otherwise, the market is consolidating.

    #153975

    General Description of the indicator.

    It is based on the True Strength Index (TSI) indicator and has two versions. The first version uses exponential moving averages as is called for in the original TSI formula and a modified version, which uses adaptive moving averages instead of simple exponential moving averages. The two versions can be selected via the parameters.

    The various conditions, like entry and exit are determined using the ‘Ravi’ indicator and the ‘Linear Regression Slope’.

    Some Information about what is displayed by the indicator:

    • The histogram is the main K-Trend indicator that is based on the TSI indicator. The different colors on the histogram are based on where its value falls within the range. For example, when the histogram value is below -80 it is dark red. The ribbon at the bottom provides the same information.
    • The signal line is a 6 day exponential moving average of the K-Trend. When the signal greater then the K-Trend it is orange otherwise it is turquoise in color.
    • Small red or lime colored circles indicate tops and dips.

    To find out what the various numbers mean and under what conditions they appear see the code.

    #153981

    Added to my code translation queue, please be patient.

    1 user thanked author for this post.
Viewing 6 posts - 1 through 6 (of 6 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login