Forex
Google

Go Back   Forex Trading > Metatrader Training > Metatrader 4 mql 4 - Development course > Questions
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


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 04-13-2006, 08:06 PM
Chewbaca Chewbaca is offline
Junior Member
 
Join Date: Mar 2006
Posts: 7
Chewbaca is on a distinguished road
Question Calling a custom indicator to MT4 Expert

I have been using the indicators that come with Metatrader 4.

I have been able to call them simply by for example using the following statement for Stochastic.

Stoch=iStochastic(NULL,0,30,5,12,MODE_SMA,0,MODE_M AIN,0);

However, I acquired an indicator(ADXdon) that does not come with MT4 and want to add it to my expert. I cannot call it the same way I call the Stochastic indicator.

This indicator in essence tells me when not to trade because the market is flat. When it is below 20 I don't trade. It works well manually.

How can I call this indicator from the expert if it doesn't come with Metatrader?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-13-2006, 11:53 PM
Mohammed's Avatar
Mohammed Mohammed is offline
Senior Member
 
Join Date: Mar 2006
Posts: 119
Mohammed is on a distinguished road
iCustom function!

Quote:
Originally Posted by Chewbaca
I have been using the indicators that come with Metatrader 4.

I have been able to call them simply by for example using the following statement for Stochastic.

Stoch=iStochastic(NULL,0,30,5,12,MODE_SMA,0,MODE_M AIN,0);

However, I acquired an indicator(ADXdon) that does not come with MT4 and want to add it to my expert. I cannot call it the same way I call the Stochastic indicator.

This indicator in essence tells me when not to trade because the market is flat. When it is below 20 I don't trade. It works well manually.

How can I call this indicator from the expert if it doesn't come with Metatrader?
Salam Chewbaca,

In this case you have to use the iCustom function.
For more information about it please review this:

http://www.forex-tsd.com/questions/3...m-function.htm
__________________
There is a fine line between freedom of expression and hate literature.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Request for custom crossover expert thn5625 Expert Advisors - Metatrader 4 2 01-26-2007 06:22 PM
Custom Chart Request-calling all programmers Aaragorn Metatrader 4 6 06-16-2006 12:18 AM
Adding Custom Indicator to Expert Chewbaca Expert Advisors - Metatrader 4 1 04-14-2006 09:36 AM
help making this custom indicator an expert harold4x Setup Questions 0 03-14-2006 02:09 AM


All times are GMT. The time now is 02:36 AM.