Bollinger Bands

1 replies

jdowney

Customer, bbp_participant, community, 12 replies.

Visit profile

10 years ago #111925

HI,

 

Is there a way to close a trade when the Bollinger Bands winden at a certain percentage.

 

and if Bollinger Bands widen that no trades occur until Bollinger Bands narrow back into ranging level?

 

See attachment screen shot

 

Regards John.

 

 

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

10 years ago #123544

Hi,

 

it is possible to define something like this, but the rules you mentioned are not very exact. 

BB widen at certain percentage of what?

 

In any case, you can use also +, -, * in your conditions, so you are able to define this. They are available in Functions.

 

So your condition could be like:

 

IF (Bollinger Band(…, Upper) – Bollinger Band(…, Lower)) > 2 * ATR(10)

 

THEN Close All Positions

 

this means that if BB range is bigger than 2 * ATR(10) it will close all positions.

 

You can use different comparison, for example  you can use Bollinger bands range from the past instead of ATR. 

 

Mark

Mark
StrategyQuant architect

0

Viewing 1 replies (of 1 total)