Orb
Orb
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();
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.
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.
*/
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);
GfxSetBkMode(1);
GfxSelectFont("Arial",14,800,False);
GfxSetTextColor(colorBlue);
GfxSelectPen( colorRed, 3 );
GfxSelectSolidBrush( colorLightYellow );
GfxRoundRect( 20, 25,380, 140, 15, 15 );
_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();