BNF HIGH LOW trading stratagy

#31
Code:
_SECTION_BEGIN("Price_Candle");
SetChartBkColor(colorBlack);
GraphXSpace=2.5;
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) )); 
BarCol	=	IIf(C < O, colorRed, colorBlue); 
SetBarFillColor(IIf(C > O, colorBlack, colorRed)); 
Plot( C, "Close", BarCol, styleCandle | styleNoTitle | styleThick);  	
_SECTION_END();

_SECTION_BEGIN("DEMAND_SUPPLY_ZONES"); 
TimeFrameSet(inDaily);
 wH = EMA(H,2);
 wL = EMA(L,2);
TimeFrameRestore();
eH = TimeFrameExpand(wH,inDaily,expandLast);
eL = TimeFrameExpand(wL,inDaily,expandLast);
R1 = round(eH-70); 		R2 = round(eH+125);		// Supply Zone
S1 = round(eL-100);		S2 = round(eL+60);		// Demand Zone

Plot(S1,"  S1",colorDarkGreen, styleNoRescale|styleStaircase|styleDashed);
Plot(S2,"  S2",colorDarkGreen, styleNoRescale|styleStaircase|styleDashed);
Plot(R1,"  R1",colorRed, styleNoRescale|styleStaircase|styleDashed);
Plot(R2,"  R2",colorRed, styleNoRescale|styleStaircase|styleDashed);
PlotOHLC(S1,S2,S1,S2,"",ColorRGB(0,40,0),styleNoRescale|styleNoLabel|styleCloud);
PlotOHLC(R1,R2,R1,R1,"",ColorRGB(40,0,0),styleNoRescale|styleNoLabel|styleCloud);
_SECTION_END();
AFL Code for the Demand//Supply Bands as defined in this thread. :thumb:


Happy :)
 
#33
thanks bro. Recently i have done little modification in strategy for better results. So far 92-93% sucsess IN TRIAL. Wil need some change in ur alf accordingly
You are a big bla bla and would like to be Pied Piper
 
#34
BNF Result update for last week trades:

8 dec: BNF short trade 18839 to 18582 initial target 100 pts booked. few lots booked on trail basis. net points gain 185

9 dec: BNF long trade 18550 to 18664 initial tgt 100 pts done.

10 dec: BNF long trade 18430 to 18650.initial target 100 pts booked. few lots booked on trail basis. net points gain 170

11 dec: BNF short 18610 to 18306. almost 300 points mooved. almost missed to execute due to fast moment at opening. target was easily hit

12 dec: BNF open 18505 out of band. so no trade taken.


TOTAL TRADES TAKEN:3

STOP LOSS HIT:0

PROFIT TRADES:3

NET POINTS BOOKED: 455
 

Karanm

Active Member
#36
BNF Result update for last week trades:

8 dec: BNF short trade 18839 to 18582 initial target 100 pts booked. few lots booked on trail basis. net points gain 185

9 dec: BNF long trade 18550 to 18664 initial tgt 100 pts done.

10 dec: BNF long trade 18430 to 18650.initial target 100 pts booked. few lots booked on trail basis. net points gain 170

11 dec: BNF short 18610 to 18306. almost 300 points mooved. almost missed to execute due to fast moment at opening. target was easily hit

12 dec: BNF open 18505 out of band. so no trade taken.


TOTAL TRADES TAKEN:3

STOP LOSS HIT:0

PROFIT TRADES:3

NET POINTS BOOKED: 455
EMA 2 LOW EMA 2 HIGH DATE OPEN
18649 18836 08-12-2014 BUY RANGE 18549 TO 18709 SELL RANGE 18766 TO 18961 18840
18541 18815 09-12-2014 BUY RANGE 18441 TO 18601 SELL RANGE 18745 TO 18940 18562
18346 18662 10-12-2014 BUY RANGE 18246 TO 18406 SELL RANGE 18592 TO 18787 18325
18237 18576 11-12-2014 BUY RANGE 18137 TO 18297 SELL RANGE 18506 TO 18701 18615
18225 18545 12-12-2014 BUY RANGE 18125 TO 18285 SELL RANGE 18475 TO 18670 18505

Sir, why there is a difference in your Range ?
 
#38
EMA 2 LOW EMA 2 HIGH DATE OPEN
18649 18836 08-12-2014 BUY RANGE 18549 TO 18709 SELL RANGE 18766 TO 18961 18840
18541 18815 09-12-2014 BUY RANGE 18441 TO 18601 SELL RANGE 18745 TO 18940 18562
18346 18662 10-12-2014 BUY RANGE 18246 TO 18406 SELL RANGE 18592 TO 18787 18325
18237 18576 11-12-2014 BUY RANGE 18137 TO 18297 SELL RANGE 18506 TO 18701 18615
18225 18545 12-12-2014 BUY RANGE 18125 TO 18285 SELL RANGE 18475 TO 18670 18505

Sir, why there is a difference in your Range ?
you are calculating wrongly sir, plz check again. plz have a look on image of my exel sheet : http://i.imgur.com/QMcFJMq.png?1
 
Last edited:
#39
Code:
_SECTION_BEGIN("Price_Candle");
SetChartBkColor(colorBlack);
GraphXSpace=2.5;
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) )); 
BarCol	=	IIf(C < O, colorRed, colorBlue); 
SetBarFillColor(IIf(C > O, colorBlack, colorRed)); 
Plot( C, "Close", BarCol, styleCandle | styleNoTitle | styleThick);  	
_SECTION_END();

_SECTION_BEGIN("DEMAND_SUPPLY_ZONES"); 
TimeFrameSet(inDaily);
 wH = EMA(H,2);
 wL = EMA(L,2);
TimeFrameRestore();
eH = TimeFrameExpand(wH,inDaily,expandLast);
eL = TimeFrameExpand(wL,inDaily,expandLast);
R1 = round(eH-70); 		R2 = round(eH+125);		// Supply Zone
S1 = round(eL-100);		S2 = round(eL+60);		// Demand Zone

Plot(S1,"  S1",colorDarkGreen, styleNoRescale|styleStaircase|styleDashed);
Plot(S2,"  S2",colorDarkGreen, styleNoRescale|styleStaircase|styleDashed);
Plot(R1,"  R1",colorRed, styleNoRescale|styleStaircase|styleDashed);
Plot(R2,"  R2",colorRed, styleNoRescale|styleStaircase|styleDashed);
PlotOHLC(S1,S2,S1,S2,"",ColorRGB(0,40,0),styleNoRescale|styleNoLabel|styleCloud);
PlotOHLC(R1,R2,R1,R1,"",ColorRGB(40,0,0),styleNoRescale|styleNoLabel|styleCloud);
_SECTION_END();
AFL Code for the Demand//Supply Bands as defined in this thread. :thumb:


Happy :)
Thanks Happy Can you please add buy and short signal
 

Similar threads