I agree. I don't like setting fixed-pip or fixed-$ stops when the EA will get applied to different pairs or different TFs. I almost always use ATR-based stops in my systems.
Update: after 14 hours on H1, the system has closed 25 trades for a loss of $258.49. BUT it also has 18 open trades with a profit of $252. So it is at least breaking even...
swingONE
-
garyfritz
Re: swingONE
Khalid, you may have already done some analysis on that report, but... it looks like it ran without SL or TP, and produced a net loss of -101.97 pips. If you'd run a TP between about 18 and 25 pips, you would have shown a profit between 62 and 128 pips. I suspect you could do much better than that with ATR-based stops, since the median run-up varied widely across symbols.
You needed a SL of 35 or bigger to improve on the basic results.
You needed a SL of 35 or bigger to improve on the basic results.
-
markft
- Trader
- Posts: 82
- Joined: Thu Dec 08, 2011 12:06 pm
- Location: Sydney, Australia
Re: swingONE
Hi Gary, Khalid,Khalaad wrote:Gary,garyfritz wrote:Khalid, you may have already done some analysis on that report, but... it looks like it ran without SL or TP, and produced a net loss of -101.97 pips. If you'd run a TP between about 18 and 25 pips, you would have shown a profit between 62 and 128 pips. I suspect you could do much better than that with ATR-based stops, since the median run-up varied widely across symbols.
You needed a SL of 35 or bigger to improve on the basic results.
I am without stops because I want to know the amplidudes of the price swings.![]()
A quick review tells me an ATR-based BreakEven Stop would have saved about 200 pips. I shall do a detailed analysis tomorrow as it is already 1:23 am.
Khalid
ATR based SL and TP are already in the EA. Just enable the option and set fixed ones to zero.
-
blahn
- Trader
- Posts: 53
- Joined: Wed Nov 30, 2011 2:39 am
Re: swingONE
maybe he meant actually programming a break even point based on atr as opposed to the standard atr stop???
-
markft
- Trader
- Posts: 82
- Joined: Thu Dec 08, 2011 12:06 pm
- Location: Sydney, Australia
Re: swingONE
Yes I think what you are asking for Khalid is to set to BE after price moves in our favour by atr * multiplier. Can you please confirm?blahn wrote:maybe he meant actually programming a break even point based on atr as opposed to the standard atr stop???
-
garyfritz
Re: swingONE
Cool! Ummm.... but I don't think it's going to work.markft wrote:ATR based SL and TP are already in the EA. Just enable the option and set fixed ones to zero.
You never calculate AtrVal....
-
markft
- Trader
- Posts: 82
- Joined: Thu Dec 08, 2011 12:06 pm
- Location: Sydney, Australia
Re: swingONE
Don't I? Ooupsgaryfritz wrote:Cool! Ummm.... but I don't think it's going to work.markft wrote:ATR based SL and TP are already in the EA. Just enable the option and set fixed ones to zero.
You never calculate AtrVal....
-
garyfritz
Re: swingONE
If you put a 20pip trailing stop on it, and assume you close the trade at 20pips under the max run-up, you'd clear over 700 pips... obviously you wouldn't actually close all trades at maxrunup-20, but it would probably improve things quite a bit!
-
garyfritz
Re: swingONE
The trouble is, the market does not go directly to the max runup. So it might go to +10 pips, then -20, then up to +50. If you had a 20-pip trail, you would get -10 pips, not 40. You can't tell what you'd get just from the runup figures. You have to analyze the price action, or forward/back-test it.
-
markft
- Trader
- Posts: 82
- Joined: Thu Dec 08, 2011 12:06 pm
- Location: Sydney, Australia
Re: swingONE
Based on this I will add an ATR based BE, and ATR trailing stop for the next realease candidate.Khalaad wrote:Gary,garyfritz wrote:If you put a 20pip trailing stop on it, and assume you close the trade at 20pips under the max run-up, you'd clear over 700 pips... obviously you wouldn't actually close all trades at maxrunup-20, but it would probably improve things quite a bit!
You are not far off the mark. The DumpHistory (should) understate the run-up and overstate the drawdown. At least, that is what I understand. The script was written by George, and enhanced by Mahmut; so Mahmut would know exactly.
![]()
![]()
![]()
Khalid