Forex



Go Back   Forex Trading > Training > Metatrader > Metatrader 4 mql 4 - Development course
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-24-2006, 10:32 PM
Sadly's Avatar
Senior Member
 
Join Date: Nov 2006
Posts: 288
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, 32 views)
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!
Reply With Quote
  #2 (permalink)  
Old 11-24-2006, 11:07 PM
Senior Member
 
Join Date: Feb 2006
Posts: 587
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 11-24-2006, 11:13 PM
Sadly's Avatar
Senior Member
 
Join Date: Nov 2006
Posts: 288
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 06-17-2008, 01:51 PM
Senior Member
 
Join Date: Nov 2006
Posts: 308
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 06-20-2008, 11:29 AM
matfx's Avatar
Senior Member
 
Join Date: Sep 2007
Posts: 510
Blog Entries: 3
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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 06:35 AM


All times are GMT. The time now is 01:54 PM.



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