ADXR free

by qualitiedx2 in category Trend at 16/05/2012
Description

     ADXR stands for Average Directional Movement Index Rating. ADXR is a component of the Directional Movement System developed by Welles Wilder. This system attempts to measure the strength of a price movement in positive and negative directions, as well as the overall strength of the trend. The Average Directional Movement Rating quantifies the change of momentum in the ADX (Average Directional Index). It is calculated by adding two values of ADX (the current value and a value n periods back) and then dividing by two:

ADXR = (ADX + ADX N periods ago) / 2

 

 

Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.
Formula / Source Code
Language: C#
Trading Platform: cAlgocTrader
using System;
using cAlgo.API;
using cAlgo.API.Indicators;

namespace cAlgo.Indicators
{
    [Indicator(IsOverlay = false, AccessRights = AccessRights.None)]
    public class ADXR : Indicator
    {
        [Parameter]
        public DataSeries Source { get; set; }
        
        [Parameter(DefaultValue = 14)]
        public int interval { get; set; }

        [Output("ADXR", Color= Colors.Turquoise)]
        public IndicatorDataSeries adxr { get; set; }
		
        [Output("DiMinus", Color= Colors.Red)]
        public IndicatorDataSeries diminus { get; set; }
		
		[Output("DiPlus", Color= Colors.Blue)]
        public IndicatorDataSeries diplus { get; set; }

		private DirectionalMovementSystem adx;
        protected override void Initialize()
        {
            adx = Indicators.DirectionalMovementSystem(14);
        }

        public override void Calculate(int index)
        {
			adxr[index] = (adx.ADX[index] + adx.ADX[index-interval])/2;
			diminus[index] = adx.DIMinus[index];
			diplus[index] = adx.DIPlus[index];
        }
    }
}
Comments

bisedo2527 - September 19, 2022 @ 15:31

with.. no backtesting, no description, no screenshots, no explanation and no profit/loss? I don't think anyone will use it.

Try Fluxus Exploit it will work proper for every roblox games.

5