Forex



Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #481 (permalink)  
Old 12-06-2006, 11:54 AM
Wackena's Avatar
Senior Member
 
Join Date: May 2006
Posts: 216
Wackena is on a distinguished road
Firebird v3.2

I forgot to post this new EA. So here it is.

Attached is Firebird-v3.2.

In an attempt to minimize bad effect of strong up or down market movements, I have coded a new Firebird to use iFXAnalyzer as an up and down strong trend indicator. The EA will not place trades during strong up or down trends indicated by chart message "Market Trending up" or "Market Trending Down". I added a Hedge function option to place reverse trade when PipStep trade is triggered. Hedge orders have ability to increase lot size. I cleaned up the EA and now there are no warnings when compiled in MetaEditor. Other added functions are described below.
UseEquityProtection -if true, close all orders when negative Float is excessvie.
FloatPercent –percent of balance for equity protection.
UseMM-money management.
Risk-pecent of account equity to risk per trade.
MaxOpenOrders-sets maximum number of open trades at same time.
MinMarginLevel-below minimum Margin Level percent % trading stops.
CloseDays-number of days trade is open before auto closing.
LossLevel-loss amount before auto closing after Closedays.
UseHedge-if true, places reverse order with PipStep order.
HedgeLotFactor-hedge order Lots will be increased by this factor.
HedgeTakeProfit-
HedgeStopLoss-
AutoCal-if true, iRSI() calculation of TakeProfit, StopLoss and PipStep. (not hedge orders)

This Firebird, as well as most other versions, is very slow in backtest. I can assure the added EA functions work. In backtest with default settings, it performed well on eurusd. gbpusd backtest was a bit shakey, but still in profit. I have not tested other pairs. I hope it performs well in Demo and Live accounts. I found better profits when HedgeLotFactor is set between 2-4.

Warning: The success or failure of this Expert Advisor is the exclusive responsibility of the Enduser.


As requested by Michaelw, I have coded a Trade Time scheduler into latest Firebird v3.2. It is a little bit of overkill. But, it will allow to schedule up to 4 "Trading Time" zones per day and a full week's schedule to be set at one time.

If UseTradeScheduler=true, then the following applies.

Each "Trading Time" zone 1 through 4 has a Start and an End for each day.
To trade all day , set "day"...Start1=0 and "day"...End4=24. This is needed for each trading day.
To skip a full day, set "day"...Start1=0 and "day"...End4=0.

Note: EA is coded to use your Local PC Time.

Here is a Monday example.

MonTradeHourStart1 = 0; - (Trading Time zone 1 start)
MonTradeHourEnd1 = 8; - (Trading Time zone 1 end)
MonTradeHourStart2 = 10;
MonTradeHourEnd2 = 16;
MonTradeHourStart3 = 18;
MonTradeHourEnd3 = 20;
MonTradeHourStart4 = 22;
MonTradeHourEnd4 = 24;

In above schedule, EA trades from 00:00 (midnight) to 08:00, then from 10:00 to 16:00, then from 18:00 to 20:00, then from 22:00 to 24:00.

Non-Trading Time is from 08:00 to 10:00, then from 16:00 to 18:00, then from 20:00 to 22:00.

Wackena
Attached Files
File Type: mq4 Firebird v3.2.mq4 (29.8 KB, 3026 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #482 (permalink)  
Old 12-06-2006, 02:45 PM
Junior Member
 
Join Date: Mar 2006
Posts: 15
bedaine is on a distinguished road
Quote:
Originally Posted by Wackena
I forgot to post this new EA. So here it is.

Attached is Firebird-v3.2.

In an attempt to minimize bad effect of strong up or down market movements, I have coded a new Firebird to use iFXAnalyzer as an up and down strong trend indicator. The EA will not place trades during strong up or down trends indicated by chart message "Market Trending up" or "Market Trending Down". I added a Hedge function option to place reverse trade when PipStep trade is triggered. Hedge orders have ability to increase lot size. I cleaned up the EA and now there are no warnings when compiled in MetaEditor. Other added functions are described below.
UseEquityProtection -if true, close all orders when negative Float is excessvie.
FloatPercent –percent of balance for equity protection.
UseMM-money management.
Risk-pecent of account equity to risk per trade.
MaxOpenOrders-sets maximum number of open trades at same time.
MinMarginLevel-below minimum Margin Level percent % trading stops.
CloseDays-number of days trade is open before auto closing.
LossLevel-loss amount before auto closing after Closedays.
UseHedge-if true, places reverse order with PipStep order.
HedgeLotFactor-hedge order Lots will be increased by this factor.
HedgeTakeProfit-
HedgeStopLoss-
AutoCal-if true, iRSI() calculation of TakeProfit, StopLoss and PipStep. (not hedge orders)

This Firebird, as well as most other versions, is very slow in backtest. I can assure the added EA functions work. In backtest with default settings, it performed well on eurusd. gbpusd backtest was a bit shakey, but still in profit. I have not tested other pairs. I hope it performs well in Demo and Live accounts. I found better profits when HedgeLotFactor is set between 2-4.

Warning: The success or failure of this Expert Advisor is the exclusive responsibility of the Enduser.


As requested by Michaelw, I have coded a Trade Time scheduler into latest Firebird v3.2. It is a little bit of overkill. But, it will allow to schedule up to 4 "Trading Time" zones per day and a full week's schedule to be set at one time.

If UseTradeScheduler=true, then the following applies.

Each "Trading Time" zone 1 through 4 has a Start and an End for each day.
To trade all day , set "day"...Start1=0 and "day"...End4=24. This is needed for each trading day.
To skip a full day, set "day"...Start1=0 and "day"...End4=0.

Note: EA is coded to use your Local PC Time.

Here is a Monday example.

MonTradeHourStart1 = 0; - (Trading Time zone 1 start)
MonTradeHourEnd1 = 8; - (Trading Time zone 1 end)
MonTradeHourStart2 = 10;
MonTradeHourEnd2 = 16;
MonTradeHourStart3 = 18;
MonTradeHourEnd3 = 20;
MonTradeHourStart4 = 22;
MonTradeHourEnd4 = 24;

In above schedule, EA trades from 00:00 (midnight) to 08:00, then from 10:00 to 16:00, then from 18:00 to 20:00, then from 22:00 to 24:00.

Non-Trading Time is from 08:00 to 10:00, then from 16:00 to 18:00, then from 20:00 to 22:00.

Wackena


Thank you for the new version !!
What is the best settings for the new version ???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #483 (permalink)  
Old 12-06-2006, 05:07 PM
Wackena's Avatar
Senior Member
 
Join Date: May 2006
Posts: 216
Wackena is on a distinguished road
Quote:
Originally Posted by bedaine
Thank you for the new version !!
What is the best settings for the new version ???
bedaine,
I demo testing with default settings on M5 chart.
Wackena
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #484 (permalink)  
Old 12-06-2006, 05:29 PM
matrixebiz's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,218
matrixebiz is on a distinguished road
Quote:
Originally Posted by Wackena
bedaine,
I demo testing with default settings on M5 chart.
Wackena
But doesn't a StopLoss of 300 seem bad? The defaults seem really high ??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #485 (permalink)  
Old 12-06-2006, 06:05 PM
Wackena's Avatar
Senior Member
 
Join Date: May 2006
Posts: 216
Wackena is on a distinguished road
Quote:
Originally Posted by matrixebiz
But doesn't a StopLoss of 300 seem bad? The defaults seem really high ??
matrixebiz,
Firebird was designed as a countertrend EA. On Major pairs these trends can range for several hundred pips. In the past, many ran FB with lower s/l from 40 to 120. You can read the history of FB on this thread here or on ForexFactory forum. I like sl=300, but you can test other values. Nothing is written in concrete.

Wackena
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #486 (permalink)  
Old 12-06-2006, 07:52 PM
matrixebiz's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,218
matrixebiz is on a distinguished road
Ok, thanks. I just didn't want to loose 300 pips if it goes in the wrong direction and wipe out my account. I guess I just don't fully understand it all.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #487 (permalink)  
Old 12-08-2006, 06:18 PM
Wackena's Avatar
Senior Member
 
Join Date: May 2006
Posts: 216
Wackena is on a distinguished road
Attached is report sorted by pairs for 1st week of Firebird 3.2. Early in the week had 2 loses due to PercentFloat for equity protection set too low. Turned equity protection off and had no more loses for remainder of week. Could be just pure luck, but FB 3.2 handled OK the US non-farm employment report at 0830 EST.

Broker FXDD - eurusd, gbpusd, usdjpy, usdchf
Deposit $3,000
Timeframe M5
Balance $3,511
Equity $3,221
Wins 31 - Loses 2
ROI 7.4%

I believe FB 3.2 does trade slower then other versions due to no trading when trending up or trending down. There were several hedge orders that closed for profit.

Wackena
Attached Images
File Type: gif DetailedStatement.gif (6.5 KB, 3364 views)
Attached Files
File Type: zip Firebird 3.2.zip (14.4 KB, 785 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #488 (permalink)  
Old 12-08-2006, 06:51 PM
Senior Member
 
Join Date: Jun 2006
Posts: 116
Cijas is on a distinguished road
Thumbs up I will try it !

Gratz for your efforts to make a well rounded EA !!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #489 (permalink)  
Old 12-08-2006, 08:02 PM
Junior Member
 
Join Date: Mar 2006
Posts: 15
bedaine is on a distinguished road
Quote:
Originally Posted by Wackena
Attached is report sorted by pairs for 1st week of Firebird 3.2. Early in the week had 2 loses due to PercentFloat for equity protection set too low. Turned equity protection off and had no more loses for remainder of week. Could be just pure luck, but FB 3.2 handled OK the US non-farm employment report at 0830 EST.

Broker FXDD - eurusd, gbpusd, usdjpy, usdchf
Deposit $3,000
Timeframe M5
Balance $3,511
Equity $3,221
Wins 31 - Loses 2
ROI 7.4%

I believe FB 3.2 does trade slower then other versions due to no trading when trending up or trending down. There were several hedge orders that closed for profit.

Wackena
Hello Wackena !!

Do you can post your new statement of firebird after the big down of EURUSD, now EURUSD is at 1.3195

thank you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #490 (permalink)  
Old 12-08-2006, 08:19 PM
Wackena's Avatar
Senior Member
 
Join Date: May 2006
Posts: 216
Wackena is on a distinguished road
Quote:
Originally Posted by bedaine
Hello Wackena !!

Do you can post your new statement of firebird after the big down of EURUSD, now EURUSD is at 1.3195

thank you
Hot off the press. Latest FB 3.2 DetailedStatement.

Wackena
Attached Images
File Type: gif DetailedStatement.gif (4.7 KB, 3221 views)
Attached Files
File Type: htm DetailedStatement.htm (29.4 KB, 669 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
Firebird v63G, Firebird, firebird 3.2, firebirdv63g, firebird ea, firebird 63g


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
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
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firebird EA holyguy7 Expert Advisors - Metatrader 4 155 09-11-2009 09:39 PM
EA FireBird Yves81 Metatrader 4 4 07-18-2009 03:31 PM
Firebird forexts Expert Advisors - Metatrader 4 29 02-16-2008 08:12 AM
Firebird sgoloubev Post and compare Trades 7 10-05-2005 10:25 PM


All times are GMT. The time now is 03:31 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.