Welcome to the Traders Laboratory Forums.
Coding Forum Collaborate, receive help, or discuss coding related issues.

Reply
Old 06-26-2008, 10:50 PM   #1

Join Date: Mar 2008
Posts: 2
Ignore this user

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.
not.likely is offline  
Reply With Quote
Old 06-26-2008, 11:20 PM   #2

Join Date: Mar 2008
Posts: 2
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts

Re: Newbie: ICustom Help (MT4)

duh.... feel so dumb... mode!!!
not.likely is offline  
Reply With Quote
Old 06-27-2008, 03:48 AM   #3

Join Date: May 2007
Location: Bydgoszcz
Posts: 1
Ignore this user

Thanks: 0
Thanked 0 Times in 0 Posts

Re: Newbie: ICustom Help (MT4)

Quote:
Originally Posted by not.likely »
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);
kalenzo is offline  
Reply With Quote

Reply

Tags
icustom, mql, mt4

Thread Tools
Display Modes Help Others By Rating This Thread
Help Others By Rating This Thread:


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie Questions..... MPBigley Beginners Forum 16 08-31-2010 05:30 AM
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 looking to start trading creso Beginners Forum 18 09-07-2006 11:56 AM

All times are GMT -4. The time now is 11:50 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
CS to VB integration by DeskLancer
©2006-2011 Traders Laboratory, All Rights Reserved.