eur system tested longs

slomo7777

Junior member
Messages
13
Likes
0
Hi All,
I'm new to this forum, enjoyed browzing through you posts.
I'm developing a system in MetaTrader Expert Advisor, and have backtested from March -Sep 2004. Only on Long Trades - still have to do the Short trade bit
42 trades - 36 winners - 6 losers
Attached is a pic of test - anyone interested?
 

Attachments

  • eur_mar_sep_2004.JPG
    eur_mar_sep_2004.JPG
    45.4 KB · Views: 568
Hi slomo,

Welcome aboard :)

Looks useful :cheesy: Are you planning to sell the system or share it?

slomo7777 said:
Hi All,
I'm new to this forum, enjoyed browzing through you posts.
I'm developing a system in MetaTrader Expert Advisor, and have backtested from March -Sep 2004. Only on Long Trades - still have to do the Short trade bit
42 trades - 36 winners - 6 losers
Attached is a pic of test - anyone interested?
 
Hi Chow, I have no intention to sell it, maybe someone here can improve on it and post it back to the forum
There's always a "risk" of someone else taking your idea, improving it and selling it. In the end we're not trading against each other as such.

Here it is: Try it and let me know:
If TotalTrades < 1 then
(

//EUR%
If (iSAR(0.008,11,0) < iMA(27,MODE_LWMA,0) ) and
(iSAR(0.005,11,0) < iMA(27,MODE_LWMA,0) ) and
(iSTO(27,8,27,MODE_SMA,MODE_MAIN,0) > iSTO(27,8,27,MODE_SMA,MODE_SIGNAL,0))and
(iSTO(27,8,27,MODE_SMA,MODE_MAIN,0)> 35) and (iSTO(27,8,27,MODE_SMA,MODE_MAIN,0)< 45)

then
//sl126 profit 57 pips
SetOrder(OP_BUY,1,Ask,3,Ask-126*Point,Ask+57*Point,HotPink);
exit;
)
 
stop loss 126 points? profit 57 points?


not only does that look a bit over-optimised, but its the kind of R/R that i trade lol :)

what happens if the stop is 60 points, for example? just curious

FC
 
I've run many tests with different SL and TP values, found those to work best ! Dunno why, maybe it's EUR inherent?!!
 
Slomo,

Any chance of a quick regurgitation of the code in English - get the gist, but not all of it....

Thanks in advance.
 
i agree slomo.

but i mean, are results impaired significantly if the risk/reward ratio is improved?
 
Yes FetteredChinos, they surprisingly are . Those were the optimum TP and SL which I found. Maybe someone else can improve on it. I only opened a demo account with Metatrader to backtest the system with there Expert Advisor. I trade live with FXCM
 
ChowClown, I will do some translation in simple English today, never had a chance last night.......sorry
 
The R:R doesn't look very attractive, but the w:l does.

Are you able to backtest over a MUCH longer period?

BTW - weird numbers 126/57 - they're not even Fibs for goodness sake! :rolleyes:
 
Yep, I realize the RR looks bad....This is for a 30 min Chart, ....and I could only backtest 6 months for that time period using Metatrader - althought I must admit I'm a new user of there demo system. I'll try again for maybe 1/2 years if possible
 
For those interested Equity graph of test
 

Attachments

  • eur_mar_sep_2004_2.JPG
    eur_mar_sep_2004_2.JPG
    52.1 KB · Views: 342
In Simple English

(A) : iSAR(0.008,11,0) is Parabolic SAR Indicator 0.008 STEP, 11 Maximum
(B) : iSAR(0.005,11,0) is Parabolic SAR Indicator 0.005 STEP, 11 Maximum
(C) : (iMA(27,MODE_LWMA,0) is Linear Weighted Moving Average of 27 on Closing price
(D) : (iSTO(27,8,27,MODE_SMA,MODE_MAIN,0) is Stochastic Oscillator Indicator, %K = 27, %D = 8, Slowing = 27, on Simple Moving Average, Main Indicator line Line)
(E) : iSTO(27,8,27,MODE_SMA,MODE_SIGNAL,0) is Stochastic Oscillator Indicator, %K = 27, %D = 8, Slowing = 27, on Simple Moving Average, Signal Indicator line Line)
==========================================
Therefore IF No trade is open then

IF A<C AND B< C AND D>E AND D>35 AND D<45
then Open a Long Trade TP 57, SL 126

===================================

HAVE A LOOK AT ATTACHED PIC

If TotalTrades < 1 then
(

//EUR%
If (iSAR(0.008,11,0) < iMA(27,MODE_LWMA,0) ) and
(iSAR(0.005,11,0) < iMA(27,MODE_LWMA,0) ) and
(iSTO(27,8,27,MODE_SMA,MODE_MAIN,0) > iSTO(27,8,27,MODE_SMA,MODE_SIGNAL,0))and
(iSTO(27,8,27,MODE_SMA,MODE_MAIN,0)> 35) and (iSTO(27,8,27,MODE_SMA,MODE_MAIN,0)< 45)

then
//sl126 profit 57 pips
SetOrder(OP_BUY,1,Ask,3,Ask-126*Point,Ask+57*Point,HotPink);
exit;
)
 

Attachments

  • Long Signals.JPG
    Long Signals.JPG
    123.9 KB · Views: 345
ChowClown said:
Many thanks for taking the time to put this together. Much appreciated.

Hi ChowClown, have you perhaps tested the system on your side?
It gave a LONG signal on Monday on Euro at about 1.2170. Now at 1.2320

Slomo
 
Hi Slomo,

Not yet unfortunately. I'll be testing it from next week, all being well. Nice signal on Monday ;-)
 
Top