fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    help me code strategies only Boilinger band and stochastic

    Questions & Answers
    2
    4
    1182
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bexiu last edited by

      help me code this strategies, I don't know where 1/3 candlestick close above or below boilinger band!

      __Apply: Apply the main pair
      Time: Frametime: H1 and H4
      Installation:

      • Only used Boilinger Band 20 2 and Stochatic 8 3 3
      • And use indicator show time, swap, spead…
        Entry:
        Buy : If 1/3 candle close obove boilinger band line and stochastic stay within 80-20
        Sell: If 1/3 candlestick close below boilinger band line and stochastic stay within 80-20
        Set SL below boilinger band about 5 pips if buy or set 5 pip above boilinger band if sell
        Set TP = SL (R:R 1:1)
        Exit:
      • When touching SL or TP
      • When there is volatility
        http://i60.tinypic.com/2dt4c5.jpg
        [/quote:39ne8q1m]
        attach file: indicator CandleCountdown and spead swap

      ......
      update - Break Out System -.rar

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        What means 1/3 of the candle for you? Here are some basic candle parameters that you can get directly: http://docs.mql4.com/constants/indicato ... nts/prices
        If it's something that does not fhese, then I can suggest to use this "Formula" block to calculate this 1/3 point. For this better read it's description to know how to use the Adjuct fields where/if needed. And if you are not sure about the output value you can check it with "Indicator tester" block.
        Then everything else is conditions - use Condition block.

        If "stay within" means something more that 1 candle for you, I can suggest this block "Indicator moves within limits" because it can check if some indicator was in between two values (upper and lower) for few candles in the past. If it's for 1 candle only... maybe this block again or with two Condition blocks.

        To set SL/TP at some custom level, in Buy now/Sell now select this option "Custom (price level)". In other blocks it can be called "Dynamic....". It's the same thing, I just have to rename this everything to "Custom...."

        1 Reply Last reply Reply Quote 0
        • B
          bexiu last edited by

          candle-close, imaging I devide whole candle-close 3 pieces, and if 1/3 of candle-close stuck out boilinger band and stochastic between 20-80 then we entry, that what I mean Bro. Thank bro
          Let me try, but if you help me out by your code it better to understand

          1 Reply Last reply Reply Quote 0
          • fxDreema
            fxDreema last edited by

            There is a block named "Condition" where you compare one value with another, this is basic. There are few other blocks that do this, but a little bit more complex, like those in "Indicators" category, but the idea is the same - if whatever is compared and the comparison is true - pass the block.

            Whole candle... what is whole candle? For someone it can be the difference between Open and Close, for other it can be the difference between High and Low.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            Online Users

            Z
            T
            T
            A
            S

            14
            Online

            146.9k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors