Permission denied!

Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

NRTR WATR for Amibroker (AFL)

Rating:
3 / 5 (Votes 2)
Tags:
amibroker, stop loss

NRTR WATR indicator.

Screenshots

Similar Indicators / Formulas

JMA Stoploss
Submitted by kuzukapama over 13 years ago
DODA BAND BUY SELL
Submitted by saas over 11 years ago
TSL & HL & New
Submitted by morgen over 12 years ago
ATR Exit
Submitted by sweetncu almost 14 years ago
Stop Loss Indicator
Submitted by nabcha over 14 years ago
ABKP Benchmark Bar
Submitted by amitabh over 14 years ago

Indicator / Formula

Copy & Paste Friendly
SetBarsRequired(100000,0);
GraphXSpace = 3;

// Параметры 
k = Param("K", 0.01, 0, 0.2, 0.001);

Trend[0] = 1;  // тренд вверх
Revers[0] = C[0] - C[0]*k;
PE[0] = C[0];

for(i = 1; i < BarCount; i++)
{
	if(Trend[i-1] == 1)					//Up Trend
	{
		if(C[i] > PE[i-1])				//Новый High 
		{
			Trend[i] = 1;
			PE[i] = C[i];
			Revers[i] = C[i] - C[i]*k;
		}
		else
		{
			if(C[i] < Revers[i-1])		//Реверс 
			{
				Trend[i] = -1;
				PE[i] = C[i];
				Revers[i] = C[i] + C[i]*k;
			}
			else							//Нет нового high и реверса
			{
				Trend[i] = 1;
				PE[i] = PE[i-1];
				Revers[i] = Revers[i-1];
			}
		}
	}
//======================================
	else									//Down Trend
	{
		if(C[i] < PE[i-1])				//Новый Low
		{
			Trend[i] = -1;
			PE[i] = C[i];
			Revers[i] = C[i] + C[i]*k;
		}
		else
		{
			if(C[i] > Revers[i-1])		//Реверс 
			{
				Trend[i] = 1;
				PE[i] = C[i];
				Revers[i] = C[i] - C[i]*k;
			}
			else							//Нет нового Low и реверса
			{
				Trend[i] = -1;
				PE[i] = PE[i-1];
				Revers[i] = Revers[i-1];
			}
		}
	}
}

Plot(Revers, "NRTR WATR", IIf(Trend == 1, 27, 4), 4);

3 comments

1. Borrelly777

Made by russian trader)

2. kv_maligi

Hi Borrelyy777,

Can you explain on how to trade on this ?

It seems very interesting to follow as this gives keeps you in profit in long run

THanks & waiting for your feedback

KASI

3. rohitb

SetBarsRequired(100000,0);
GraphXSpace = 3;

// Options
k = Param(“K”, 0.01, 0, 0.2, 0.001);

Trend0 = 1; // uptrend
Revers0 = C0 – C0*k;
PE0 = C0;

for(i = 1; i < BarCount; i++)
{
if(Trend[i-1] == 1) //Up Trend
{
if(C[i] > PE[i-1]) //new High
{
Trend[i] = 1;
PE[i] = C[i];
Revers[i] = C[i] – C[i]k;
}
else
{
if(C[i] < Revers[i-1]) //reverse
{
Trend[i] = -1;
PE[i] = C[i];
Revers[i] = C[i] + C[i]
k;
}
else //no new high and then reverse
{
Trend[i] = 1;
PE[i] = PE[i-1];
Revers[i] = Revers[i-1];
}
}
}
//==========
else //Down Trend
{
if(C[i] < PE[i-1]) //new Low
{
Trend[i] = -1;
PE[i] = C[i];
Revers[i] = C[i] + C[i]k;
}
else
{
if(C[i] > Revers[i-1]) //reverse
{
Trend[i] = 1;
PE[i] = C[i];
Revers[i] = C[i] – C[i]
k;
}
else //No new Low and Reverse
{
Trend[i] = -1;
PE[i] = PE[i-1];
Revers[i] = Revers[i-1];
}
}
}
}

Plot(Revers, “NRTR WATR”, IIf(Trend == 1, 27, 4), 4);

English translation done

google is friend

Leave Comment

Please login here to leave a comment.

Back