Hi all, i am trying to use icustom with this attached indicator. I usually just delete the "extern" and it would work fine.
but not this time. Anyone can shed some like why this is so?Can someone help please make a non-input and possibly, have another buffer that have both positive and negative values, please?Many thanks in advance,
YFX
Re: Point of Balance iCustom
2Because it calls itself recursively to calculate the the valueyuhu wrote:Hi all, i am trying to use icustom with this attached indicator. I usually just delete the "extern" and it would work fine.
but not this time. Anyone can shed some like why this is so?Can someone help please make a non-input and possibly, have another buffer that have both positive and negative values, please?Many thanks in advance,
YFX
If you remove the parameters, it can not do that any more
Re: Point of Balance iCustom
3I understand that. but just deleting the "extern" doesnt remove the parameters does it? Just internalizing it (?)
Re: Point of Balance iCustom
4No. First of all it makes them inaccessible and you can not set (change) their values any moreyuhu wrote:I understand that. but just deleting the "extern" doesnt remove the parameters does it? Just internalizing it (?)
And since the indicator needs to have the parameters accessible (in order to "tell" to the next instance which level should be calculated) and since it can not do that ("tell") any more, the whole recursive mode falls and the calculations are nt being performed as they should
Re: Point of Balance iCustom
5I see.
Would the following work:
Thank you in advance!
Would the following work:
(iCustom(NULL,0,"Point of balance - histo mtf nmc",0,12,10,PRICE_CLOSE,true,0,i+1))
Thank you in advance!
Re: Point of Balance iCustom
6hmm, i tried the following:
but it doesnt work.. do you see anything glaringly obvious that is wrong?
Thank you!
(iCustom(NULL,0,"Point of balance - histo mtf nmc","Current time frame",12,10,1,true,0,i+1));
(iCustom(NULL,0,"Point of balance - histo mtf nmc",0,12,10,PRICE_CLOSE,true,0,i+1));
(iCustom(NULL,0,"Point of balance - histo mtf nmc","Current time frame",12,10,PRICE_CLOSE,true,0,i+1));
but it doesnt work.. do you see anything glaringly obvious that is wrong?
Thank you!
Re: Point of Balance iCustom
7yuhuyuhu wrote:hmm, i tried the following:
(iCustom(NULL,0,"Point of balance - histo mtf nmc","Current time frame",12,10,1,true,0,i+1));
(iCustom(NULL,0,"Point of balance - histo mtf nmc",0,12,10,PRICE_CLOSE,true,0,i+1));
(iCustom(NULL,0,"Point of balance - histo mtf nmc","Current time frame",12,10,PRICE_CLOSE,true,0,i+1));
but it doesnt work.. do you see anything glaringly obvious that is wrong?
Thank you!
You can not change the parameters of that indicator - they are used in a specific way that does not allow you to change them
Re: Point of Balance iCustom
8Hi Mladen, i wasnt trying to change anything, just wasnt sure of the correct syntax.
I finally managed to get it to work by
iCustom(NULL,0,"Point of balance - histo mtf nmc","Current time frame",12,10,PRICE_CLOSE,true,1,i+1));
I still wasnt sure why buffer 0 didnt work, but buffer 1 works.
Many thanks as always for your guidance
I finally managed to get it to work by
iCustom(NULL,0,"Point of balance - histo mtf nmc","Current time frame",12,10,PRICE_CLOSE,true,1,i+1));
I still wasnt sure why buffer 0 didnt work, but buffer 1 works.
Many thanks as always for your guidance
Re: Point of Balance iCustom
9Happy tradingyuhu wrote:Hi Mladen, i wasnt trying to change anything, just wasnt sure of the correct syntax.
I finally managed to get it to work by
iCustom(NULL,0,"Point of balance - histo mtf nmc","Current time frame",12,10,PRICE_CLOSE,true,1,i+1));
I still wasnt sure why buffer 0 didnt work, but buffer 1 works.
Many thanks as always for your guidance
Who is online
Users browsing this forum: No registered users and 15 guests