Forex



Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4






Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

 
 
Thread Tools
 
Old 09-30-2008, 01:42 AM
tcl's Avatar
tcl tcl is offline
Member
 
Join Date: Apr 2008
Posts: 87
tcl is on a distinguished road
Question

sorry... maybe this chart is more clear
Attached Images
File Type: gif ea-1.gif (20.5 KB, 521 views)
File Type: gif ea-2.gif (22.9 KB, 514 views)

Last edited by tcl; 09-30-2008 at 02:31 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 09-30-2008, 08:38 AM
Member
 
Join Date: Jul 2008
Posts: 43
latimeria is on a distinguished road
I noticed it soon.
I just forgot to code to judge if trend has changed, that's all.

Here is a modified version and this is the last update for this EA.

I'm sorry but I'm busy and I've got a lot of things to do.
If you think it is different from what you thought, here is a basis.
Please solve the probrem yourself.

--------------------------------------

Last version note:

Logic is as follows.

1) check if indicators conditions are filled. (same as the first version)
2) check if trend has changed.
3) open trade.

There are 4 methods to judge if trend has changed.
Because these indicators rapaint often, and signal itself is very unstable.
It appears, and next moment it disappears.

So I added several choices for judgement.
You can change it from "SignalChangeMethod".

1) Use both SDL and TE2 trend for 4 bars(including current bar) to judge
2) Use both SDL and TE2 trend for 3 bars(including current bar) to judge
3) Use only SDL trend for 3 bars(including current bar) to judge
4) Use only TE2 trend for 3 bars(including current bar) to judge

1) and 2) generates less trades compared to using 3) or 4).
Attached Files
File Type: mq4 SDL_TE2_LWMA_v2.mq4 (39.3 KB, 112 views)

Last edited by latimeria; 09-30-2008 at 08:46 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 09-30-2008, 10:06 AM
tcl's Avatar
tcl tcl is offline
Member
 
Join Date: Apr 2008
Posts: 87
tcl is on a distinguished road
thanks for spend your time bro....

can I ask you a "little" help again...??

can you add a code into your EA to make it re-order again if there is a problem .. like below: (your EA give a signal for opening a trade twice but its getting error)

this is the first error:
'4503687': requote 189.63 / 189.70 for open buy 0.50 GBPJPY at 189.66 sl: 187.32 tp: 0.00

this is the second error:
2008.09.30 16:00:01 TradeDispatcher: trade context is busy

but... I really don't like to disturb you, If you are busy.... never mind... just reply me at your free time thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 10-02-2008, 06:10 PM
marcelcorzo's Avatar
Senior Member
 
Join Date: Oct 2007
Location: Colombia
Posts: 236
marcelcorzo is on a distinguished road
For instance, for requotes you can wide slippage.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 10-02-2008, 08:16 PM
marcelcorzo's Avatar
Senior Member
 
Join Date: Oct 2007
Location: Colombia
Posts: 236
marcelcorzo is on a distinguished road
How can I program in the EA to draw a line and the close arrow like some EAs do?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 10-02-2008, 08:47 PM
marcelcorzo's Avatar
Senior Member
 
Join Date: Oct 2007
Location: Colombia
Posts: 236
marcelcorzo is on a distinguished road
OK, I've solved it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 

Bookmarks

Tags
slope direction line expert advisor, SlopeDirectionLine_v3, TrendEnvelopes_v2, slope direction, slope direction line, expert advisor, slope direction line ea, forex
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create Expert Advisor for this wonderful indicator torreseemee Setup Questions 3 07-24-2008 07:37 AM
How to make an expert advisor run other expert advisors in MQL4 activetc Metatrader 4 0 08-30-2007 05:29 AM
How to stop expert advisor from trading, when profit is made joko75 Expert Advisors - Metatrader 4 9 05-27-2007 01:16 PM
Need an indicator made hidethereal Indicators - Metatrader 4 12 09-28-2006 07:10 PM


All times are GMT. The time now is 06:39 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.