View Single Post
  #18 (permalink)  
Old 09-19-2008, 01:18 AM
latimeria latimeria is offline
Member
 
Join Date: Jul 2008
Posts: 43
latimeria is on a distinguished road
Hi, extremfx and everyone.

According to extremfx's request, I made EAs for (maybe) short period Traders.

But It's a nothing but a test version.
So don't blame me even if it doesn't seem profitable.

I have not optimized any settings, so find better settings if you are intersted in.
These EAs are designed to be able to change many settings.
If you find settings and TimeFrame that work well, report here. It may be useful for someone.

notes:

1. Entry Signals
These EAs have 2 selectable different (or reversal) Entry System.
Entry Timing is the same. It's When Price crossed the Line(SDL or MA).
I'm not sure This is what extremfx meant or not.

System 1 uses the Line as BreakOut.
System 2 uses the Line as Resistance.
(see the code for details)

It means, 2 system bet on the opposite direction at the same timing.
So I named these EAs <Reversal>.
(You can use only 1 system at the same time. If you want to test both systems on several same symbol (currency pair) charts at the same time, change the MagicNumber.)

Anyway, You'll see what these EAs do if you test it.

2. Take Profit
I usually don't place takeprofit because it causes missing strong and continuous trend.
And I don't know any effective and reasonable logic to decide takeprofit target that is not obscure.
(If anyone knows, tell me)

But, anyway I added a function to place TakeProfit.
There are 4 TakeProfit Method.
No TakeProfit, Stoploss Multiple, Fixed Pips and S&R(*need another Custom Indicator).

Deciding TP target by S&R may be just a joke.
<Support and Resistance> Indicator looks good, but it uses iFractals
and It seems to took 2 or 3 bars to update S&R and seems unstable.
Regard it as Just a test.

3. Week End Close Function
This function allows you to close position at specified server time on Friday.
It may be useful for short period traders who don't want to hold any positions on WeekEnd.

4. Show Settings by Comment
I added a function to show Settings on the chart window.
These EAs have many settings.
So It will be very convenient when you examine settings.

5. MA version
Not only SDL version, I made a MA version.
You can modify MA settings to your heart's content.
Like this, You can replace entry logic with any kind of them.

6. These EAs open trade only bar opening also.
I just don't want to waste my time on tick by tick backtesting...that's why.

Any impressions are welcome.
enjoy.

< requirements (to make these EAs work) >
1. < Slope Direction Line modified 2 > Indicator
*One of the reason that makes using this Indicator troublesome on EA is
SDL value is housed in 2 different arrays.
So I modified it again (or waste author's effort to change color by trend...).
Now modified version of Indicator holds SDL value in an array(buffer 0) and easy to handle.

2. < Support and Resistance > Indicator
Indicator that shows recent High and Low.
Attached Files
File Type: mq4 SDLvsPrice_Reversal_v1.mq4 (28.2 KB, 95 views)
File Type: mq4 MAvsPrice_Reversal_v1.mq4 (27.6 KB, 89 views)
File Type: mq4 Slope Direction Line Modified 2.mq4 (2.9 KB, 132 views)
File Type: mq4 Support and Resistance.mq4 (1.5 KB, 90 views)

Last edited by latimeria; 09-19-2008 at 08:06 PM.
Reply With Quote