Bollinger Moz Indicator

v10.3
Bollinger Moz Indicator

I started using/coding PRT last month, so please be kind. This is my first indicator, good for entry/exit positions.

Based on Bollinger Bands percentage width, it gives signals when bands are exiting from previous contraction periods.

 

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?

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

  1. Nicolas • 73 days ago #

    Nice simple idea and indi, thanks for sharing!

  2. supertiti • 73 days ago #

    Bonjour Thomas

    Pour un premier indicateur c’est plutôt bien !

    Est-il possible de le peaufiner un peu en ajoutant 2 variables des Bollinger, c’est à dire la période et l’écart.

    Tu as pris période = 20 et écart = 2 ?

    Bonne journée et bons trades

    • Thomas007 • 73 days ago #

      Hey, I’m sure you can tweak it a bit. Go ahead and try different settings and feel free to post the code here. Good trades!

  3. JohnScher • 69 days ago #

    nice idea, really.
    it s possbile that someone this coded in a strategy, the drawarrows as an entry?
    i would test and optimize with some filters tu get out some the false entries
    and would post the results.
    Can do someone this?

    • Thomas007 • 69 days ago #

      JohnScher – what kind of filters do you have in mind? and what would be the purpose?

  4. JohnScher • 68 days ago #

    i would test an optimize with some classic filters rsi, williams chandle, ease of movement, price rate of change to get out false signals

  5. Thomas007 • 68 days ago #

    That’s my point, I use this indicator on daily basis but very often get false signals to enter. It would be good to have an open discussion, and present more points of view on this topic.

  6. JohnScher • 67 days ago #

    So, and now who would write the code ?

    • sreenivas • 66 days ago #

      Hi all , i am newbie here, the above bollinger moz indicator for which platform , is it not for amibroker

    • Nicolas • 66 days ago #

      This website is dedicated to prorealtime trading platform programming.

  7. victormork • 62 days ago #

    Hi, If anyone would like to try using this indicator for entry/exit you can use a code similar to this. I tried on dax but you can change to whatever you want.
    DEFPARAM cumulateorders = false
    DEFPARAM flatbefore = 080000
    DEFPARAM flatafter = 220000

    MA1 = average[25]
    MA2 = average[25]

    MyBoll = (close[0] – BollingerDown)/(BollingerUp – BollingerDown)*100
    MyBoll2 = (high[0] – BollingerDown)/(BollingerUp – BollingerDown)*100
    MyBoll3 = (Low[0] – BollingerDown)/(BollingerUp – BollingerDown)*100

    X = (myBoll2[0] + myBoll2[1] + myBoll2[2]) /3
    Y = (myBoll3[0] + myBoll3[1] + myBoll3[2]) /3

    if MyBoll >= 50 THEN
    upBoll = X > 100
    downBOLL = 0
    ELSE
    upBOLL = 0
    downBOLL = Y 120000 and currenttime 0
    b1 = b1 and downboll = 0
    b1 = b1 and close > MA1
    If b1 then
    Buy 1 contract at market
    endif
    // sell signal
    b2 = longonmarket
    b2 = b2 and upBOLL[1] > 0
    b2 = b2 and upBOLL = 0
    if b2 then
    sell at market
    endif

    //SHORT
    // Sell signal
    s1 = not onmarket
    s1 = s1 and currenttime > 120000 and currenttime 0
    s1 = s1 and upBOLL = 0
    s1 = s1 and close 0
    s2 = s2 and downboll = 0

    If s2 then
    exitshort at market
    endif

    • Nicolas • 61 days ago #

      Thanks, so this is a complete strategy? How it performs?

  8. victormork • 60 days ago #

    No it’s not complete. Stop target and proper testing is missing. I just wrote it to show whoever asked about trading this in a strategy how it might look in a coded system. I tested it on dax. Not a very good return but it’s not terrible either. It’s on plus for several timeframes. Think the return can be much better with some more research.

  9. Captain Future • 58 days ago #

    Hi Victormork, Your Code doesn´t work on PRT 10.3 (Syntaxfehler R20 Type 18)

    • victormork • 48 days ago #

      Hi! I’m using 10.3 myself so that’s not the problem. I think the problem are the last lines in the code. they should be like this:

  10. victormork • 48 days ago #

    It didn’t work using the add PRT code button. I’ll try again without it.

    //SHORT
    // Sell signal
    s1 = not onmarket
    s1 = s1 and currenttime > 120000 and currenttime 0
    s1 = s1 and upBOLL = 0
    s1 = s1 and close 0
    s2 = s2 and downboll = 0

    If s2 then
    exitshort at market
    endif

  11. victormork • 48 days ago #

    sorry the code keep on changing when I press post comment. Basically you have to complete the SHORT section the same way as I done with the long. I’ve tried one final time below.

    s1 = s1 and close 0
    s2 = s2 and downboll = 0

  12. Stefan Arens • 48 days ago #

    Hi Vicormork, i´am sorry – but it still doesn´t work. I can´t correct the error. Prorealtime still say´s Syntax Error L20 Z18. I need help. Best reagards

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
papero76 great idea
rafadonl2 Here it is the screener. (sorry I don't speak german). //Reglas en Heikin-Ashi: //1- Sec...
finplus Muchas gracias. Have a good day.
rafadonl2 I have modified some lines and it seems this version will work better. Even so, I recommend...
flodefacebook Merci Nicolas pour cet indicateur. Très utile dans une technique de retournement.
Dymjohn I have a copy of this strategy in IG MT4 and for those who want an explanation the book whic...
Dymjohn I believe the QQE Adv needs adding with default settings of 1,8,3 to complete the strategy. ...
patrick3 Merci beaucoup Nicolas pour le temps que tu passes à aider les autres, qui comme moi sont nu...
robdav Thanks Francesco, interesting.
stefou102 I came up with a pretty similar strategy, although in my experience the following test works...
Wilko The close at MA condition does't make much sense as this strategy will stay in market until ...
juanj @Nicolas I see it also significantly brings down the drawdown on the CAC40. Btw why is th...
juanj To follow new developments or get the latest version of this strategy please visit the forum...
tahar Hello Juan, I wanted to test Universal Strategy via a demo account on PRT but nothing happen...
rejo007 C'est à propos de la partie "short" proposée par SimoneDasGupta un peu plus haut dans les co...
Doctrading AH ok, I think the ca3 is the same : ca3 = pB[1] < 0.2 and pB < 0.2 Best regards,
chromosome21 Hello everybody, First, thank you so much for all your advices, I'm a begginer in trading a...
Maz I like this
atlante je me demande si prorealtime pourrait etre programee sur fonction lorsquún point cgange de c...
bobrenard96 sorry, but your strategie doesn't work. When i implement the file, i have the error : backt...
Nicolas It's a platform error, nothing to deal with the code. Did you tried to download the itf file...
gackeen Scusa Pier, scusate tutti, sono nuovo. Ho caricato il file e mi viene restituito il messaggi...
Nicolas Thanks for sharing your automated trading strategy idea. Even if you accumulate loosing orde...
Maz Ok. Potential here to build onto this. Have opened a forum thread for further discussion: h...
diegofe_2000 cordial saludo NICOLAS , gracias por excelente indicador. ¿ es posible obtenerlo en MT4 ? ...
Nicolas Lo siento, pero no estoy trabajando para ayudar a la gente aquí de forma gratuita para promo...
diegofe_2000 Nicolas , gracias por tu atención. La pregunta era por curiosidad (yo no trabajo ni manejo ...
Nicolas An answer to a query that has been posted in the squeeze indicator: https://www.prorealcode....
Nicolas ok, so your query should be asked there: https://www.prorealcode.com/prorealtime-market-scre...
Nicolas answered here: https://www.prorealcode.com/prorealtime-market-screeners/ttm-squeeze-fired-sc...
mcha Bonsoir Nicolas, Merci beaucoup pour ce complément de code, qui fait disparaitre l'histogr...
Frankiesc Thanks Nicolas for sharing this indicator, it's interesting
CavalierDeCesDames Bonjour Nicolas, Thanks for your use full job. I tried this indicator on a shorter timefram...
Nicolas You are welcome. I'm glad you like it.
winkx Bonjour Nicolas, Je vous remercie L'indicateur est très intéressant Après c'est une quest...
Nicolas Les goûts et les couleurs...
Hans63 Good evening Nicolas, Can you add an option coloring the candlesticks? Thanks
Francesco78 Thank you Nicolas,  I have copied your nice indicator, but it shows in the lower part of th...
Abz  hi , you need to add the indicator from the "price" menu in chart
Francesco Thank you Abz!
diegofe_2000 vamos a probarlo

Top