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?

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

  1. Nicolas • 08/10/2017 #

    Nice simple idea and indi, thanks for sharing!

  2. supertiti • 08/10/2017 #

    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 • 08/10/2017 #

      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 • 08/10/2017 #

    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 • 08/10/2017 #

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

  4. JohnScher • 08/10/2017 #

    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 • 08/10/2017 #

    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 • 08/10/2017 #

    So, and now who would write the code ?

    • sreenivas • 08/10/2017 #

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

    • Nicolas • 08/10/2017 #

      This website is dedicated to prorealtime trading platform programming.

  7. victormork • 08/10/2017 #

    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 • 08/10/2017 #

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

  8. victormork • 08/10/2017 #

    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 • 08/10/2017 #

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

    • victormork • 08/10/2017 #

      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 • 08/10/2017 #

    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 • 08/10/2017 #

    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 • 08/10/2017 #

    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 • 08/10/2017 #

    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 • 08/10/2017 #

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

  15. Realtime82 • 08/10/2017 #

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

  16. besserwerden • 08/10/2017 #

    Hi, i like this bollinger moz arrwos. How can I use this indicator in an screener? I want to screen all shares with an green arrow within the last 3 bars.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+5 more likes

Related users ' posts
rafadonl2 is not taken into account in the procedure. It considers only if it is a doji or when candle...
Guibourse Okay thanks, just a question : how do you plot your two lines in the same window as price ? ...
rafadonl2 sorry, I don't understand your question. Indicator draws Heikin Ashi candle, not price cand...
flodefacebook Merci Nicolas pour cet indicateur. Très utile dans une technique de retournement.
HeikinAshi thank you for this very interesting indicator Nicolas! did you define a tradable setup fo...
mahdi how can I import itf file into mt4? please help
Nicolas That code is not for MT4, we do not offer free assistance for this platform, but you can ask...
guinsu2000 hello could you share your copy in a pdf or where you whant please ?
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!
Aaron Bennett Nice analysis, with the proposed tweak I'm seeing great performance since 2008/QE on the CAC...
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...
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...
bertrandpinoy bonjour j ai un probleme avec ce code modifié, apparement PRT ne veut pas...avez vous une so...
Nicolas No sorry, please use this file instead into a prorealtime trading platform.
rdabbs I just installed this indicator. It opens in its own pane rather than overlaid on the chart ...
Nicolas Just apply it on your price chart instead and you're ok.
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....
Jodal Bonjour Nicolas, Merci pour cet indicateur! Est-ce possible de configurer une alerte pou...
Nicolas Merci pour le post dans le forum en respectant les règles de publication énoncées dans le ca...
Dron De lo mejorcito
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.
Bolbo It does not appear over the price indicator on V11. Thanks in advance.
Nicolas Rien, il faut l'appliquer sur la charte. Soit le mettre sur le graphique du prix, à l'aide d...
signorini Merci pour votre réponse. Je l'applique sur la charte, j'utilise la petite clé pour effacer ...
signorini Je vous remercie, Nicolas. C'est fixé. Très bon week-end.
Abz  hi , you need to add the indicator from the "price" menu in chart
Francesco Thank you Abz!
phanz Hi Nicolas, this is an interesting strategy. For long position, I assume entry when prices ...
Lyam Pareil ne marche pas dommage
ahmedbouaziz89 Bonjour, quand j'ajoute le code ou le fichier dans l'outils screeners de Prorealtime je ne v...
tyvix Bonjour le code marche bien c est juste qu'il n y a pas d opportunité au moment ou vous le...
diegofe_2000 vamos a probarlo
Wing Yes, investigate as much as you want. For more insight, you can view the linet1, linet2 etc....
CKW Hi Wing, Thanks for your sharing. I am still trying to breakdown & understand your code...
Wing Hello CKW. No, the parameter, 7 in this case, is used when calling the RSI indicator to ide...

Top