Newbie: ICustom Help (MT4) - Traders Laboratory

Go Back   Traders Laboratory > Trading Resources > Trading Indicators > Coding Forum

Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-26-2008, 10:50 PM
not.likely has no status.

 
Join Date: Mar 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Newbie: ICustom Help (MT4)

Hi all,

Using iCustom in MT4 "Calculates the specified custom indicator and returns its value" but which value?

If the custom indicator called has three buffers, all of which are "returned" and plotted in a separate window, how do I specify which of these buffers is returned by the iCustom call? Is it the first buffer declared? The last one?

Any help will be appreciated.

Reply With Quote
  #2 (permalink)  
Old 06-26-2008, 11:20 PM
not.likely has no status.

 
Join Date: Mar 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Newbie: ICustom Help (MT4)

duh.... feel so dumb... mode!!!

Reply With Quote
  #3 (permalink)  
Old 06-27-2008, 03:48 AM
kalenzo has no status.

 
Join Date: May 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Newbie: ICustom Help (MT4)

Quote:
View Post
Hi all,

Using iCustom in MT4 "Calculates the specified custom indicator and returns its value" but which value?

If the custom indicator called has three buffers, all of which are "returned" and plotted in a separate window, how do I specify which of these buffers is returned by the iCustom call? Is it the first buffer declared? The last one?

Any help will be appreciated.
it's very simple, you have to get buffer value one by one. Lets say that you have 3 buffers:
iCustom(Symbol(),Timefram e,"CUSOMT INDI NAME",all parameters separated by coma, BUFFER, SHIFT);
so eg if you wish to have values of 3 buffers of current bar you will write :
iCustom(Symbol(),Timefram e,"CUSOMT INDI NAME",all parameters separated by coma, 0, 0);
iCustom(Symbol(),Timefram e,"CUSOMT INDI NAME",all parameters separated by coma, 1, 0);
iCustom(Symbol(),Timefram e,"CUSOMT INDI NAME",all parameters separated by coma, 2, 0);

Reply With Quote
Reply

Tags
icustom, mql, mt4



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 On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco futures course for Newbie bowler Market Profile® 5 03-10-2008 12:23 AM
What do you buy on ER2 ... newbie Question kakakidan Beginners Forum 2 07-04-2007 10:15 AM
Newbie Questions..... MPBigley Beginners Forum 14 06-19-2007 06:02 PM
Newbie looking to start trading creso Beginners Forum 18 09-07-2006 11:56 AM


All times are GMT -4. The time now is 11:02 AM.

 

 
 


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76