Forex
Google
New signals service!

Go Back   Forex Trading > Discussion Areas > 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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-28-2005, 08:10 PM
forextrend's Avatar
Senior Member
 
Join Date: Nov 2005
Posts: 119
forextrend is an unknown quantity at this point
Lightbulb using a custom indicator

Can some one help me on how to use a custom indicator in an expert?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-28-2005, 09:24 PM
codersguru's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Arrow iCustom function

Quote:
Originally Posted by forextrend
Can some one help me on how to use a custom indicator in an expert?
There are two kind of indicators you can use in your expert advisor:

Built-in indicators:

The MQL4 has a number of built-in indicators which you can use them as a function for example:

Code:
double iMA( string symbol, int timeframe, int period, int ma_shift, int ma_method, int applied_price, int shift)
Code:
double iATR( string symbol, int timeframe, int period, int shift)
Any other indicator:
To use any other indicator in your expert advisor you use the function iCustom:

Code:
double iCustom( string symbol, int timeframe, string name, ... , int mode, int shift)
For more details about iCustom see my post:

iCustom function
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-02-2005, 01:36 AM
forextrend's Avatar
Senior Member
 
Join Date: Nov 2005
Posts: 119
forextrend is an unknown quantity at this point
Thumbs up

thanks for the information
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
Using Custom Indicator in EA (MT4) jimven Setup Questions 5 05-28-2007 11:35 AM
Need an MT4 custom indicator wadeboxjr Metatrader 4 1 08-22-2006 08:50 PM
Custom Indicator Help FX-Hedger Indicators - Metatrader 4 4 03-05-2006 01:26 PM
Custom Indicator Roets Setup Questions 1 01-03-2006 07:54 AM


All times are GMT. The time now is 05:00 AM.



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