TJs LEVELS (REDUCED)

#1
The TJ's levels in Advanced Get are, a certain % of prev. day's range above & below prev. day's close. The percentages are, 7.3%, 30.9%, 54.5%, 69.1% & 92.7%, and, these are 'Reduced' levels. There are Normal and Extended also. I am giving Metastock formula for plotting the daily levels on an intraday chart. I am also attaching screenshot of these levels plotted on Nifty Futures.

{CPATJsLevelsReduced}
PH:=ValueWhen(1,
(DayOfMonth() <> Ref(DayOfMonth() ,1)),
HighestSince(1,DayOfMonth() <> Ref(DayOfMonth() ,-1) ,H )) ;

PL:=ValueWhen(1,
(DayOfMonth() <> Ref(DayOfMonth() ,1)),
LowestSince(1,DayOfMonth() <> Ref(DayOfMonth() ,-1) ,L )) ;

PC:=ValueWhen(1,
(DayOfMonth() <> Ref(DayOfMonth() ,1)), C);

PR:= PH - PL;

RD:= PC + 0.927*PR;
RC:= PC + 0.691*PR;
RB:= PC + 0.545*PR;
RA:= PC + 0.309*PR;

NU:= PC + 0.073*PR;
ND:= PC - 0.073*PR;

SA:= PC - 0.309*PR;
SB:= PC - 0.545*PR;
SC:= PC - 0.691*PR;
SD:= PC - 0.927*PR;

RD;
RC;
RB;
RA;

NU;
ND;

SA;
SB;
SC;
SD;
{Code ends here}
 
Last edited:
#3
Nice job trader. Can i request you to consider the following
1. Chang ethe color of the line to BLUE for NU and up
2. Change color for ND to red and below.

This way it provides more clear view of the trend direction

sri
 
#5
Sorry, I havent seen this! I had given the reduced levels as this was showing up as Automatic.
In the above MetaStock formula, change the coefficients in the same order as given below for Normal, Extended and Reduced as follows :

NORMAL
1.500
1.118
0.882
0.522
0.118
-0.118
-0.500
-0.882
-1.118
-1.500

EXTENDED
2.427
1.809
1.427
0.809
0.191
-0.191
-0.809
-1.427
-1.809
-2.427

REDUCED
0.927
0.691
0.545
0.309
0.073
-0.073
-0.309
-0.545
-0.691
-0.927

srichakra:
You need to select the lines manually and change the colors. All the lines above the previous day's Close, start up from NU, RA, ... , and, below start down from ND, SA, ...
 
#6
dear sir,
can nu greater than ra?
from formula it seems that nu value is greater than ra and vice versa for nd and sa
tj level are shown in orderaly way up and down for resistance and support
in advance get where as here the order seems not as per it.
 
#7
The TJ's levels in Advanced Get are, a certain % of prev. day's range above & below prev. day's close. The percentages are, 7.3%, 30.9%, 54.5%, 69.1% & 92.7%, and, these are 'Reduced' levels. There are Normal and Extended also. I am giving Metastock formula for plotting the daily levels on an intraday chart. I am also attaching screenshot of these levels plotted on Nifty Futures.

{CPATJsLevelsReduced}
PH:=ValueWhen(1,
(DayOfMonth() <> Ref(DayOfMonth() ,1)),
HighestSince(1,DayOfMonth() <> Ref(DayOfMonth() ,-1) ,H )) ;

PL:=ValueWhen(1,
(DayOfMonth() <> Ref(DayOfMonth() ,1)),
LowestSince(1,DayOfMonth() <> Ref(DayOfMonth() ,-1) ,L )) ;

PC:=ValueWhen(1,
(DayOfMonth() <> Ref(DayOfMonth() ,1)), C);

PR:= PH - PL;

RD:= PC + 0.927*PR;
RC:= PC + 0.691*PR;
RB:= PC + 0.545*PR;
RA:= PC + 0.309*PR;

NU:= PC + 0.073*PR;
ND:= PC - 0.073*PR;

SA:= PC - 0.309*PR;
SB:= PC - 0.545*PR;
SC:= PC - 0.691*PR;
SD:= PC - 0.927*PR;

RD;
RC;
RB;
RA;

NU;
ND;

SA;
SB;
SC;
SD;
{Code ends here}
hi,

Is there any Xcell format for the above formulae. If it is then can you please be kind enough to upload the same. Awaiting eagerly....thanx & regards....vidhya
 
#10
can u send details to s r i n i s e th u r a m a n @ gmail d o t com
If any one is interested to learn how to use Advanced GET please contact me.

I have been using it for the last 10 years. I am probably the oldest user in India.

regards,

Abhinay
 

Similar threads