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
Pere
7 years ago
Nicolas Use the wrench of the price chart! Upper left of the window
Dymjohn The wrench shows options for the components of the indicator not how to show in the main cha...
Nicolas http://www.prorealcode.com/topic/overlapping-indicators/  
Nicolas Well done supertiti, nicely coded and very accurate.
Dimi.A Beautiful.
Nicolas Thank you for contribution. Please consider that advertising is tolerate as long as you cont...
triss1965@gmail.com  Hi, I cant make it work. And if you doing so much money. Why do you have to sell it? It don...
T-rader Eva... He dosen´t sell anything. He is just a nice guy that want to share on of his strategy...
Pelle Nævestad Thanks Nicolas, this is a keeper!
Chicane23 Hi, when uploaded the WAE isnt showing histogram; only line. Is there a way to modify?
Nicolas Change the way the lines are displayed in the indicator settings window : histogram, lines, ...
DerPat Like your zero lag indicators.
xel @DerPat - I don't see any question regarding the indicator.  Anyway, I think I give enough l...
diegofe_2000 Xel, tu eres el creador de este indicador? Bueno te  cuento que es muy bueno para hacer est...
xel Buen día @diegofe_2000 -  Claro, mandalo y por aquí lo probamos en otros instrumentos y si g...
verdi55 At least there should be some moving average that has also reverted into the opposite direct...
verdi55 In addition to the moving average, wait until at least one bar is completely back inside the...
rama This works excellent on range bound I tried , give 90% win rates on dax , 3 min chart. can s...
totof I do my tests on the DAX however. What I can't understand is why the PRT indicator works wit...
totof for those who are interested, I made this small modification of the code for the eWMA which ...
totof //parameters : period = 20 lookback = 1 IF BarIndex < period THEN eVWMA = Close EL...
Nicolas
8 years ago
Acceleration Bands
Acceleration Bands
0
Indicators
cepamoi Unfortunately, this still does not work: ONCE haOpen = medianprice haOpen = ((Open[1]+High...
Nicolas Force calculation to wait 1 bar of history already loaded: ONCE haOpen = medianprice if b...
cepamoi Now it works. Thanks a lot Nicolas! Here is the full code: // variables : // period ...
Nicolas
9 years ago
petmut Hello all, When I import the code here above "multiple ATR bands" and apply it on the PRT ...
Nicolas That should need some custom coding, if you want to make it done, please open a new topic in...
Patopercho Hello, thanks for the indicator, i would like to change the color, is it possible, thanks

Top