Trading NR7 setup

Status
Not open for further replies.

rohangawale

Well-Known Member
BPCL rocked today :D
Hey Rohan , you use any AFL to scan for NR7 days ?
i dont use amibroker.
but i think stock.murtaza has afl to scan NR7 stock which is in this thread only. if u look on prev pages u should get it. if i get it i will post the link for you in which afl is there.
 

Mangafreakz

Well-Known Member
Thanks Rohan bro , I will certainly check it out and again repost it so many can view this useful file. In the meantime if anyone gets this before me , please do the job.
 

asnavale

Well-Known Member
BPCL rocked today :D
Hey Rohan , you use any AFL to scan for NR7 days ?
Hi,

Here is the AFL for plotting NR7. The AFL puts a '7' under the NR7 bars. When the Selector line (the vertical line in the chart window) is on the NR7 bar a highlight appears in the chart title with a label *NR7* in Green color. When the line is on any other bar the highlight does not appear. I have attached a screen shot so that you can see this.

The AFL is as follows:

********************************************

_SECTION_BEGIN("NR7");

R = H - L;
NR7 = False;

for(i = 7; i < BarCount; i++)
{ if( R < R[i - 1] AND R < R[i -2] AND R < R[i - 3] AND R < R[i - 4] AND R < R[i - 5] AND R < R[i - 6]) NR7 = True;}
Marker = shapeDigit7 * NR7;
MarkerColor = colorYellow;
MarkerDist = L * 0.995;

_N(Title = StrFormat("{{NAME}}, {{DATE}} ({{INTERVAL}}): {{VALUES}}") + EncodeColor(colorBrightGreen) + WriteIf(NR7, "*NR7*", ""));

PlotOHLC(O, H, L, C, "Close", colorLightGrey, styleBar);
PlotShapes(Marker, MarkerColor, 0, MarkerDist);

_SECTION_END();


************************************************

The screen shot is here:



Regards

-Anant
 
Last edited:
Hi,

Here is the AFL for plotting NR7. The AFL puts a '7' under the NR7 bars. When the Selector line (the vertical line in the chart window) is on the NR7 bar a highlight appears in the chart title with a label *NR7* in Green color. When the line is on any other bar the highlight does not appear. I have attached a screen shot so that you can see this.

The AFL is as follows:

********************************************

_SECTION_BEGIN("NR7");

R = H - L;
NR7 = False;

for(i = 7; i < BarCount; i++)
{ if( R < R[i - 1] AND R < R[i -2] AND R < R[i - 3] AND R < R[i - 4] AND R < R[i - 5] AND R < R[i - 6]) NR7 = True;}
Marker = shapeDigit7 * NR7;
MarkerColor = colorYellow;
MarkerDist = L * 0.995;

_N(Title = StrFormat("{{NAME}}, {{DATE}} ({{INTERVAL}}: {{VALUES}}") + EncodeColor(colorBrightGreen) + WriteIf(NR7, "*NR7*", ""));

PlotOHLC(O, H, L, C, "Close", colorLightGrey, styleBar);
PlotShapes(Marker, MarkerColor, 0, MarkerDist);

_SECTION_END();


************************************************

The screen shot is here:



Regards

-Anant


Quite cool .. !!
 

rohangawale

Well-Known Member
NR7 stock triggered on 11th Sept:

Code:
STOCK		HIGH		LOW
CIPLA		268.45		263.35
HCL TECH	315		309.1
HDFC LTD	2540		2502.6
SUN PHARMACE	1218.95		1200
TCS		569		555.5
TATA POWER	1291.75		1265.65
 

MurAtt

Well-Known Member
i dont use amibroker.
but i think stock.murtaza has afl to scan NR7 stock which is in this thread only. if u look on prev pages u should get it. if i get it i will post the link for you in which afl is there.

Since u've already attached the AFL I'm not appending it again.
Also, no exploration in available with the AFL I have i.e. we have to visually check the NR7 existence but a list of stocks (like how you have) is not available.

:)
 

rohangawale

Well-Known Member
Since u've already attached the AFL I'm not appending it again.
Also, no exploration in available with the AFL I have i.e. we have to visually check the NR7 existence but a list of stocks (like how you have) is not available.

:)
For all of you i will try to post the NR7 stocks as soon as possible.
may be by 5-6 pm i will try to post prev day NR7 close and Fresh NR7 triggers, so that it can be benefitial for somebody.
 

asnavale

Well-Known Member
Since u've already attached the AFL I'm not appending it again.
Also, no exploration in available with the AFL I have i.e. we have to visually check the NR7 existence but a list of stocks (like how you have) is not available.

:)
Hello Murtaza Bhai,

I have modified the AFL which I have posted above so that it can be used for charting as well as exploration. I have already attached the chart above. Here I am attaching the screen shot of the exploration results.

Hope this AFL is useful to all those work with AmiBroker.

******************************************************

_SECTION_BEGIN("NR7");

R = H - L;
NR7 = False;

for(i = 7; i < BarCount; i++)
{ if( R < R[i - 1] AND R < R[i -2] AND R < R[i - 3] AND R < R[i - 4] AND R < R[i - 5] AND R < R[i - 6]) NR7 = True;}

if(Status("action") == actionIndicator)
{
Marker = shapeDigit7 * NR7;
MarkerColor = colorYellow;
MarkerDist = L * 0.995;

_N(Title = StrFormat("{{NAME}}, {{DATE}} ({{INTERVAL}}): {{VALUES}}") + EncodeColor(colorBrightGreen) + WriteIf(NR7, "*NR7*", ""));

PlotOHLC(O, H, L, C, "Close", colorLightGrey, styleBar);
PlotShapes(Marker, MarkerColor, 0, MarkerDist);
}

if(Status("action") == actionExplore)
{
Filter = NR7;
SetOption("NoDefaultColumns", True)
AddTextColumn(Name(), "Symbol");
AddColumn(DateTime(), "NR7 Date", formatDateTime);
AddColumn(H, "High Price", 6.2);
AddColumn(L, "Low Price", 6.2);
AddColumn(R, "Range", 6.2);
}

_SECTION_END();


****************************************************

The output from this AFL Exploration looks like this:



Regards

-Anant
 
HI,

Friends i am new to this theory and i use amibroker can any one brief me in nutshell how this strategy works out N& range dose not give any idea alone on chart who to use this strategy in intraday and which time frame will be best .
Mr.Ali can put some light on it please.

Regards,
Mama
 
Status
Not open for further replies.

Similar threads