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

    Nice simple idea and indi, thanks for sharing!

  2. supertiti • 128 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 • 128 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 • 125 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 • 124 days ago #

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

  4. JohnScher • 123 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 • 123 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 • 122 days ago #

    So, and now who would write the code ?

    • sreenivas • 122 days ago #

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

    • Nicolas • 121 days ago #

      This website is dedicated to prorealtime trading platform programming.

  7. victormork • 117 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 • 116 days ago #

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

  8. victormork • 116 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 • 114 days ago #

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

    • victormork • 103 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 • 103 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 • 103 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 • 103 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
Alai-n Merci pour ce travail...
patmaba merci Alai-n. C'est ma première participation sur prorealcode, merci pour à toi pour ton co...
raphaelopilski great job. is it possible to make a strategy about it?
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
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'...
Rolanbay Merci beaucoup, c'est exactement ce qu'il fallait faire.
Youness Charif Bonjour Nicolas, L'indicateur s'affiche dans une fenêtre en bas et non pas sur le cours....
Nicolas Appliquer l'indicateur sur le prix à l'aide de la clé à molette située en haut à gauche de v...
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
Stanko Hi Nicolas This is my first "contact" on ProRealCode... Thank you for proposing this indicat...
Nicolas I don't think so.. You can try to make one with the assisted creation tool in ProOrder window.
Stanko Ok. Thanks
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...
danibo Hi Francesco, please may you explain how to reproduce your test? I use IG markets. Where...
Francesco78 Hi Danibo, I am not sure I undesrtand your question, you simply need to run a backtest on PR...
danibo Hi Francesco, thank you for replying. I try to be crearer. My question is: - what is the...
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...
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...
atlante je me demande si prorealtime pourrait etre programee sur fonction lorsquún point cgange de c...
lizmerrill can you provide this code for tradestation, please. Thanks
Nicolas No sorry, please use this file instead into a prorealtime trading platform.
gackeen Scusa Pier, scusate tutti, sono nuovo. Ho caricato il file e mi viene restituito il messaggi...
JR1976 HI Nicolas , I tried to copy paste but not import directly and the code works well I hav...
mcosta This code doesn't work on 10.3 platform(IG), neither with copy/paste nor with itf import, an...
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....

Top