High Low Breakout Strat

Strategies are published here.

Moderator: admin

High Low Breakout Strat

Postby moomoofx » Fri Apr 11, 2014 5:16 am

Hi everyone,

As kind-of requested on: viewtopic.php?f=17&t=20388

Basically, the requested strategy was to use the hl1 indicator but that isn't really necessary. The point of the strategy is to create entry orders at the previous bar's highs and lows in expectation of a break, with the stop at the opposite extreme. So, that is what I have done - no indicators required.

I also enhanced it to support One-Cancels-Others orders so if one is executed, the other is automatically cancelled.

Orders are created at the start of each new bar, and previously pending orders are cancelled as well.

HLBreakout.png


Cheers,
MooMooFX

The Strategy was revised and updated on January 19, 2019.
Attachments
HLBreakout.lua
(13.65 KiB) Downloaded 1721 times
User avatar
moomoofx
FXCodeBase: Confirmed User
 
Posts: 193
Joined: Wed Oct 23, 2013 10:26 pm
Location: Okinawa, Japan. http://moomooforex.com

Re: High Low Breakout Strat

Postby Taskryr » Fri Apr 11, 2014 1:38 pm

Hi moomoo,

There is no option for setting the amount of pips for a trailing stop. I think this is throwing the strategy off. When I backtest I have losses 10xs bigger than my limit.
Taskryr
 
Posts: 42
Joined: Fri Nov 01, 2013 4:40 pm

Re: High Low Breakout Strat

Postby moomoofx » Sat Apr 12, 2014 11:12 pm

The Stop is being set to the opposite high/low extreme for the previous period, as originally requested.

The trailing feature turns on dynamic trailing, i.e., 1 pip-trailing.

The fact that you have 10x losses > limit has nothing to do with trailing or not, it's just because your limit is 1/10th the size of what the stop might be set to. Keep in mind the stop would change from bar to bar.

Cheers,
MooMooFX
User avatar
moomoofx
FXCodeBase: Confirmed User
 
Posts: 193
Joined: Wed Oct 23, 2013 10:26 pm
Location: Okinawa, Japan. http://moomooforex.com

Re: High Low Breakout Strat

Postby Taskryr » Sun Apr 13, 2014 9:14 am

Thanks for the clarification. . . . that being said, Is it possible to add the option of a Stop in pips rather than the opposite Hi/lo?
Taskryr
 
Posts: 42
Joined: Fri Nov 01, 2013 4:40 pm

Re: High Low Breakout Strat

Postby moomoofx » Mon Apr 14, 2014 9:57 pm

Hi,

Yes that is possible. Your request has been added to the to do list.

Cheers,
MooMooFX
User avatar
moomoofx
FXCodeBase: Confirmed User
 
Posts: 193
Joined: Wed Oct 23, 2013 10:26 pm
Location: Okinawa, Japan. http://moomooforex.com

Re: High Low Breakout Strat

Postby kingolli » Tue Apr 22, 2014 12:03 pm

Great strategy to enter a trend with low risk in smaller timeframes. Thank you.
Is it possible to add a function to enter only long or only short if a signal is given?

Thank you.
kingolli
kingolli
 
Posts: 6
Joined: Fri Mar 18, 2011 5:47 am

Re: High Low Breakout Strat

Postby moomoofx » Sat Apr 26, 2014 11:31 pm

Hi,

Your request has been added to the list.

Cheers,
MooMooFX
User avatar
moomoofx
FXCodeBase: Confirmed User
 
Posts: 193
Joined: Wed Oct 23, 2013 10:26 pm
Location: Okinawa, Japan. http://moomooforex.com

Re: High Low Breakout Strat

Postby moomoofx » Thu May 15, 2014 5:11 am

The two requested enhancements have been added to the strategy.
- Ability to specify stop in pips instead of the strategy deciding
- Ability to filter the trade direction.

Source has been updated in the original post on this thread, please redownload from there.

Cheers,
MooMooFX
User avatar
moomoofx
FXCodeBase: Confirmed User
 
Posts: 193
Joined: Wed Oct 23, 2013 10:26 pm
Location: Okinawa, Japan. http://moomooforex.com

Re: High Low Breakout Strat

Postby kankatrader » Thu Jul 17, 2014 11:42 am

Hi,

is it possible to ad this function:

1. Excess (in Pips over high limit to open position).

2. Start and Stop Time for Trading.

Best Regards

kankatrader
kankatrader
 
Posts: 38
Joined: Fri Jan 14, 2011 6:26 am

Re: High Low Breakout Strat

Postby coonzer » Mon Nov 03, 2014 5:54 am

Would it be possible, to combine this strategy with fractals: placing entry oders not according to high and low of the last candle but to local extremes determined by the fractals indicator?

Best Regards!
coonzer
 
Posts: 4
Joined: Mon Nov 03, 2014 5:49 am

Next

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 19 guests