Forex
Google
New signals service!

Go Back   Forex Trading > Metatrader Training > Metatrader 4 mql 4 - Development course


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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-24-2006, 10:32 PM
Sadly's Avatar
Senior Member
 
Join Date: Nov 2006
Posts: 260
Sadly is on a distinguished road
Question Beginner: Indicators as EA's

Being new to MetaTrader and not really having a clue about MQL4 I was wondering how an indicator can be used as an EA.

Taking PriceChannel_Stop_v6 as an example, if I place this into the 'Experts' folder can I then backtest it and optimise it?

If I then want it to do a conditional test from a separate indicator on the same chart, how is that done?

Any pointers in the right direction would be very welcome, thank you.
Attached Files
File Type: mq4 PriceChannel_Stop_v6.mq4 (7.3 KB, 31 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-24-2006, 11:07 PM
Senior Member
 
Join Date: Feb 2006
Posts: 546
Michel is on a distinguished road
Quote:
Originally Posted by Sadly
Being new to MetaTrader and not really having a clue about MQL4 I was wondering how an indicator can be used as an EA.

Taking PriceChannel_Stop_v6 as an example, if I place this into the 'Experts' folder can I then backtest it and optimise it?

If I then want it to do a conditional test from a separate indicator on the same chart, how is that done?

Any pointers in the right direction would be very welcome, thank you.
My dear Sadly,
An EA has nothing to do with an indicator : an EA trade, this means send some orders to open, close or manage positions.
An EA can have his own logic build in and in that case he doesn't need anything else to manage the positions.
An indicator doesn't trade : he just compute and/or visualize some information. An indic can also visualise his information regarding the past.
An EA is always in the present (even if can access to some infos of the past).
To trade using the information of an indicator, the EA can have the same logic build in, but there is much better : the EA can call the indic, so its' not needed to reproduce the same program.
I think the first step is to read the help file of the terminal, then,
do a "search" on this forum to find the lessons of CodersGuru, and, please, begin by the very first one !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-24-2006, 11:13 PM
Sadly's Avatar
Senior Member
 
Join Date: Nov 2006
Posts: 260
Sadly is on a distinguished road
Thanks for the adivce Michel - I had a horrible feeling you might say that. I'll carry on reading CodersGuru's web site tutorial - thankfully he wrote it in a easy to understand way.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-17-2008, 01:51 PM
Senior Member
 
Join Date: Nov 2006
Posts: 210
luxinterior is on a distinguished road
Free E-Course in EA Programming

There's a free e-course available that shows you how to code an EA from scratch.

Hopefully somebody will find it of interest.

Here's the link...

Free E-Course - Build Your Own Automatic Trading Robot

Hope that helps somebody!

Lux
__________________
Build An Expert Advisor. FREE E-course As Seen On TV
ForexArea.com
Users of Gap Trader from 'Forex-Assistant' MUST Read This
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-20-2008, 11:29 AM
matfx's Avatar
Senior Member
 
Join Date: Sep 2007
Location: Malaysia
Posts: 355
Blog Entries: 2
matfx is on a distinguished road
Post

Quote:
Originally Posted by luxinterior View Post
There's a free e-course available that shows you how to code an EA from scratch.

Hopefully somebody will find it of interest.

Here's the link...

Free E-Course - Build Your Own Automatic Trading Robot

Hope that helps somebody!

Lux
Interesting, thanks for the info Lux.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Beginner questions. Thanks Locutus General Discussion 2 10-11-2006 08:26 PM
Joining EA's with indicators pip-gandalf Expert Advisors - Metatrader 4 3 03-28-2006 07:35 AM


All times are GMT. The time now is 08:32 AM.



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