My System - My trades.

Tuna

Listen and act, don't ask it, it doesn't oblige
If you take vanila SAR blindly, for crude since (Aug,2015 till Sep 2017)

1 min



5 mins



15 mins

 
Last edited:

Tuna

Listen and act, don't ask it, it doesn't oblige
Equity return = absolute point earned. So multiply with your proportional postion size. let me optmize the EMA (instead of 200) and see. I will do it only for 5 mins
 

Tuna

Listen and act, don't ask it, it doesn't oblige
Haan I am not doing anything wrong Bro. The offline data in crude I have ends in Sept 2017. I am attaching the trades, one can validate it. For 5 mins, date and timestamp.

Condition applied - When OBV Crosses 200 EMA of OBV, Go long, And reverse when it goes down.

Trades.

https://drive.google.com/open?id=0B5QWq_YHX42NOERZMk1tRGNkcHc
 

Tuna

Listen and act, don't ask it, it doesn't oblige
Haan I am not doing anything wrong Bro. The offline data in crude I have ends in Sept 2017. I am attaching the trades, one can validate it. For 5 mins, date and timestamp.

Condition applied - When OBV Crosses 200 EMA of OBV, Go long, And reverse when it goes down.

Trades.

https://drive.google.com/open?id=0B5QWq_YHX42NOERZMk1tRGNkcHc
Here is AFL I wrote, if any bug, do let me know.

Code:
//===============Price================
_SECTION_BEGIN("Price1");
OptimizerSetEngine("cmae");
SetPositionSize( 100, spsShares);
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", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
_SECTION_END();
SetBarsRequired(200,0);
GraphXSpace = 5;

Ob = OBV();
per = Optimize("per",Param("per",200,20,200,1),20,200,1);
SlowObv = EMA(Ob,per);

Cover=Buy = Cross(Ob,SlowObv);
Short=Sell=Cross(SlowObv,Ob);
Buy = ExRem(Buy,Sell);

SellPrice=ValueWhen(Sell,C,1);
BuyPrice=ValueWhen(Buy,C,1);
_SECTION_END();



//=================TITLE================================================================================================
_SECTION_BEGIN("Title");


// Print Short and Exit Arros
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);
PlotShapes(IIf(Cover, shapeSquare, shapeNone),colorYellow, 0, L, Offset=-40);
PlotShapes(IIf(Cover, shapeSquare, shapeNone),colorDarkYellow, 0,L, Offset=-50);                    
PlotShapes(IIf(Cover, shapeUpArrow, shapeNone),colorBlack, 0,L, Offset=-45);
//Pring Long and Exit Arrow
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(Short, shapeSquare, shapeNone),colorYellow, 0, H, Offset=40);
PlotShapes(IIf(Short, shapeSquare, shapeNone),colorDarkYellow, 0,H, Offset=50);                    
PlotShapes(IIf(Short, shapeDownArrow, shapeNone),colorBlack, 0,H, Offset=-45);
 

Tuna

Listen and act, don't ask it, it doesn't oblige
I was talking about backtesting it on Nifty and Banknifty
Had ho gayi, Piya main hoon chada apko hey. Chalo mere ko laga ki crude ki baat ho rahi. NF,BNF ki back testing OBV ki saath kar nahi payunga. I only have the index data (so no volume). Since my Long system does not use volume, I manage to test with pure index values since 2013 (my 1 hour long only strategy).

If someone wants to test it for BNF, send me the continous future data for past years , will test.
 

Tuna

Listen and act, don't ask it, it doesn't oblige
And can optmise the OBV period as well.
 

Similar threads