Results 1 to 9 of 9
 4 Attachment(s)    

Thread: BB scalper

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    17

    Default BB scalper

    I have a very simple EA I would like to test, if you can program it, Funyoo.

    The rules are quite simple:
    1) Use of Bollinguer bands using the exponential average of X periods
    2) Standar deviation for the Bands will be above 3, and defined by the user if possible
    3) We will calculate the average of the last 70 periods for the bollinger bands with 1 standar deviation, and will use it as a filter.
    The formula using prorealtime program should be like this (hope it helps):
    variable1 = average(20)[close]+1*standardeviation
    variable2 = average(20)[close]-1*standardeviation
    variable3 = variable1-variable2
    filtro = average(70)[variable3]

    4) Filtro will be multiplied by a new variable (from 0.5 to 2) and used to form a new band
    filterup = average(20)[close]+ z*filtro
    filterdown = average(20)[close] -z*filtro

    5) Finally, the rules for the EA:
    Long: the BB is below the filterdown and the price crosses down the BB, we go long
    Short: the BB is above the filterup and the price crosses up the BB

    We add a Martingala option to double the position every XX pips

    We close the position after getting YY pips of profit in all trades

    I hope I have explaind the idea easily.

    Thanks

  2. #2
    Junior Member
    Join Date
    Nov 2009
    Posts
    17

    Default

    just moving it up again

  3. #3
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by jose7674 View Post
    I have a very simple EA I would like to test, if you can program it, Funyoo.

    The rules are quite simple:
    1) Use of Bollinguer bands using the exponential average of X periods
    2) Standar deviation for the Bands will be above 3, and defined by the user if possible
    3) We will calculate the average of the last 70 periods for the bollinger bands with 1 standar deviation, and will use it as a filter.
    The formula using prorealtime program should be like this (hope it helps):
    variable1 = average(20)[close]+1*standardeviation
    variable2 = average(20)[close]-1*standardeviation
    variable3 = variable1-variable2
    filtro = average(70)[variable3]

    4) Filtro will be multiplied by a new variable (from 0.5 to 2) and used to form a new band
    filterup = average(20)[close]+ z*filtro
    filterdown = average(20)[close] -z*filtro

    5) Finally, the rules for the EA:
    Long: the BB is below the filterdown and the price crosses down the BB, we go long
    Short: the BB is above the filterup and the price crosses up the BB

    We add a Martingala option to double the position every XX pips

    We close the position after getting YY pips of profit in all trades

    I hope I have explaind the idea easily.

    Thanks
    Hi jose7674,

    Here is BB Scalper.

    I have created two indicators required for the EA.
    Attached Files Attached Files

  4. #4
    Junior Member
    Join Date
    Nov 2009
    Posts
    17

    Default

    Thanks a lot, Funyoo. I will start testing this weekend, and will post the tests as soon as possible

  5. #5
    Junior Member
    Join Date
    Nov 2009
    Posts
    17

    Default

    Hi Funyoo, can you explain what "advanced order management" is used for?

    Is it the martingale option?

    Thanks

  6. #6
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by jose7674 View Post
    Hi Funyoo, can you explain what "advanced order management" is used for?

    Is it the martingale option?

    Thanks
    Hi jose7674,

    That's correct.

  7. #7
    Junior Member
    Join Date
    Nov 2009
    Posts
    17

    Default

    Hi again, Funyoo

    The EA has a problem when turning reversesignals= true (buy when crossing down the lower bollinger band)
    Well, it launches all trades (maxtrades) in the same bar, even when tradesperbar = 1, so the matingala option is no longer working.

    If reversesignals= false, the tradesperbar and maxtrades seem to work perfectly.

    thanks

  8. #8
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by jose7674 View Post
    Hi again, Funyoo

    The EA has a problem when turning reversesignals= true (buy when crossing down the lower bollinger band)
    Well, it launches all trades (maxtrades) in the same bar, even when tradesperbar = 1, so the matingala option is no longer working.

    If reversesignals= false, the tradesperbar and maxtrades seem to work perfectly.

    thanks
    Hi jose7674,

    Here is a new version.
    Attached Files Attached Files

  9. #9
    Junior Member
    Join Date
    Nov 2009
    Posts
    17

    Default

    Working perfectly, will not make me rich, but itīs safe and with low DD

Similar Threads

  1. MSR Scalper
    By funyoo in forum Expert advisors backtesting
    Replies: 0
    Last Post: 01-30-2011, 19:06
  2. RSI MA Scalper
    By fxtester in forum Expert advisors live statements
    Replies: 3
    Last Post: 04-22-2010, 12:37
  3. RVI MA Scalper
    By funyoo in forum Expert advisors backtesting
    Replies: 3
    Last Post: 03-25-2010, 15:36
  4. MJR Scalper EA
    By mikerawson in forum Ideas for expert advisors
    Replies: 0
    Last Post: 02-25-2010, 00:17

Tags for this Thread

add, average, bands, bollinger, funyoo, indicators, low, martingale, profit, scalper, simple, test

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •