BOLLINGER BANDS CONTRACTION 5min FOREX

BOLLINGER BANDS CONTRACTION 5min FOREX

Hi all,

I wanted to share this simple but effective strategy. It is only for 5 min time frame until multi timeframe is working in the platform, I also tested in different forex markets but not in index nor in commodities. Here is the set up for long position (for short position is the opposite).

  • Price is near and above the SMA200 hourly (i.e SMA 2400 period for 5min timeframe and a bollinger bands for definition of “near” by using the variable BB2400).
  • Contraction of Bollinger Bands of period 200 and SMA200 is upwards, contraction defined by the upper band below a maximum of its value in very short term.
  • Open Stop Order at the near term resistance by using a pseudo Donchian Channel customized by me.
  • Exit at my dynamic SAR (you can check information in a forum of me about this topic) also if close is below support. No profit target.
  • Capital management is deactivated but can be activated in the code if needed.

Have a good trade and just tell us your best setup or if you improve the code.

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. CN • 05/17/2018 #

    Added this to live.
    The issue I see is that it can have 100$-200$ win without taking the money.
    The only thing that happened is waiting the stop to be triggered.
    How come?

  2. Leo • 05/17/2018 #

    This strategy does not have a Profit target, instead it has a Modified parabolic SAR which is accelerating by comparing the actual Profit with the initial stoploss (line 127 to 139)

  3. Mattzi • 05/17/2018 #

    Running this one in demo with CAC40, inte backtest it buys and sell but not when running live. Do you know why?

    • Leo • 05/17/2018 #

      Does it opens pending orders?… maybe they were not trigger.

    • Mattzi • 05/17/2018 #

      Dont know, all i can see is that it opened an order yesterday in backtest but not live.
      The strategie has only made one trade so far maybe it will open the next.

  4. Jean-Christophe • 05/17/2018 #

    Hello Leo, when running the strategy from 29/12/2015 to 31/08/2018 on ProRealTime Premium, I noticed that the system stops automatically on 27/04/2016.
    I analyzed the performance (32 months of historical data):
    – There is a loss for Year 2016
    – Results are good from early 2017 till now as describded in your screenshot

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Jean2139 Bonjour Yvan, Merci pour ton indicateur que je trouve très intéressant. Je suppose que tu ...
Suffi Hier eine kleine Korrektur: //-----Inputs-----------------------------------------// MALengt...
kats Bonjour, J'ai une question etes vous trader? Je m'explique , j'ai téléchargé tous les indi...
MaoRai54 Thanks, now it's OK. in your first code at line 15-16 it's missing.
Madrosat Hello Ivan Did you try a strategy with this indicator
Iván Hi. No I didn't. This is a code translation requested by an user a few days ago.
bousalahane hello, thank you for sharing, I’m not top strong in the programation part, there is a way to...
Fgats Hi, With this indicator I just wanted to show the interest that can exist to synthesize th...
davidguerreir how to adapt nbStdSig values ?
superfalcio Hello, very interesting. Do you have already some tested condiction including timeframe and ...
Emil
1 year ago
Nicolas
1 year ago
5 main forex pairs average
5 main forex pairs average
4
Calculated instruments
Nicolas It's only compatible from PRT v12. With the "Calculated instruments" tool, you can know crea...
MaoRai54 many thanks. IG doesn't know when they'll release it :(
MaoRai54 Hi Nicolas, I'm here again. Today I got the v.12 in my demo account. I started it, I downlo...
FXtonio @RICOU en 1 minutes avec un filtre de tendance ZLSMA 200 et eventuellement un rsi 7 , 69% de...
JC_Bywan For people interested in the screener: https://www.prorealcode.com/topic/screener-buy-sell-m...
octum Gracias NJicolas. Las lineas 35 y 36 dan fallo. (¿Es adrede para iniciados?) Puedes co...
Alfy
2 years ago
geroniman bonjour si je comprends bien, qaund els points sont verts on regarde pour un long, le blanc ...
Alfy No, the dots only show the compression of the volatility. There are 3 levels of "squeeze" wh...
ted.hulsman Hi Alfy, I'm trying to understand your indicator, so I made the Bollinger Bands and the Kelt...
Khaled Thank you Nicolas! Looks like TDI (Trader Dynamic Index). Interesting to give Exit Signal as...
Nicolas ColorBetween is an instruction added last year: https://www.prorealcode.com/documentation/co...
finplus Bonjour, serait-il possible de remplacer l'écart formé par les bandes de Bollinger par l'ATR...
Jiacky
2 years ago
Range Factor
Range Factor
0
Indicators
JohnScher Postscript: It's running in the live right now. One position after the other is opened. ...
ullle73 nice!! how's it been since your last post on going live? :)
thomas2004ch Hi, Is this strategy suitable for daily SPY? Regards
AndPar Buongiorno Nicolas, vorrei provare questo indicatore, ma quando lo inserisco in PRT mi vengo...
Nicolas Basta aggiungerlo al prezzo https://www.prorealcode.com/blog/video-tutorials/how-to-add-an-i...
Aragorna hello Nicolas, this indicator works with the last Beta version of PRT? Ive seen tha many in...
Darren Nash I found this works well on the DOW
thomas2004ch Hi John, Is your strategy suitable for daily SPY? Regards
gatowman Hi, ich bin leider Anfänger, habe den Code zwar importiert, aber scheinbar läuft er nicht au...
Stephane0174 Bonjour et merci pour le Screener. Je suis nouveau ici et je ne connais rien en programmati...
Nicolas Je pense que c'est le copier/coller des guillemets qui pose problème, il faudrait les retape...
KAMJKAZE thanks, really interesting!
2c95 thanks, why do U prefer average than lowest ? to close under average does'nt mean another...
Stenozar Hi Sever, how can I visualize the coloured areas?
Sever Hi Stenozar, You need to add the color zones yourself , just go to Add Color Zone To set ...

Top