Skip This Ad >>
 
Register
Forgotten your password?
The Facebook Platform
Forex-TSD - Powered by vBulletin
Loading search...
Advanced search
  • Home
  • Forums
    Free sections Exclusive sections All sections
  • Register
    Create new account
  • More Recent
    Latest Threads Today's Posts
  • Rankings
    Most popular threads this month Most popular threads created this month Most linked threads this month Most active users Most reputed users
  • Calendar
  • Advertising
  • Others
    Blogs Toolbar
  • Help
    Contact Us FAQ
  • Premium Forum
  • Home
  • Forum
  • Downloads
  • Expert Advisors - Metatrader 4
  • Bollonger bands based EA

Thread: Bollonger bands based EA



  • LinkBack
    • LinkBack URL LinkBack URL
    • About LinkBacks About LinkBacks
    •  
    • Bookmark & Share
    • Digg this Thread!
    • Add Thread to del.icio.us
    • Bookmark in Technorati
    • Tweet this thread
  • Thread Tools
    • Show Printable Version
    • Email this Page…
    • Subscribe to this Thread…
  • Display
    • Switch to Hybrid Mode
    • Switch to Threaded Mode
Results 1 to 10 of 25
Page 1 of 3 123 Next LastLast
9 9 Attachment(s)

  1. 10-12-2008 11:41 AM #1
    dealstone's Avatar
    dealstone
    dealstone is offline Junior Member
    Points: 11,211, Level: 13
    Level completed: 17%, Points required for next Level: 1,089
    Overall activity: 0%
    Join Date
    Sep 2007
    Posts
    15
    Points
    11,211
    Level
    13
    Achievements:
    Veteran500 Experience Points

    Bollonger bands based EA

    Hi there!

    Let me introduce the my EA based on Bollinger's bands (BB). The main idea is to buy when main BB is crossed by price bottom-up and vice-versa, - to sell when price crosses BB's main line top-down.
    We have here some stops and limiters: there are addition levels that should prevent us to open position when price crossed BB main line by accident (levels 0.05/-0.05, 0.05 means 5 % of difference between BB's high and main lines), levels called h2 (0.4/-0.4) are StopLoss levels, h3 is TakeProfit: if you bought, the level -0.4 would be a StopLoss, and TakeProfit would be placed on level h3 (may be more or less than h2).
    Also there is a limiter by market's volatility: the difference between level h3 and BB's main line is called delta, I set up high and low values (delta_h and delta correspondingly). EA cannot open new position if current “delta_h” is more or “delta” is less than predefiend values.
    There is also trailing module that should control open position. If you opened posiion (buy for example), the stoploss would be set to the -h2 and takeprofit to the h3. SL level would be set to the “sl_dist1” level later on, if profit reached “sl_level1”, the “sl_dist2” level would be applied, and so on. No changes should be applied to the TakeProfit.
    Again, I set here money management module, that calculates last consecutive loss/profits and has separate value for each progression. For example, if we have a progression that consists of last 5 wins/losses, the “prk5” will be used as the volume of new position. All “prk” are set to the 0.01 lots by default.
    The main difficulty I've been facing during the optimization process is the not so good results when was tested on the data that were out of recall.
    Please post your ideas/suggestions to this thread or PM me
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	report1.gif 
Views:	3633 
Size:	8.2 KB 
ID:	70594  
    Attached Files
    • File Type: ex4 BB_advTrailing.ex4 (9.3 KB, 2789 views)
    Last edited by Linuxser; 10-12-2008 at 09:39 PM. Reason: @
    • Share
      • Share this post on
      • Digg
      • Del.icio.us
      • Technorati
      • Twitter
    De gustibus non est disputandum.
    Reply With Quote Reply With Quote

  2. 10-12-2008 12:03 PM #2
    dealstone's Avatar
    dealstone
    dealstone is offline Junior Member
    Points: 11,211, Level: 13
    Level completed: 17%, Points required for next Level: 1,089
    Overall activity: 0%
    Join Date
    Sep 2007
    Posts
    15
    Points
    11,211
    Level
    13
    Achievements:
    Veteran500 Experience Points

    trade's screen

    Please see this screen shot that may help you to get how it works.

    Thank you.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	gbpusdm60.gif 
Views:	3704 
Size:	40.1 KB 
ID:	70595  
    • Share
      • Share this post on
      • Digg
      • Del.icio.us
      • Technorati
      • Twitter
    De gustibus non est disputandum.
    Reply With Quote Reply With Quote

  3. 10-12-2008 12:05 PM #3
    dealstone's Avatar
    dealstone
    dealstone is offline Junior Member
    Points: 11,211, Level: 13
    Level completed: 17%, Points required for next Level: 1,089
    Overall activity: 0%
    Join Date
    Sep 2007
    Posts
    15
    Points
    11,211
    Level
    13
    Achievements:
    Veteran500 Experience Points
    Pls disregard one
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	gbpusdm60.gif 
Views:	3413 
Size:	40.1 KB 
ID:	70596  
    Last edited by dealstone; 10-12-2008 at 01:15 PM.
    • Share
      • Share this post on
      • Digg
      • Del.icio.us
      • Technorati
      • Twitter
    De gustibus non est disputandum.
    Reply With Quote Reply With Quote

  4. 10-12-2008 05:24 PM #4
    evereal
    evereal is offline Junior Member
    Points: 4,011, Level: 6
    Level completed: 46%, Points required for next Level: 489
    Overall activity: 0%
    Join Date
    Sep 2008
    Posts
    16
    Points
    4,011
    Level
    6
    Achievements:
    Veteran250 Experience Points
    hi dealstone, thanks for sharing your EA.
    can you please post the setting file of the sample Images in the first post?
    and also the "StrategyTester.htm" please.
    • Share
      • Share this post on
      • Digg
      • Del.icio.us
      • Technorati
      • Twitter
    Reply With Quote Reply With Quote

  5. 10-13-2008 04:53 AM #5
    ryanfx168
    ryanfx168 is offline Junior Member
    Points: 2,499, Level: 4
    Level completed: 57%, Points required for next Level: 301
    Overall activity: 0%
    Join Date
    Apr 2008
    Posts
    4
    Points
    2,499
    Level
    4
    Achievements:
    Veteran500 Experience Points
    It's very good,thank you.
    Does your ea have time limited?
    thanks
    • Share
      • Share this post on
      • Digg
      • Del.icio.us
      • Technorati
      • Twitter
    Reply With Quote Reply With Quote

  6. 10-13-2008 09:05 AM #6
    dealstone's Avatar
    dealstone
    dealstone is offline Junior Member
    Points: 11,211, Level: 13
    Level completed: 17%, Points required for next Level: 1,089
    Overall activity: 0%
    Join Date
    Sep 2007
    Posts
    15
    Points
    11,211
    Level
    13
    Achievements:
    Veteran500 Experience Points
    Hi guys!

    Please see StrategyTester.htm, image and .set file attached, it was being optimized during Oct 2007 - May 2008 with the settings that you can find out in .set file, there was enabled "Long & short positions" option.

    In regards to the used timeframe - I prefer the H1, however I think that more timeframes may and should be tested, at least M30, H4.

    Thank you.

    Best,

    Dealstone.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	StrategyTester1.gif 
Views:	3240 
Size:	8.2 KB 
ID:	70669  
    Attached Files
    • File Type: htm StrategyTester1.htm (32.4 KB, 765 views)
    • File Type: set strategytester1.set (1.4 KB, 566 views)
    • Share
      • Share this post on
      • Digg
      • Del.icio.us
      • Technorati
      • Twitter
    De gustibus non est disputandum.
    Reply With Quote Reply With Quote

  7. 10-13-2008 09:13 AM #7
    dealstone's Avatar
    dealstone
    dealstone is offline Junior Member
    Points: 11,211, Level: 13
    Level completed: 17%, Points required for next Level: 1,089
    Overall activity: 0%
    Join Date
    Sep 2007
    Posts
    15
    Points
    11,211
    Level
    13
    Achievements:
    Veteran500 Experience Points
    There are a couple raw ideas that can be implemented:

    - to divorce long and short positions, to use different settings buying and selling;

    - to calculate approx profit positions' lifetime and close them by the time.

    Any ideas/comments ?
    • Share
      • Share this post on
      • Digg
      • Del.icio.us
      • Technorati
      • Twitter
    De gustibus non est disputandum.
    Reply With Quote Reply With Quote

  8. 10-13-2008 11:42 AM #8
    Roger_Taum
    Roger_Taum is offline Member
    Points: 3,749, Level: 6
    Level completed: 17%, Points required for next Level: 751
    Overall activity: 7.0%
    Join Date
    Jul 2007
    Posts
    33
    Points
    3,749
    Level
    6
    Achievements:
    Veteran500 Experience Points
    Hi Dealstone,

    The EA is crushing my MT platform. What could be the reason? Thanks.
    • Share
      • Share this post on
      • Digg
      • Del.icio.us
      • Technorati
      • Twitter
    Reply With Quote Reply With Quote

  9. 10-14-2008 04:21 AM #9
    MANSTIR's Avatar
    MANSTIR
    MANSTIR is offline Senior Member
    Points: 24,029, Level: 22
    Level completed: 2%, Points required for next Level: 1,471
    Overall activity: 0%
    Join Date
    Nov 2007
    Posts
    161
    Points
    24,029
    Level
    22
    Achievements:
    VeteranRecommendation Second Class500 Experience Points
    Thanks for sharing, i've never think of breakout BB strategi before...hmmm when i see your rules strategy, its open my eyes clear now... thanks again

    correct me if i'm wrong, your strategy based on breakout center line of BB, right?
    Last edited by MANSTIR; 10-14-2008 at 04:25 AM.
    • Share
      • Share this post on
      • Digg
      • Del.icio.us
      • Technorati
      • Twitter
    Reply With Quote Reply With Quote

  10. 10-14-2008 10:24 PM #10
    dealstone's Avatar
    dealstone
    dealstone is offline Junior Member
    Points: 11,211, Level: 13
    Level completed: 17%, Points required for next Level: 1,089
    Overall activity: 0%
    Join Date
    Sep 2007
    Posts
    15
    Points
    11,211
    Level
    13
    Achievements:
    Veteran500 Experience Points
    Hi again!

    Thanks to everyone who is interested in improvement of this EA !

    Roger_Taum, I did not get clearly what had happened, code page does not have any command/include that could break your trading platform. Please specify the issue you experienced, maybe screenshot will be needed.

    MANSTIR, you are right, it will open position once the central (main) line is broken. The trade will start, if iHIGH values of 2 last bars iHigh(1) && iHigh(2) are less than first level (usual, first levels are +-10% of BB_HIGH-BB_MAIN, i.e. of half a Bollinger bands' channel) - for buying; sure, it should check iLow of last 2 bars and (-10%) control line for selling.

    Regards,

    Dealstone.
    • Share
      • Share this post on
      • Digg
      • Del.icio.us
      • Technorati
      • Twitter
    De gustibus non est disputandum.
    Reply With Quote Reply With Quote

Page 1 of 3 123 Next LastLast
9 9 Attachment(s)

Quick Navigation Expert Advisors - Metatrader 4 Top
  • Site Areas
  • Settings
  • Private Messages
  • Subscriptions
  • Who's Online
  • Search Forums
  • Forums Home
  • Forums
  • Announcements
    1. Announcements Blog
  • Exclusive Forum
    1. Elite Section
  • Forex Press
    1. Analytics
    2. Articles
    3. Success Stories
  • Discussion Areas
    1. General Discussion
    2. Metatrader 4
      1. Metatrader 3
    3. Metatrader 5
    4. Post and compare Trades
    5. Setup Questions
    6. Suggestions for Trading Systems
    7. Documentation
    8. Strategy Trader
  • Non Related Discussions
  • Downloads
    1. Indicators - Metatrader 4
      1. Indicators - Metatrader 3
      2. Indicators - Metatrader 5
    2. Manual trading systems
    3. Expert Advisors - Metatrader 4
      1. TSD Expert Advisors
      2. Expert Advisors - Metatrader 5
      3. Expert Advisors - Metatrader 3
    4. Tools and utilities
    5. Tools and utilities - Strategy Trader
  • Trading systems
    1. CatFx50
    2. Brain Systems
    3. Ema Cross
    4. Harmonic trading
    5. The "XO"-Method
    6. Phoenix
    7. Dolly
    8. Digital Filters
    9. Martingale/Average Cost and Hedging
  • Automated Trading
    1. News/Signal Trading
    2. FX Signals Marketplaces
  • Commercial systems
    1. Commercial Trading Systems and indicators
    2. Raw Commercial Ideas
    3. Evaluate Commercial Ideas
  • Brokers
    1. Metatrader brokers
  • Programming
    1. MetaTrader Programming
    2. TradeStation Programming
  • Training
    1. Metatrader
      1. Metatrader 4 mql 4 - Development course
        1. Questions
        2. Lessons
    2. TradeStation

» Popular Tags

analysis backtest best broker breakout broker chart charts close all orders script copier data window day trading decompile ex4 ea ma EUR/USD eurusd exit strategies expert expert adviser expert advisor

» Rankings

Hottest Threads

1  Eurusd/gbpusd
2  CatFx50
3  10points 3.mq4
4  FxOpen
5  Multi Timeframe Indicators

view more
 

Most Popular Threads

1  Multi Timeframe In...
2  CatFx50
3  Something interesting pl...
4  The Murrey Math Trading System
5  Show Us Your Best

view more

» FEATURED BROKERS



« Previous Thread | Next Thread »

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Better Bollinger Bands...
    By forextrades in forum Metatrader 4
    Replies: 22
    Last Post: 04-08-2012, 08:27 AM
  2. boolinger_starc bands
    By deepdrunk in forum Indicators - Metatrader 4
    Replies: 26
    Last Post: 03-25-2008, 06:25 PM
  3. adjustable bollinger bands
    By oneprint in forum Indicators - Metatrader 4
    Replies: 8
    Last Post: 05-29-2007, 01:08 AM
  4. Fib bollinger bands
    By Thruline in forum Indicators - Metatrader 4
    Replies: 4
    Last Post: 03-16-2006, 07:40 PM

Tags for this Thread

  • bollinger bands ea,
  • bbands EA,
  • Bands,
  • bollinger bands,
  • Bollonger Bands,
  • bollinger ea,
  • ea bollinger bands,
  • bollinger band ea,
  • ea bollinger band,
  • bolinger band ea,
  • bollinger bands ea mt4,
  • bollinger bands expert advisor,
  • BB_advTrailing,
  • mt4 ea bollinger band,
  • bollinger band EA MT4,
  • ea bands,
  • ea bolinger band

View Tag Cloud

Bookmarks

Bookmarks
  • Submit to Digg Digg
  • Submit to del.icio.us del.icio.us
  • Submit to Technorati Technorati
  • Submit to Furl Furl
  • Submit to StumbleUpon StumbleUpon
  • Submit to Reddit Reddit
  • Submit to Facebook Facebook
  • Submit to Blink List Blink List
  • Submit to Google Google
  • Submit to Yahoo My Web Yahoo My Web
  • Submit to Twitter Twitter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  • BB code is On
  • Smilies are On
  • [IMG] code is On
  • [VIDEO] code is On
  • HTML code is Off
  • Trackbacks are On
  • Pingbacks are On
  • Refbacks are On

Forum Rules

Forums
  • Free sections
  • Exclusive sections
  • All sections
Calendar Social Networking
Premium Forum
  • Elite Membership
  • Advanced Membership
All times are GMT. The time now is 07:19 PM.
Terms and Conditions
PRIVACY POLICY
Powered by vBulletin® Version 4.1.11
Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Digital Point modules: Sphinx-based search

Subscribe today and get...

Elite Membership
  • Elite Trading Systems
  • Propietary Indicators
  • Private Performance Reports
  • Elite EAs Source Code
  • 24/5 Trading Support!
Advanced Membership
  • Elite benefits, plus:
  • - MT4 & MT5 cutting-edge indicators.
  • - Advanced propieatry indicators and its source codes.
  • - Free conversion of MT4 indicatiors to MT5.
View our best offer!