in Search

Original code of bollinger band

Last post 03-25-2009, 23:14 by Mr Travis. 3 replies.
Sort Posts: Previous Next
  •  03-25-2009, 20:27 29257

    Original code of bollinger band

    Hi All,

    Any one in this forum has the original in build bollinger band indicator for metastock?

    I just wish to code this indicator separatelly without using Bband top/bot function

    And also has any one in this forum compare the performance of better bollinger band/ denvelope and equis bollinger band ? is better bollinger band  actually better than equis bollinger band?

    Thank you

     

     

     

     

  •  03-25-2009, 21:24 29260 in reply to 29257

    Re: Original code of bollinger band

    Here is one from the net:


    Bollinger Bands formula 7 day
    enter long
    high>(mov(Close,20,S)-std(Close,20,2)) and
    ref(low,-7)<ref((mov(Close,20,S)-std(Close,20,2)),-7)
    exit long
    close<(mov(Close,20,S)+std(Close,20,2)) and
    ref(close,-7)>ref((mov(Close,20,S)+std(Close,20,2)),-7)
    and
    Mov((RSI(14)- LLV(RSI(14),14))
    /(HHV(RSI(14),14)-(LLV(RSI(14),14))),14,E)*100<70 and
    ref((Mov((RSI(14)- LLV(RSI(14),14))
    /(HHV(RSI(14),14)-(LLV(RSI(14),14))),14,E)*100),-3)>70
    and
    (mov(Close,20,S)+std(Close,20,2))>(mov(c,89,s)+(.062*(mov(c,89,s))))


  •  03-25-2009, 21:34 29261 in reply to 29257

    Re: Original code of bollinger band

    Hi Travis,

    Welcome to the forum.

    The Bollinger Band code is in the MS Users Manual, look in the section "Creating your Own Indicators"



    Hope this helps.

    wabbit Big Smile [:D]


    "The question of whether a computer can think is no more interesting than the question of whether a submarine can swim."
    Edsgar W. Dijkstra

     

    MS: 6.52 EOD, 7.x EOD, 8.0 PRO, 9.2 PRO w/QC, 10 PRO w/QC C, 11 PRO w/QC & MDK
    For custom MetaStock programming : http://www.wabbit.com.au
    My SkyPE status :
    My SkyPE account : wabbit.com.au

  •  03-25-2009, 23:14 29263 in reply to 29261

    Re: Original code of bollinger band

    Thanks a lot wabbit for your explanation and greetings

     

     

     

     

     

View as RSS news feed in XML