ADX and Bolinger Bands strategy

Strategies are published here.

Moderator: admin

ADX and Bolinger Bands strategy

Postby Alexander.Gettinger » Fri Feb 18, 2011 1:27 am

Strategy based on 2 indicators: ADX and Bolinger Bands (BB).

BUY conditions:
ADX<[Level ADX] and Price<BB bottom line

SELL conditions:
ADX<[Level ADX] and Price>BB top line

BADX.png


Download:
BADX.lua
(12.96 KiB) Downloaded 1285 times


The Strategy was revised and updated on December 18, 2018.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: ADX and Bolinger Bands strategy

Postby rose123 » Sat Oct 22, 2011 1:25 pm

can you modify the strategy as follows
buy when:ADX >[Level ADX] and price >ema200 price cross over bottom line
exit buy when: price cross under top line or price cross under ema 200
sell when :ADX >[Level ADX] and price < ema 200 price cross under top line
exit sell when: price cross over bottom line or price cross over ema 200
Attachments
adx bb ema strategy.png
Last edited by rose123 on Mon Oct 24, 2011 8:20 am, edited 3 times in total.
User avatar
rose123
FXCodeBase: Initiate
 
Posts: 142
Joined: Mon Oct 17, 2011 6:01 am


Re: ADX and Bolinger Bands strategy

Postby Apprentice » Mon Apr 09, 2012 3:52 am

BB MA ADX Strategy.png

buy
ADX >[Level ADX] and price >ema200
price cross over B.B. bottom line
exit buy
price cross under B.B. top line
or price cross under ema 200
sell
ADX >[Level ADX] and price < ema 200
price cross under B.B. top line
exit sell
price cross over B.B. bottom line
or price cross over ema 200
BB MA ADX Strategy.lua
(19.48 KiB) Downloaded 864 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36474
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ADX and Bolinger Bands strategy

Postby LordTwig » Mon May 13, 2013 5:00 am

Hi Apprentice, or others,

I have a problem where this strategy set on timeframe(TF) of 15min is closing out opened trades of the same strategy but opened using different TF conditions. ie;

Same Strategy is used but....
1 x trade is opened by conditions relevant and set to 15min periods
1 x trade is opened by conditions relevant and set to 1min periods

Exit/closing conditions of 15min strategy opened trade is signaling to close the trade that was opened by the 1min TF......and vice versa.

My question is....
How can I make the strategy only exit/close a opened trade from the same timeframe conditions it was opened in/from?

Can you modifiy and post this strategy to do that :?: so we can see how you do it.... :)
Cheers
LordTwig
LordTwig
FXCodeBase: Confirmed User
 
Posts: 157
Joined: Fri Mar 12, 2010 3:15 am

Re: ADX and Bolinger Bands strategy

Postby Apprentice » Wed May 15, 2013 2:55 am

In the current implementation, this is not possible.
We need to write a new trading trading functions for this purpose.
Whose scope will be limited to its own position.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36474
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ADX and Bolinger Bands strategy

Postby jaricarr » Thu Jul 07, 2016 11:37 pm

Hi Apprentice,

Can we have a secondary strategy with alternate entry conditions ?

Long:
Price is above EMA (adjustable period)
DMI > adjustable level
Price crosses-over upper BB

Exit:
Price crosses-under upper BB

Short:
Price is below EMA (adjustable period)
DMI > adjustable level
Price crosses-under lower BB

Exit:
Price crosses-over lower BB

Thanks,
JC
Many thanks,
JariCarr
jaricarr
FXCodeBase: Initiate
 
Posts: 102
Joined: Fri Feb 19, 2016 12:39 pm

Re: ADX and Bolinger Bands strategy

Postby jaricarr » Fri Jul 08, 2016 10:37 am

Sorry I meant ADX > adjustable level
Many thanks,
JariCarr
jaricarr
FXCodeBase: Initiate
 
Posts: 102
Joined: Fri Feb 19, 2016 12:39 pm

Re: ADX and Bolinger Bands strategy

Postby jaricarr » Wed Jul 20, 2016 3:52 pm

Hi,

Any updates for this request ?

Thanks,
JC
Many thanks,
JariCarr
jaricarr
FXCodeBase: Initiate
 
Posts: 102
Joined: Fri Feb 19, 2016 12:39 pm


Next

Return to Custom Strategies

Who is online

Users browsing this forum: Bing [Bot] and 35 guests