Simple System 29 wins and only 6 losses this year

kingkevbo, I figured out what I was doing wrong. I was editing the EA but MT4 was not recognizing my edits. I turned off the expert advisors button and closed MT4. I then reopened it and turned the EA back on and it now made all the trades with 4.0 lots. I will try going back and just changing the NormalizeDouble line to (lots,1) and I bet it will work correctly on my system. I’ll bet I spent 5 hours yesterday fighting this and it was a simple problem, ugh.

Steve

what would be a good Time Frame for the EA?

Hi Steve,

I only read your original problem in the notification email you get last night before I went to bed, so sorry about not offering help earlier. Although I probably wouldn’t have thought of what turned out to be the problem anyway.

I’m sure that the change to the NormalizeDouble line will do what you want.

Regarding the higher time frame thing, what do you think is a good way of determining the longer term trend? I have fiddled with such things in EAs that I have written in the past, but never really came up with a good way of achieving a reliable signal.

The problem that I had is that if you choose an indicator that is sensitive enough to change direction in a timely fashion when the longer term trend reverses, (something like the angle of a low-period EMA) then it picks up too much noise at other times.

Also, how do we deal with times that are flat? Do we not trade at all, or buy and sell, etc…

All suggestions welcome…

Got to say you have an interesting little EA. So far since the sunday open i have had 29 trades (25 closed), at 33 pips profit with the open 4 trades at -59 pips at the moment on the 15min chart.

T-Swing - v1.2 System | Myfxbook

Nice work, do you have a recommended set of pairs to use with this EA ?

Having system resources issues. As soon as the MT is running the EA, my CPU usage hit 100%.
Tried the following:

  • changed broker/MT
  • reduced the number of charts down to 1
  • shut down other MTs running

Still having problems. I’m currently running it on my old dual core laptop. Also got 2 other EA running on separate MTs. No issues there. Can not really having it running as the cooling fan for the laptop keeps running at full speed and the laptop slows down.

Anyone else experiencing this? Any solutions? Do I need to adjust anything?

Sandy,
When I was look at your myfxbook page, I notice you are testing a EA (MyForexPassion). Looks very good, earning a lot of pips. Do you mind sharing where I can get it to test?

I know this is off topic, but I not able to send you an email yet.

I have noticed the EA enters multiple trades per currency pair rather than one at a time, is this normal ?

Kingkevbo, I changed the NormalizeDouble and it works perfect. I did notice one thing, it appears that this EA will put in a buy order and sell order at the same time. While this works in back testing, I cannot do this live because in the US they consider this “hedging” which is not allowed. This is an easy change and I don’t think it changes the back testing results any.

I also wanted to let you know that I tried using a 90 / 180 EMA on the H1 chart to determine trend and then tried trading only in the direction of the trend vs both directions. I didn’t program this but did it manually on the USDJPY pair from July 1, 2012 - Feb 16, 2013. These EMA’s gave 11 crosses during that period and I was trying to simulate the red and blue dots from the swing ZZ for the weekly chart. What I found was that when trading on the 15M chart it was much better only trading with the trend, but when trading on the H1 chart it was actually better to trade both directions. I used your default settings and did not try to optimize. So I need to do more testing to determine if there is any benefit to trying to trade this system only with the trend and if there is a better trend indicator.

They’re a bit extreme but I found settings that get 10%+ in 2011 with 16% max drawdown

TF- 1hr
order 1TP-100
TP interval- 50
Number Orders- 10
Trailing order-false
Trailing stop -200
SL-200
Risk Percent- 1
Use MM-False

I also ran a 3 year backtest from 1/2010 to 12/2012 with the same settings it got a 27.65% profit over the 3 years and 16.25% max drawdown. Much better than v1.1.

Doesn’t reducing the TF without reducing TP / SL decrease the chance of success - what I mean is would it not make more sense to define the TP/SL in terms of a multiple of the ATR of the traded timeframe?

Managed to fix this… I did not put the swing_ZZ_with_alert indicator in the folder…

I’m running the Swing v1.2 with good results but with forward testing it seems to have the same duplication issue as v1.1, I have it set at 3 trades and it’s opening 6 and they’re closing 2 at a time with the correct interval. It seems to be opening a second set of trades before it has a chance to delete the signal.

I have set t to 3 trade too but it is opening 4 at a time.

If you have trailing stop set to true it will take one extra trade. In this case it would take three with fixed tp values and one with a trailing stop.

It will do that if you remove the EA from the chart and add it again, or if you shutdown and restart MT4. If you do either of these things, you must delete the pending orders the EA has created manually. I have it running in a forward test at the moment and that was the only time it did that for me.

I will fix this in a future version of the EA, but I have family visiting this week so there will be no updates until next week.

Thanks I’ll keep that in mind. Enjoy your time with family, we’ll be waiting whenever you get get a chance to update the EA.

Good little EA, monday was a bad day of - 220 pips but tuesday and so far wednesday have been about + 40 pips each.

Is it possible to add the option so we can set the number of lots we want to trade with rather than using a risk percentage?

Nice work :slight_smile:

Has everyone had the same results as me? Monday was bad but tuesday onwards has been good ?

Yes, Monday is bad… start the EA late Monday and lost 88 pip… recovering now… will provide update at the end of the week.

kingkevbo, I found an error or something that was overlooked in the EA that will drastically increase the profitability once it is fixed. I was running a forward test with number of orders set to 10 and in a couple instances only a few of the TPs were hit and the rest hit the SL which would not be a problem BUT the SLs were never adjusted to BE after the first TP was hit. If all the SLs were set to BE after the first TP was hit the losses would be drastically decreased without affecting the profits. I’ll attach a couple examples where there were several winning trades and several losing trades that should have closed at BE but closed with a 20 pip loss which would have been over $800 difference in 2 days.

Capture (2).zip (39.2 KB)

Capture.zip (45.7 KB)

I just looked at a backtest and it works the way it should but with forward testing it’s not working right. That’s weird.

-327pips on AUDUSD, -121 on EURAUD, -10 EURUSD, and 138 on GBPUSD.

System looked very promising in the middle of the week but lost a lot towards the end.

I think jaws810 has a valid point on adjusting the stoploss to BE after tge first TP, this may minimise the losses. But it may also decrease the chances of making more profit…

However, I believe we were looking at ways to reduce the DD…so please do see if you could change the coding a bit.

Thanks