/*
Setup
1). Timeframe : 5min chart
2). EMA : 110 period
3). CCI : 14 days
Why EMA 110? To be frank no idea but when tested proved with results to guage the TREND!
RULE
BUY / GO LONG CONDITION
a). The 5 min candle should be above 110 EMA.
b). CCI should be > 100. We consider CCI reading only for ENTRY not for EXIT. This CCI will act as a FILTER to avoid false Traps
c). A 0.10% filter on the High price
SELL / GO SHORT CONDITION
a). The 5 min candle should be below 110 EMA.
b). CCI should be < -100. We consider CCI reading only for ENTRY and not for EXIT. This CCI will act as a FILTER to avoid false Traps
c). A 0.10% filter on the Low price
EXIT : Rs.10/- min
SL : Rs.10/- (as I want to keep RR as 1:1)
Recommended Scrips : MARUTI, AXISBANK, LT, TCS, ICICIBANK & SBI
I have tested the strategy with the above scrips and hence posted as recommendation. Why I have selected the above scrip is bacause of the highly traded volume.
I will explain in detail with the Charts
Karthik
*/
_SECTION_BEGIN("Price");
SetChartBkGradientFill( ParamColor("BgTop", colorDarkOliveGreen),
ParamColor("BgBottom", colorDarkGrey),ParamColor("titleblock",colorDarkOliveGreen ));
TimeFrameSet( in5Minute);
EMA110=EMA(C,110);
pt=CCI()>100;nt=CCI()<-100;
bullish=C>EMA110 AND pt;
bear=C<EMA110 AND nt;
Color=IIf(bullish,colorGreen,IIf(bear,colorRed,colorBlack));
GraphXSpace=5;
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol " +WriteVal( V, 1.0 ) +" {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 )) ));
Plot( C, "Close", color , styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
Plot(EMA110,"EMA110",5,1);
Buy=Cover=bullish;
Short=Sell=bear;
Buy=ExRem(Buy,Sell);Sell=ExRem(Sell,Buy);
Short=ExRem(Short,Cover);Cover=ExRem(Cover,Short);
PlotShapes(IIf(Buy,shapeUpArrow,shapeNone),colorGreen,0,L,Offset=-10);
PlotShapes(IIf(Sell,shapeDownArrow,shapeNone),colorRed,0,H,Offset=-10);
PlotShapes(IIf(Short, shapeHollowDownArrow , shapeNone), colorRed);
PlotShapes(IIf(Cover, shapeHollowUpArrow , shapeNone), colorGreen);
TimeFrameRestore();
_SECTION_END();
Filter = Buy | Short;
SetOption("NoDefaultColumns", True);
AddTextColumn(Name(), "SYMBOL");
AddColumn(DateTime(), "DATE", formatDateTime);
AddColumn(TimeNum() ,"Time",1, 75);
AddColumn(IIf(Buy, 66, 83), "TRIGGER", formatChar, colorWhite, IIf(Buy, colorGreen, colorRed));
AddColumn(IIf(Buy, H + H*0.001, L - L*0.001), "TRIG PRICE", 1.2);
AddColumn(IIf(Buy, (H + H*0.001)+10, (L - L*0.001)-10), "Target", 1.2);
AddColumn(IIf(Buy, (H + H*0.001)-10, (L - L*0.001)+10), "Stop Loss", 1.2);
AddColumn(C, "Last Close", 1.2);
SetSortColumns( -3 );
/*
Setup
1). Timeframe : 5min chart
2). EMA : 110 period
3). CCI : 14 days
Why EMA 110? To be frank no idea but when tested proved with results to guage the TREND!
RULE
BUY / GO LONG CONDITION
a). The 5 min candle should be above 110 EMA.
b). CCI should be > 100. We consider CCI reading only for ENTRY not for EXIT. This CCI will act as a FILTER to avoid false Traps
c). A 0.10% filter on the High price
SELL / GO SHORT CONDITION
a). The 5 min candle should be below 110 EMA.
b). CCI should be < -100. We consider CCI reading only for ENTRY and not for EXIT. This CCI will act as a FILTER to avoid false Traps
c). A 0.10% filter on the Low price
EXIT : Rs.10/- min
SL : Rs.10/- (as I want to keep RR as 1:1)
Recommended Scrips : MARUTI, AXISBANK, LT, TCS, ICICIBANK & SBI
I have tested the strategy with the above scrips and hence posted as recommendation. Why I have selected the above scrip is bacause of the highly traded volume.
I will explain in detail with the Charts
Karthik
*/
_SECTION_BEGIN("Price");
SetChartBkGradientFill( ParamColor("BgTop", colorDarkOliveGreen),
ParamColor("BgBottom", colorDarkGrey),ParamColor("titleblock",colorDarkOliveGreen ));
TimeFrameSet( in5Minute);
EMA110=EMA(C,110);
pt=CCI()>100;nt=CCI()<-100;
bullish=C>EMA110 AND pt;
bear=C<EMA110 AND nt;
Color=IIf(bullish,colorGreen,IIf(bear,colorRed,colorBlack));
GraphXSpace=5;
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol " +WriteVal( V, 1.0 ) +" {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 )) ));
Plot( C, "Close", color , styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
Plot(EMA110,"EMA110",5,1);
Buy=Cover=bullish;
Short=Sell=bear;
Buy=ExRem(Buy,Sell);Sell=ExRem(Sell,Buy);
Short=ExRem(Short,Cover);Cover=ExRem(Cover,Short);
PlotShapes(IIf(Buy,shapeUpArrow,shapeNone),colorGreen,0,L,Offset=-10);
PlotShapes(IIf(Sell,shapeDownArrow,shapeNone),colorRed,0,H,Offset=-10);
PlotShapes(IIf(Short, shapeHollowDownArrow , shapeNone), colorRed);
PlotShapes(IIf(Cover, shapeHollowUpArrow , shapeNone), colorGreen);
TimeFrameRestore();
_SECTION_END();
Filter = Buy | Short;
SetOption("NoDefaultColumns", True);
AddTextColumn(Name(), "SYMBOL");
AddColumn(DateTime(), "DATE", formatDateTime);
AddColumn(TimeNum() ,"Time",1, 75);
AddColumn(IIf(Buy, 66, 83), "TRIGGER", formatChar, colorWhite, IIf(Buy, colorGreen, colorRed));
AddColumn(IIf(Buy, H + H*0.001, L - L*0.001), "TRIG PRICE", 1.2);
AddColumn(IIf(Buy, (H + H*0.001)+10, (L - L*0.001)-10), "Target", 1.2);
AddColumn(IIf(Buy, (H + H*0.001)-10, (L - L*0.001)+10), "Stop Loss", 1.2);
AddColumn(C, "Last Close", 1.2);
SetSortColumns( -3 );
/*
Setup
1). Timeframe : 5min chart
2). EMA : 110 period
3). CCI : 14 days
Why EMA 110? To be frank no idea but when tested proved with results to guage the TREND!
RULE
BUY / GO LONG CONDITION
a). The 5 min candle should be above 110 EMA.
b). CCI should be > 100. We consider CCI reading only for ENTRY not for EXIT. This CCI will act as a FILTER to avoid false Traps
c). A 0.10% filter on the High price
SELL / GO SHORT CONDITION
a). The 5 min candle should be below 110 EMA.
b). CCI should be < -100. We consider CCI reading only for ENTRY and not for EXIT. This CCI will act as a FILTER to avoid false Traps
c). A 0.10% filter on the Low price
EXIT : Rs.10/- min
SL : Rs.10/- (as I want to keep RR as 1:1)
Recommended Scrips : MARUTI, AXISBANK, LT, TCS, ICICIBANK & SBI
I have tested the strategy with the above scrips and hence posted as recommendation. Why I have selected the above scrip is bacause of the highly traded volume.
I will explain in detail with the Charts
Karthik
*/
_SECTION_BEGIN("Price");
SetChartBkGradientFill( ParamColor("BgTop", colorDarkOliveGreen),
ParamColor("BgBottom", colorDarkGrey),ParamColor("titleblock",colorDarkOliveGreen ));
TimeFrameSet( in5Minute);
EMA110=EMA(C,110);
pt=CCI()>100;nt=CCI()<-100;
bullish=C>EMA110 AND pt;
bear=EMA110>C AND nt;
Color=IIf(bullish,colorBlue,IIf(bear,colorRed,colorBlack));
by=Ref(EMA110,-1)>C OR Ref(CCI(),-1)<100;
sy=Ref(EMA110,-1)<C OR Ref(CCI(),-1)> -100;
GraphXSpace=5;
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol " +WriteVal( V, 1.0 ) +" {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 )) ));
Plot( C, "Close", color , styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
Plot(EMA110,"EMA110",5,1);
SetPositionSize( 100, spsShares ); // 100 shares by default
Buy=bullish AND by;
//Sell=0;
Short=bear AND sy;
//Cover=0;
//Buy=ExRem(Buy,Sell);
//Sell=ExRem(Sell,Buy);
//Short=ExRem(Short,Cover);Cover=ExRem(Cover,Short);
PlotShapes(IIf(Buy,shapeUpArrow,shapeNone),colorGreen,0,L,Offset=-10);
//PlotShapes(IIf(Sell,shapeDownArrow,shapeNone),colorRed,0,H,Offset=-10);
PlotShapes(IIf(Short, shapeHollowDownArrow , shapeNone), colorRed);
//PlotShapes(IIf(Cover, shapeHollowUpArrow , shapeNone), colorGreen);
TimeFrameRestore();
_SECTION_END();
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
Karthik's OPTION Trading Strategy! | Technical Analysis | 95 | ||
P | Help Me to Create AFL for Karthik's 315 Pullback Strategy | AmiBroker | 2 | |
Karthik's 315 Pullback Strategy (Intraday & EOD) | Technical Analysis | 81 | ||
Karthik's CRUDE Intraday Strategy | Technical Analysis | 65 | ||
R | Karthik's EOD Strategy based on INSIDE BAR | Technical Analysis | 362 |