MQL4 - automated forex trading   /  

Code Base

Code Base  Expert Advisors  Trix EA To post a new code, please log in or register

This Expert Advisor is for
MetaTrader 4
Download MT 4 - 5.5 Mb

Mobile trading!
Buy a license and be mobile in your trading!

Name:
Trix EA [ ru | cn ]
Author: funyoo (2008.07.21 10:27)
Downloaded: 3224
Download:
 Trix_EA.mq4 (32.7 Kb) View
 #MTF_Trix.mq4 (5.7 Kb) View
 TRIX.mq4 (4.6 Kb) View
Description:


The Trix EA is based on the Trix indicator created by raff1410, it is for H4 timeframe.

You have to put the Trix_EA.mq4 in the "experts" file and the two other mq4 in the "indicators" file.

Image:




Recommendations:


Test first on demo.




Strategy Tester Report
Trix_EA
InterbankFX-Demo Accounts (Build 217)

SymboleUSDCAD (US Dollar vs Canadian Dollar)
Periode4 Heures (H4) 2008.06.29 20:00 - 2008.07.18 16:00 (2008.06.29 - 2008.07.30)
ModeleChaque tick (la méthode la plus précise, basée sur tous les moindres relevés disponibles)
ParametresLots=2.8; StopLoss=50; TakeProfit=0; TradeAtCloseBar=true; TrailingStop=0; TrailingStep=1; BreakEven=0; MagicNumber=0; Repeat=3; Periods=5; UseAlert=false; SendEmail=true; TradeLog="Trix_EA"; Slippage=3; Indicator_Setting="---------- Indicator Setting"; TimeFrame=0; TRIX_Period=13; Signal_Period=8; Signals=true; CountBars=1500;

Bars en test1090Ticks modelés64823Qualité du modelage90.00%
Erreurs des graphiques désaccordés0




Dépot initial10000.00



Profit total net7000.14Profit brut7000.14Perte brute0.00
Facteur de profit
Rémunération espérée2333.38

Chute absolue1029.72Chute maximal (%)4115.05 (29.83%)Enfoncement relatif29.83% (4115.05)

Total des Trades3Positions SHORT (vente) gagnées %1 (100.00%)Positions LONG (achat) gagnées %2 (100.00%)

Profits des Trades (% du total) 3 (100.00%)Pertes des Trades (% du total) 0 (0.00%)
Le plus largegains par Trade4280.68pertes par Trade0.00
Average (moyenne)gains par Trade2333.38pertes par Trade0.00
Maximumgains consecutifs (profit en $)3 (7000.14)pertes consecutives (perte en $)0 (0.00)
MaximalGains consecutifs (coups gagnants)7000.14 (3)Pertes consecutives (coups perdants)0.00 (0)
Average (moyenne)gains consecutifs3Pertes consecutives0

#Date exécutionTransactionOrdreVolumePrixS/L (Stop/Perte)T/P (Prendre/profit)ProfitBalance
12008.06.30 04:00buy12.801.00981.00480.0000
22008.07.07 04:05close12.801.01971.00480.00002663.7712663.77
32008.07.08 16:00sell22.801.02041.02540.0000
42008.07.18 00:04close22.801.00521.02540.00004280.6816944.45
52008.07.18 00:04buy32.801.00531.00030.0000
62008.07.18 19:58close at stop32.801.00551.00030.000055.6917000.14
18 comments: 1 2   To post a new comment, please log in or register
Do I need to attach both trix indicator to the chart? or just open TRIX indicator and ignore #MTF_trix?
29.07.2008 07:33 mancai
Hi bnbb2004, in order that the SendEmail works, you have to put the UseAlert parameters on True.
27.07.2008 14:32 funyoo
bnbb2004 wrote:
funyoo wrote:
Hi bnbb2004, thanks for the update. To optimize the parameters, I suggest you this software : http://www.gordago.com/opensource/forex-optimizer/

Don't hesitate to share your result, it can be interesting. You can use http://rapidshare.com/index.html to upload your statements.
I will keep you posted once I get the EA setup properly...I noticed that Fx Optimizer requires Microsoft.NET 2.0 in order to run, but I clicked on the site and it was in a language other than English.  Do I really need .NET 2.0 in order to run the FX Optimizer??  If so, please let me know where I can get this download as it looks like there are several versions from. Thx!  Oh yeah, you can translate an entire website at babelfish.yahoo.com   :-)

Hi funyoo!

Could you look into the issue of the EA not sending an email once the next signal is produced (everything is set properly on my end)?  It would be greatly appreciated!  Thx!  :-)

27.07.2008 05:57 bnbb2004
funyoo wrote:
Hi bnbb2004, thanks for the update. To optimize the parameters, I suggest you this software : http://www.gordago.com/opensource/forex-optimizer/

Don't hesitate to share your result, it can be interesting. You can use http://rapidshare.com/index.html to upload your statements.
I will keep you posted once I get the EA setup properly...I noticed that Fx Optimizer requires Microsoft.NET 2.0 in order to run, but I clicked on the site and it was in a language other than English.  Do I really need .NET 2.0 in order to run the FX Optimizer??  If so, please let me know where I can get this download as it looks like there are several versions from. Thx!  Oh yeah, you can translate an entire website at babelfish.yahoo.com   :-)
26.07.2008 03:12 bnbb2004
Hi bnbb2004, thanks for the update. To optimize the parameters, I suggest you this software : http://www.gordago.com/opensource/forex-optimizer/

Don't hesitate to share your result, it can be interesting. You can use http://rapidshare.com/index.html to upload your statements.
26.07.2008 01:00 funyoo
So far so good with Trix EA!!! Thx sooo much for sharing with us!!!!  :-)  But I do have two questions...One is still about the parameters for the TP as I am not to familiar with changing these for the best optimization.  For example, yesterday gbp/jpy was up 315 pips but received an alert that it was about to go in the opposite direction and inded up closing at 77 pips profit after the next signal (which was a buy) kicked in several hours later.  :-(     Please tell me what's the best way to optimize that so it will close the trade IMMEDIATELY at the next signal appearing (insteald of the lagging or delayed closed).  Second question is about the EA not sending an email once a new signal is produced.  The EA is set to True for Send Email, but I have never received anything (everything on the platform is setup correctly as I receive a test message, but none from Trix).. Once again thx for this EA it has some potential!!!!  :-) 
25.07.2008 22:30 bnbb2004
Hello, If you let the Take Profit on 0, it will close the order at the next opposite signal, you have to handle it (close manually or configure TP/TS).
24.07.2008 01:07 funyoo
So far the Trix EA has opened about 11 trades with 2 losses, which is AWESOME (the positive positions are still open)!  I do have one question about the EA...Does it have a built in take profit?  Because one of the positions opened is at +120 and I'm just wondering when will this position be closed by the EA.   When will the EA close the positions are in profit?
23.07.2008 20:20 bnbb2004