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 • 346 days ago #

    Nice simple idea and indi, thanks for sharing!

  2. supertiti • 346 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 • 345 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 • 342 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 • 342 days ago #

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

  4. JohnScher • 341 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 • 341 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 • 340 days ago #

    So, and now who would write the code ?

    • sreenivas • 339 days ago #

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

    • Nicolas • 339 days ago #

      This website is dedicated to prorealtime trading platform programming.

  7. victormork • 335 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 • 334 days ago #

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

  8. victormork • 333 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 • 331 days ago #

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

    • victormork • 321 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 • 321 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 • 321 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 • 321 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

  13. eltonio8 • 184 days ago #

    Hi everyone,

    can someone explain these lines literaly :

    if MyBoll >= 50 THEN
    upBoll = X > 100
    downBOLL = 0

    especially the second one.

    thx for all _

  14. redz • 118 days ago #

    bonjour, comment changer les paramettre de la BB en 20 , 2.2 ?
    hello, how to change BB setting to 20, 2.2 ?

  15. Realtime82 • 46 days ago #

    Hi I was wondering if it would be possible to get an alert (by sound) when the signals shows up in the chart?

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Jan Wind Thanks for the indicator. I will try if this indicator in combination with my favorite (sta...
pableitor Hola Domenec, un indicador muy original y util que ciertamente añade mucha informacion a la ...
Domenec Hola Pableitor porque aqui lo que pretendo es programar un nuevo codigao mas ajustado para q...
Juanjo Hola Domenec. He visto en los videos que hablas continuamente de mercado de futuros con grá...
Geronima Ortiz okay bien estaré pendiente en esta pagina gracias
Domenec Aqui dejo colgado link del video para ver como funciona el indicador https://www.youtube....
Geronima Ortiz Gracias Domenec
CN Added this to live. The issue I see is that it can have 100$-200$ win without taking the mo...
Leo This strategy does not have a Profit target, instead it has a Modified parabolic SAR which i...
Juanjo Hola?. Exactamente cuál es su utilización?.
bolsatrilera Hola Juanjo, su principio esparecido a las bandas de Bollinguer.Las lineas de las bandas son...
juanj This gets me thinking about creating a strategy on the 5min timeframe that only takes trades...
GraHal I noted above does okay on DAX 10 min with even a reduction to 30 of the Stop Loss. I've s...
lumarino Bom dia Ale. Obrigado pela partilha. Você tem alguma das suas estratégias operando em Modo R...
ALE OLÁ NESTE MOMENTO EU NÃO ESTOU USANDO ESTAS ESTRATÉGIAS DESDE QUE EU TENHO O CAPITAL OCUPADO...
lumarino Qual é então a sua Estrategia de eleição ALE??
Alai-n Merci pour ce travail...
patmaba merci Alai-n. C'est ma première participation sur prorealcode, merci pour à toi pour ton co...
Onetime Bonjour je viens d'essayer votre indicateur sauf que moi j'ai pas les signaux ( les flèches ...
Onetime Pardon non enfait ils sont bien la merci
GianfrancoCeck Salve Nicolas. Ho provato ad inserire anche questo suo indicatore, ma sulla T3 ho sempre la...
swapping Oups nicolas ! je pense que tu a oublié de mettre les variables "setting" accessible en exte...
Nicolas Je viens de vérifier, elles y sont pourtant?
swapping Mea culpa, j'ai fait un bête (copier/coller) et forcément cela ne pouvait pas y être puisqu'...
Nicolas Super ! Merci pour le retour, à très prochainement dans le forum Anglais dans ce cas :)
David29 Bonjour Nicolas, super indicateur? comment faire pour le transformer en stratégie ?
Nicolas Bonjour, merci d'ouvrir un sujet spécifique dans le forum.
Toto le Heros Tx Nicolas. Looks very interresting. No text display on my charts. Any specific option to ti...
Nicolas Be sure to have these settings set with these values: //edblHigh1 = 0.04 //edblLow1 = -0....
Toto le Heros Ok, got it ! Great ! Tx
thierryp Bonjour Nicolas, merci pour le travail que vous effectuez. Je ne suis vraiment pas bon dans ...
Wiezman74 any chance you can email me this indicator for MT4,, can't get the code to work.. limited kn...
Nicolas This website is dedicated to prorealtime programming. But you can ask for custom programming...
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.
patrick3 Merci beaucoup Nicolas pour le temps que tu passes à aider les autres, qui comme moi sont nu...
Frank Lemke hallo nicolas ich hoffe du kannst mir helfen ich möchte dein signale direkt im chart ang...
Nicolas Bitte öffnen Sie ein neues Thema im Forum, um Ihre Abfrage zu spezifizieren. Vielen Dank.
danibo Hi Francesco, thank you for replying. I try to be crearer. My question is: - what is the...
JanWd Hi Francesco, nice algorithme, works with me on other markets as well !
Francesco78 thank you Janwd. Do you mind sharing where it works? happy new year!
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...
BravoDelta @juanj wondering if you may help me please. I am looking for a simply strategy to use on the...

Top