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: 5105
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
ElectricSavant wrote:

Seems like a good EA posted here...I will follow this thread....how are you folks doing with this EA?

 

ES

This is EA works pretty good...I am tried to change the inputs/parameters, but it didn't seem to trade according to them...  :-|   Can someone tell me what I need to do to get the EA to trade the parameters changed to 10 - Trix Index and 2 - Signal period?
16.08.2008 22:47 bnbb2004

Seems like a good EA posted here...I will follow this thread....how are you folks doing with this EA?

 

ES

16.08.2008 21:41 ElectricSavant
ajrider wrote:

After attaching and reattaching EA and Indiactor to the chart, I still just get reapid buy sells with losses. I've been looking at the code till my eyes crossed and I don't know enough about the code to know what I'm doing wrong. Should the EA work just like it is, or are there settings in the property dialog that need to be set differant than default. For instance, what is the "indicator setting" for??

Any help would be greatly appreciated as the indicator is great and any EA that works off it it would be even better.

thanks for your help.

Try using the MTF indicator instead of the Trix index.
13.08.2008 06:43 bnbb2004

After attaching and reattaching EA and Indiactor to the chart, I still just get reapid buy sells with losses. I've been looking at the code till my eyes crossed and I don't know enough about the code to know what I'm doing wrong. Should the EA work just like it is, or are there settings in the property dialog that need to be set differant than default. For instance, what is the "indicator setting" for??

Any help would be greatly appreciated as the indicator is great and any EA that works off it it would be even better.

thanks for your help.

11.08.2008 00:25 ajrider
bnbb2004 wrote:
chumpyto wrote:
HELLO I NEED HELP SETTING UP THE EA , BECAUSE I GET ALL LOSING TRADES, I GOT 90% QUALITY, ALL LOSING TRADES, THE EA MADE 1123 TRADES ONLY 94 WINNERS AND THE REST all LOSING ONES, PLEASE TELL HOW TO SETUP THE EA SO IT COULD MAKE A PROFIT AND NOT A LOSE TOO MUCH MONEY THANKS
I'm not sure why it does that, but that happened to me where it kept opening and closing trades rapidly (losses).  I had to reattach the EA and indicator to the charts to get it to work right....Not sure why that happened though.
thanksd for the reply!!!!!!!!
05.08.2008 02:20 chumpyto
chumpyto wrote:
HELLO I NEED HELP SETTING UP THE EA , BECAUSE I GET ALL LOSING TRADES, I GOT 90% QUALITY, ALL LOSING TRADES, THE EA MADE 1123 TRADES ONLY 94 WINNERS AND THE REST all LOSING ONES, PLEASE TELL HOW TO SETUP THE EA SO IT COULD MAKE A PROFIT AND NOT A LOSE TOO MUCH MONEY THANKS
I'm not sure why it does that, but that happened to me where it kept opening and closing trades rapidly (losses).  I had to reattach the EA and indicator to the charts to get it to work right....Not sure why that happened though.
04.08.2008 08:33 bnbb2004
HELLO I NEED HELP SETTING UP THE EA , BECAUSE I GET ALL LOSING TRADES, I GOT 90% QUALITY, ALL LOSING TRADES, THE EA MADE 1123 TRADES ONLY 94 WINNERS AND THE REST all LOSING ONES, PLEASE TELL HOW TO SETUP THE EA SO IT COULD MAKE A PROFIT AND NOT A LOSE TOO MUCH MONEY THANKS
01.08.2008 07:15 chumpyto

Hi funyoo!

Is there anyway that you can a max order or order limit to the EA (I'm not sure if I'm saying it right)? (The ablility to set a limit on the number of different trades that Trix can open - 5, 10, different pairs etc.)   Thx!  :-)

30.07.2008 06:25 bnbb2004
funyoo wrote:
Hi mancai, if you want only to attach the indicator, the #MTF_trix is sufficient. You can then modify the timeframe parameter (1, 5, 15, 60, 240, 1440).
where I can modify time frame parameter for trix indicator? btw, have you finalize the EA and parameter setting yet? the forex-optimizer seem like can't update history, I donno is my network problem or not...
29.07.2008 14:37 mancai
Hi mancai, if you want only to attach the indicator, the #MTF_trix is sufficient. You can then modify the timeframe parameter (1, 5, 15, 60, 240, 1440).
29.07.2008 14:04 funyoo