0% found this document useful (0 votes)
238 views

Orb

1. The document describes an intraday open range breakout trading system. 2. It identifies the highest and lowest price reached since the open, called the ORBH and ORBL. 3. It recommends entering long if price crosses above ORBH and entering short if price crosses below ORBL, with stops at the ORBL and ORBH respectively.

Uploaded by

Rajen Vyas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
238 views

Orb

1. The document describes an intraday open range breakout trading system. 2. It identifies the highest and lowest price reached since the open, called the ORBH and ORBL. 3. It recommends entering long if price crosses above ORBH and entering short if price crosses below ORBL, with stops at the ORBL and ORBH respectively.

Uploaded by

Rajen Vyas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

_SECTION_BEGIN("Price");

SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close
%g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle |
ParamStyle("Style") | GetPriceStyle() );
_SECTION_END();

/* Intraday Open Range Breakout Exploration AFL by GMS

What's the open range breakout system ?

1. it identifies the highest price and lowest price reached since open upto the
Start Time,
2. Enter long when Price cross above ORBH (Open Range Breakout High) with a stop
loss at ORBL(open Range Breakout Low), once in trade adjust SL as per your risk
tollarence level.
3. Enter Short when Price cross below ORBL (open Range Breakout Low) with a stop
loss at ORBH((Open Range Breakout High),once in trade adjust SL as per your risk
tollarence level.

What is in this AFL?


1) Draws regular Candle chart
2) Set ORB Time as per param
3) Marks "ORB High" Green dotted line, "ORB Low" Red dottend line and additional
Black dotted line which is middle of ORBH & ORBL on chart
4) Possible to explore, Exploration results are sorted alphabatically and shows
following columns
Column 1 = Script
Column 2 = Date
Column 3 = ORBH - Open Range Breakout High value, Green means already triggered.
Column 4 = ORBL - Open Range Breakout Low value, Red Mean already triggered.
Column 5 = ORB High Breakout gain, that is maximum gain if entered long as per ORBH
Column 6 = ORB Low Breakout gain, that is maiimum gain if short as per ORBL

How to trade?

Once ORBH & ORBL are values are set as per param time, place 2 orders
1) BUY stop loss order if price crosses above ORBH price
2) SELL stop loss order if price crosses below ORBL price.

Please strictly trade with stop loss, ideally for long stop loss = ORBL & for short
stop loss = ORBH. Please feel free to adjust stop loss based on your risk
tollarence level.

*/

_SECTION_BEGIN("Intraday ORB Exploration");

SetChartOptions( 0, chartShowArrows | chartShowDates );


//("ORB");

BT = ParamTime ("Open Breakout Time", "10:15");


afterbreakout0 = Cross(TimeNum(),BT);
afterbreakout1 = TimeNum()>=BT;
NewDay = Day()!= Ref(Day(), -1);
highestoftheday = HighestSince(newday,H,1);
Lowestoftheday =LowestSince(newday,L,1);
ORBH = ValueWhen(afterbreakout0,highestoftheday,1);
ORBL = ValueWhen(afterbreakout0,lowestoftheday,1);
ORBM = (ORBH + ORBL)/2;
Plot(ORBH,"",colorGreen,styleDots);
Plot(ORBL,"",colorRed,styleDots);
Plot(ORBM, "", colorBlack, styleDots);
ORBH1 = ORBH+(ORBH-ORBL)/2;
ORBH2 = (ORBH+((ORBH-ORBL)/2)*2);
ORBL1 = ORBL-(ORBH-ORBL)/2;
ORBL2 = (ORBL-((ORBH-ORBL)/2)*2);

CBuy = C >ORBH;
CSell= C <ORBL;
CBuy1 = Ref(CBuy,-1);
CSell1 = Ref(CSell,-1);
Buy = CBuy;
Sell = CSell;
Buy = ExRem(Buy,Sell);
Sell= ExRem(Sell,Buy);
Bp = ValueWhen(Buy,C,1);
Sp = ValueWhen(Sell,C,1);

PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorGreen, 0, L, Offset=-40);


PlotShapes(IIf(Buy, shapeSquare, shapeNone),colorLime, 0,L, Offset=-50);

PlotShapes(IIf(Buy, shapeUpArrow, shapeNone),colorWhite, 0,L, Offset=-45);


PlotShapes(IIf(Sell, shapeSquare, shapeNone),colorRed, 0, H, Offset=40);
PlotShapes(IIf(Sell, shapeSquare, shapeNone),colorOrange, 0,H, Offset=50);

PlotShapes(IIf(Sell, shapeDownArrow, shapeNone),colorWhite, 0,H, Offset=-45);

//Plot ( C, "Close", ParamColor("Color", colorBlack ), styleNoTitle |


ParamStyle("Style") | GetPriceStyle() );
ORBHG=H-ORBH;
ORBLG=ORBl-L;
Filter = ORBH OR ORBL;
AddColumn( ORBH, "C>ORBH", 1.2, colorDefault, IIf(Close>ORBH, colorGreen,
IIf(Close>ORBM, colorSeaGreen, colorDefault)));
AddColumn( ORBL, "C<ORBL", 1.2, colorDefault, IIf(Close<ORBL, colorRed,
IIf(Close<ORBM, colorOrange, colorDefault)));
AddColumn( ORBHG, "ORB High Breakout Gain", 1.2, colorDefault, IIf(ORBHG>0,
colorGreen, colorDefault));
AddColumn( ORBLG, "ORB Low Breakout Gain", 1.2, colorDefault, IIf (ORBLG>0,
colorRed, colorDefault));
SetSortColumns(1);

GfxSetBkMode(1);
GfxSelectFont("Arial",14,800,False);
GfxSetTextColor(colorBlue);
GfxSelectPen( colorRed, 3 );
GfxSelectSolidBrush( colorLightYellow );
GfxRoundRect( 20, 25,380, 140, 15, 15 );

GfxTextOut("Buy Ety: " + WriteVal(Bp,1.2,True), 30,40);


GfxTextOut("Buy SL: " + WriteVal(ORBH-((ORBH-ORBL)*80/100), 1.2, True) , 30,60);
GfxSetTextColor(colorRed);
GfxTextOut("Sell Ety: " + WriteVal(Sp,1.2,True), 200,40);
GfxTextOut("Sell SL: " + WriteVal( ORBL+((ORBH-ORBL)*80/100), 1.2, True) , 200,60);

_SECTION_END();

_SECTION_BEGIN("ganesh ma");
/*Plot MA*/
MAT = ParamToggle(" MAT","Show|Hide",0);
if(MAT==1) {
Plot( MA( Close,10), "10 MA", colorBlue,styleLine);
Plot( MA( Close,20), "20 MA", colorOrange,styleLine);
Plot( MA( Close,50), "50 MA", colorBrightGreen,styleLine);
Plot( MA( Close,200), "200 MA", colorGold,styleLine);
}
_SECTION_END();

_SECTION_BEGIN("Magfied Market Price");

//Magfied Market Price


FS=Param("Font Size",16,11,100,1);
GfxSelectFont("Times New Roman", FS, 700, True );
GfxSetBkMode( colorWhite );
GfxSetTextColor( ParamColor("Color",colorYellow) );
Hor=Param("Horizontal Position",960,1,1200,1);
Ver=Param("Vertical Position",11,1,830,1);
GfxTextOut(Date() +"="+C, Hor , Ver );
YC=TimeFrameGetPrice("C",inDaily,-1);
DD=Prec(C-YC,2);
xx=Prec((DD/YC)*100,2);
GfxSelectFont("Times New Roman", 11, 700, True );
GfxSetBkMode( colorBlack );
GfxSetTextColor(ParamColor("Color",colorYellow) );
GfxSelectFont("Tahoma", Status("pxheight")/40 );
_SECTION_END();

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy