NRTR%

Modified on 2010/09/13 15:17 by Eugene — Categorized as: Community Indicators

NRTR%: Indicator Documentation

Syntax

DataSeries NRTR_Pct( Bars bars, double percent );

Parameter Description

bars A Bars object
percent Reversal percentage

Description

The NRTR% indicator was created by Russian trader Konstantin Kopyrkin. It implements the trailing reverse technique based on price percentage (here: closing price). Crossovers and crossunders of the NRTR line can be used to trigger trend trades.

Original article (in Russian)

Example

This example illustrates how to plot the 10-percent NRTR%:


using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using WealthLab;
using WealthLab.Indicators;
using Community.Indicators;

namespace WealthLab.Strategies { public class NRTR_Demo : WealthScript { private StrategyParameter paramMult ;

public NRTR_Demo() { paramMult = CreateParameter("% Reversal", 10, 1, 10, 1); } protected override void Execute() { double Mult = paramMult.Value; NRTR_Percent nrtr = NRTR_Percent.Series( Bars, Mult ); PlotSeries( PricePane, nrtr, Color.Blue, LineStyle.Solid, 2 ); } } }