My trades based on "new way of pivot trading" and vwap

vijkris

Learner and Follower
After a long time ( April 2016), I am present in the markets and TJ, so early.. otherwise daily its after 1 pm..

Also feeling the need of alerts/scan . Unable to scroll through looking for setups..
 

vijkris

Learner and Follower
#3. Rcap trail sl hit.. :annoyed:
Scratched the trade at breakeven..

When i want to trail it gives BE trades.. huh.. it moved more than 1:2.. ideally i would hve exited at 516.5 but trailing ne dhoka diya...



Still trailing in silver at 42,655.. that was also profitable move, but add is causing the loss.. :annoyed:

In silver long signal also coming...
 

vijkris

Learner and Follower
Hey Doc point me to the latest AFLs.
So much has changed.
everything's buried.. Need a big shovel to dig it out.. :lol::D

This is the main obv afl.. I did my own mods, which i commented as /* in the last para...

Code:
//================================================== ================================================== =======================
SetChartBkGradientFill( ParamColor("Inner panel upper",colorDarkGrey),ParamColor("Inner panel lower",colorGrey40 ));
SetChartBkColor(colorBlack);
SetChartOptions( 2,chartShowArrows+ chartShowDates |   chartWrapTitle );
Title = "Varun's OBV  Breakout Ribbons, Topmost: 15 Minutes, Lowest: 60 Minutes & Middle 30 Minutes";


GraphXSpace=5;
_SECTION_BEGIN("On Balance Volume");
Ob = OBV();	e36 = EMA(Ob,36);	e200 = EMA(Ob,200); e3 = EMA(Ob,3);
Plot(Ob,"",colorWhite,styleNoTitle|styleThick);
Plot(0,"",colorWhite,styleNoLabel|styleNoRescale|styleDashed,0,0,5,-5);
Plot(e200,"",colorBrightGreen,styleNoLabel|styleNoRescale);
Plot(e36, "",colorGold,styleNoLabel|styleNoRescale|styleDashed);
Plot(e3, "",colorViolet,styleNoLabel|styleNoRescale|styleDashed);
_SECTION_END();

//Buy = Cross(OBV(),e200);
Buy = Cross(e3,e200);
//Sell = Cross(e200,OBV());
Sell = Cross(e200,e3);

PlotShapes(Buy*shapeUpArrow,colorGreen,0,e200,-20);
PlotShapes(Sell*shapeDownArrow,colorRed,0,e200,-20);

//Buy1 = Cross(OBV(),E36) AND E36>E200;
//Sell1 = Cross(E36,OBV())AND E36<E200;
Buy1 = Cross(e3,E36) AND E36>E200;
Sell1 = Cross(E36,e3)AND E36<E200;

PlotShapes(Buy1*shapeUpArrow,colorBlue,0,E36,-20);
PlotShapes(Sell1*shapeDownArrow,colorBlue,0,E36,-20);


_SECTION_BEGIN("OBV  Hi Lo BO_BD");
n = Param("Period",15,5,500,5);
y = Param("Ribbon Y",45,0,500,5);
//Ob = OBV();
Hi = HHV(Ob,n);		
Lo = LLV(Ob,n);		
B1 = Cross(Ob,Ref(Hi,-1));		
S1 = Cross(Ref(Lo,-1),Ob);
B1 = ExRem(B1,S1);	
S1 = ExRem(S1,B1);	
UP1 = Flip(B1,S1);	
DN1 = Flip(S1,B1);
PlotOHLC(y,Y+10,y,y,"",IIf(UP1,colorBlue,colorRed),styleOwnScale|styleNoLabel|styleCloud,0,500);
_SECTION_END();
_SECTION_BEGIN("OBV  Hi Lo BO_BD30");
n30 = Param("Period",30,5,500,5);
y30 = Param("Ribbon Y",30,0,500,5);
//Ob = OBV();
Hi = HHV(Ob,n30);		
Lo = LLV(Ob,n30);		
B30 = Cross(Ob,Ref(Hi,-1));		
S30 = Cross(Ref(Lo,-1),Ob);
B30 = ExRem(B30,S30);	
S30 = ExRem(S30,B30);	
UP30 = Flip(B30,S30);	
DN30 = Flip(S30,B30);
PlotOHLC(y30,Y30+10,y30,y30,"",IIf(UP30,colorBlue,colorRed),styleOwnScale|styleNoLabel|styleCloud,0,500);
_SECTION_END();
_SECTION_BEGIN("OBV  Hi Lo BO_BD60");
n60 = Param("Period",60,5,500,5);
y60 = Param("Ribbon Y",15,0,500,5);
//Ob = OBV();
Hi = HHV(Ob,n60);		
Lo = LLV(Ob,n60);		
B60 = Cross(Ob,Ref(Hi,-1));		
S60 = Cross(Ref(Lo,-1),Ob);
B60 = ExRem(B60,S60);	
S60 = ExRem(S60,B60);	
UP60 = Flip(B60,S60);	
DN60 = Flip(S60,B60);
PlotOHLC(y60,Y60+10,y60,y60,"",IIf(UP60,colorBlue,colorRed),styleOwnScale|styleNoLabel|styleCloud,0,500);
_SECTION_END();
/*
_SECTION_BEGIN("OBV  Hi Lo BO_BD300");
n60 = Param("Period",300,5,500,5);
y60 = Param("Ribbon Y",1,0,500,5);
//Ob = OBV();
Hi = HHV(Ob,n60);		
Lo = LLV(Ob,n60);		
B60 = Cross(Ob,Ref(Hi,-1));		
S60 = Cross(Ref(Lo,-1),Ob);
B60 = ExRem(B60,S60);	
S60 = ExRem(S60,B60);	
UP60 = Flip(B60,S60);	
DN60 = Flip(S60,B60);
PlotOHLC(y60,Y60+10,y60,y60,"",IIf(UP60,colorBlue,colorRed),styleOwnScale|styleNoLabel|styleCloud,0,500);
_SECTION_END();
 

Similar threads