SH's 315 Strategy - how to use if effectively

SH sir great efforts u have taken for developing this complete trend following strategy. There is small contribution from my side. developed afl with basic rules of this system. having 3 ema 15 ema and crossover point for tomorrow. Still need to modify with other rules.


/*
Basic 315 strategy is implimented
Buy at crossover point and short at crossover point */

_SECTION_BEGIN("315 cross");
SetBacktestMode( backtestRegularRawMulti );
SetPositionSize(1,spsShares);
CrossPoint= ((EMA(C,15)*(1-(2/(1+15))))-(EMA(C,3)*(1-(2/(1+3)))))/((2/(1+3))-(2/(1+15)));
Plot(Close,"Price",colorBlack, styleCandle);
Plot(EMA(Close,3),"3EMA",colorBlue,style=styleThick);
Plot(EMA(Close,15),"15EMA",colorRed,style=styleThick);
Plot(CrossPoint,"CrossPoint",colorGreen,style=styleThick);
Buy=(Cross(EMA(Close,3),EMA(Close,15)));
Sell=Cross(EMA(Close,15),EMA(Close,3));
Short=Sell;
Cover=Buy; shape = Buy * shapeUpArrow + Sell * shapeDownArrow;
PlotShapes( shape, IIf( Buy, colorGreen, colorRed ), 0, IIf( Buy, Low, High ) );


BuyPrice=IIf(Ref(Crosspoint,-1)<O,O,Ref(Crosspoint,-1));
SellPrice=IIf(Ref(Crosspoint,-1)>O,O,Ref(Crosspoint,-1));
ShortPrice=SellPrice;
CoverPrice=BuyPrice;
_SECTION_END();

_SECTION_BEGIN("Magnified Market Price");

FS=Param("Font Size",30,11,100,1);
GfxSelectFont("Times New Roman", FS, 700, True );
GfxSetBkMode( colorWhite );
GfxSetTextColor( ParamColor("Color",colorBlack) );
Hor=Param("Horizontal Position",630,1,1200,1);
Ver=Param("Vertical Position",1,1,830,1);
GfxTextOut(" "+Crosspoint, Hor , Ver );
 

anilnegi

Well-Known Member
On NIfty how much avg trades are usually get generated in month using this 315 strategy?
Your 8 DMA strategy is quite good, i know one person from different forum using this strategy, but he modified it and change the DMA, did you backtest your strategy in different years altogether

anil negi
 
SH sir great efforts u have taken for developing this complete trend following strategy. There is small contribution from my side. developed afl with basic rules of this system. having 3 ema 15 ema and crossover point for tomorrow. Still need to modify with other rules.


/*
Basic 315 strategy is implimented
Buy at crossover point and short at crossover point */

_SECTION_BEGIN("315 cross");
SetBacktestMode( backtestRegularRawMulti );
SetPositionSize(1,spsShares);
CrossPoint= ((EMA(C,15)*(1-(2/(1+15))))-(EMA(C,3)*(1-(2/(1+3)))))/((2/(1+3))-(2/(1+15)));
Plot(Close,"Price",colorBlack, styleCandle);
Plot(EMA(Close,3),"3EMA",colorBlue,style=styleThick);
Plot(EMA(Close,15),"15EMA",colorRed,style=styleThick);
Plot(CrossPoint,"CrossPoint",colorGreen,style=styleThick);
Buy=(Cross(EMA(Close,3),EMA(Close,15)));
Sell=Cross(EMA(Close,15),EMA(Close,3));
Short=Sell;
Cover=Buy; shape = Buy * shapeUpArrow + Sell * shapeDownArrow;
PlotShapes( shape, IIf( Buy, colorGreen, colorRed ), 0, IIf( Buy, Low, High ) );


BuyPrice=IIf(Ref(Crosspoint,-1)<O,O,Ref(Crosspoint,-1));
SellPrice=IIf(Ref(Crosspoint,-1)>O,O,Ref(Crosspoint,-1));
ShortPrice=SellPrice;
CoverPrice=BuyPrice;
_SECTION_END();

_SECTION_BEGIN("Magnified Market Price");

FS=Param("Font Size",30,11,100,1);
GfxSelectFont("Times New Roman", FS, 700, True );
GfxSetBkMode( colorWhite );
GfxSetTextColor( ParamColor("Color",colorBlack) );
Hor=Param("Horizontal Position",630,1,1200,1);
Ver=Param("Vertical Position",1,1,830,1);
GfxTextOut(" "+Crosspoint, Hor , Ver );
Hi thanks a lot. The afl is excellent. Can you please explain the defintion of crosspoint, I dont get the pre-factors. Also what part left. I have just started looking for the content for this strategy. If possible i will try my best to improve the afl.
 

VJAY

Well-Known Member
Dear 315 traders & lovers :)
am posting last year trades as per 315 strategy in nifty(may be some wrong trades too).As you all know this suits to big pocket traders :D..as am small trader so not traded it for myself ...just given info to one of my friend who took these trades.Hoping this post helps to some who are interested in this strategy...



 
Last edited:

anilnegi

Well-Known Member
Vijay ji

Total profit / loss?, is this simple 315 or your friend applied whole strategy to trade

anil negi
 

Similar threads