Breakout upside-dnside using pullback in trend

#1
Hi

Friends
here is chart which uses breakout after pullback in trend.

HTML:
Rules are
//pullback in uptrend
//price made a high and [B]closed below high about 50% away from high[/B]
//buy above price breakout above 1 tick above high,stoploss entry candle low,target near by resz
//pullback in downtrend
//price made a low and [B]closed well above low, about 50% away from low[/B] 50% of total candle(H-L)
//sell below price breakout below 1 tick below low,stoploss entry candle high,target near by support
//use any timeframe above 30 minutes



cheers
ford
 
Last edited:

casoni

Well-Known Member
#3
i think it should be this ..


ph=TimeFrameGetPrice( "H", inDaily, -1 );
pl=TimeFrameGetPrice( "L", inDaily, -1 );
Plot(ph,"\n Buy Trigger",colorBrightGreen, styledashed,0,0,0,1);
Plot(pl,"\n Sell Trigger",colorRed, styledashed,0,0,0,1);
Plot(C,"",3,64);
 
#4
Hi extremist
here it is
Remember it (not self sufficient)needs some other supporting things while trading with it.
cheers
ford
------------------
HTML:
SetChartBkColor(64);
grid_day = IIf(Day()!=Ref(Day(),-1),1,0);  
Plot(grid_day,"",colorRed,styleHistogram|styleDashed|styleNoLabel|styleOwnScale);




SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} \n Op=> %g, \n Hi=> %g, \n Lo=> %g, \n Cl=> %g \n
{{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | styleThick | styleBar);

po=TimeFrameGetPrice( "O", inDaily, -1 );
ph=TimeFrameGetPrice( "H", inDaily, -1 );
pl=TimeFrameGetPrice( "L", inDaily, -1 );
pc=TimeFrameGetPrice( "C", inDaily, -1 );
//pullback in uptrend
//price made a high and closed below high about 40% away from high
//buy above price breakout above 1 tick above high,stoploss entry candle low,target near by resz
//pullback in downtrend
//price made a low and closed well above low, about 40% to 50% away from low
//sell below price breakout below 1 tick below low,stoploss entry candle high,target near by support
//use any timeframe above 30 minutes 
UB=pc<ph AND (ph-pc)>=0.40*(ph-pl); //pullback Bar in uptrend
DB=pc>pl AND (pc-pl)>=0.40*(ph-pl);; //pullback Bar in downtrend
bbp=IIf(UB,ph*1.0001,Null); //Buy Break Price
sbp=IIf(DB,pl*0.9999,Null); //Sell Break Price


Plot(bbp,"\n acc dist Buy Above-high Trigger",colorBrightGreen, styleDashed,0,0,0,1);
Plot(sbp,"\n acc dist Sell Below-low Trigger ",colorYellow, styleDashed,0,0,0,1);
_SECTION_END();
 

Broker Special Offers

Intraday Higher Leverage

Save up to 90% in brokerage and get higher leverage for intraday trades.

Name:Phone:
Email:City:
State:
Are you a day trader?