BBOnMACD Breakout Strategy

Strategies are published here.

Moderator: admin

BBOnMACD Breakout Strategy

Postby Apprentice » Fri Mar 06, 2020 6:48 am

1.png

2.png


Open a long position :
1) When the top line of the breakout indicator is breaking by the current course who is going up.
2) And when the current course of the BBonMACD indicator is crossing or is upper the banda superior.
Close position when the current course of the BBonMACD is crossing the banda superior who is going down or in the end of the day.
Open a short position :
1) When the bot line of the breakout indicator is breaking by the current course who is going down.
2) And when the current course of the BBonMACD indicator is crossing or is under the banda inferior.
Close position when the current course of the BBonMACD is crossing the banda inferior who is going up or in the end of the day.

BBonMACD.lua
viewtopic.php?f=17&t=69303

breakout.lua
viewtopic.php?f=17&t=966

BBOnMACD Breakout Strategy.lua
(15.55 KiB) Downloaded 203 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 27498
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: BBOnMACD Breakout Strategy

Postby Infime » Thu Jul 02, 2020 5:26 am

Hi Apprentice,

I tried all of possibilities and it doesn't work.
So can you create a new strategy always based on the breakout indicator + 2 MVA :

Long position :
Open when the first MVA is crossing the upper line of the breakout indicator and if the second MVA is positive.
Short position :
Open when the first MVA is crossing the lower line of the breakout indicator and if the second MVA is negative.
Close positions when the first MVA is crossing the second MVA.

Options :
- Enable time frame for entry/exit positions.
- Enable paramaters for the MVA's.
Infime
 
Posts: 46
Joined: Thu Aug 22, 2019 11:44 am

Re: BBOnMACD Breakout Strategy

Postby Apprentice » Thu Jul 02, 2020 7:24 am

Your request is added to the development list.
Development reference 1616.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 27498
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: BBOnMACD Breakout Strategy

Postby Apprentice » Fri Jul 03, 2020 4:57 am

Breakout 2 MA Strategy.lua
(24.34 KiB) Downloaded 108 times

Try this version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 27498
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: BBOnMACD Breakout Strategy

Postby Infime » Fri Jul 03, 2020 5:21 am

Thanks it's this but can you add the "exit time frame" ? Conditions are the same but just a different time frame to exit.
And add a filter : the BBONACD indicator. (viewtopic.php?f=17&t=69303&p=131770&hilit=BBONMACD#p131770)
If it's green : Open only long position.
If it's red : Open only short position.

Thanks.
Infime
 
Posts: 46
Joined: Thu Aug 22, 2019 11:44 am

Re: BBOnMACD Breakout Strategy

Postby Apprentice » Sat Jul 04, 2020 4:37 am

Your request is added to the development list.
Development reference 1627.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 27498
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: BBOnMACD Breakout Strategy

Postby Apprentice » Mon Jul 06, 2020 2:11 pm

Breakout 2 MA Strategy v2.lua
(138.07 KiB) Downloaded 103 times

Try this version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 27498
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: BBOnMACD Breakout Strategy

Postby Infime » Mon Jul 06, 2020 5:28 pm

Hi,

Thanks for your work but something is missing... The "exit time frame". Can you add the exit time frame option please ? Look at the picture attached.

Thank you.
Attachments
Screenshot.PNG
Infime
 
Posts: 46
Joined: Thu Aug 22, 2019 11:44 am

Re: BBOnMACD Breakout Strategy

Postby Apprentice » Tue Jul 07, 2020 8:04 am

Your request is added to the development list.
Development reference 1645.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 27498
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: BBOnMACD Breakout Strategy

Postby Apprentice » Wed Jul 08, 2020 4:41 am

Breakout 2 MA Strategy v3.lua
(138.07 KiB) Downloaded 90 times

Try this version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 27498
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 5 guests