ICustom function - page 2

 

Ok!

homicida:
oh the only thing i want is to call it und get the current trend back.

like "1" for up "2" for down and "3" for side.

thats whats im trying to get done.

cause your code works right.

i know know my main problem is the lack of knowledege about the indicator

so i cant interpret the returnvalues in the right way.

but i cant find some info on for it.

greets homi

homi,

This will need a little modification in LSMAitself, to make it return the direction of the indicator's line ("1" for up "2" for down and "3" for side) with the ordinary the three values of the indicator's lines.

I did it But I can't test it before Monday .

 

oh i want it plleeeaaassseee ^^

but you could probably post how youve done it ^^

greets homi

 

Sure

homicida:
but you could probably post how youve done it ^^ greets homi

Sure, I'll do.

 

iCustom to get the current line color of LSMA.

homicida:
but you could probably post how youve done it ^^ greets homi

homicida,

I'm so sorry for the delay.

Please find attached modified version of LSMA and iCustom_Demo.

I've added a new buffer to LSMA to hold the current color (1=red, 2=green and 3=yellow).

Where's (1=downtrend , 2=uptrend and 3=no trend).

To use iCustomfunction to get the value of this buffer, you may write:

double clr = iCustom(NULL,0,"LSMA in Color",14,1500,5,0);
Files:
 

nice

really thx

im delayed too:) so no worrys.

 
homicida:
really thx im delayed too:) so no worrys.

homicida,

Any good news for me ?

Did you try it?

 

im interested in this subject too

your code as an indicator works well

but i want to access the 3 colors from an expert

and i seem not to be able to

 
 

iCustom() problem

I'm having problems using iCustom() - I can't get the arrows in my indicator buffers to show. They're fine when I drop the indicator on the chart, but don't show when I call it from the EA. My text objects do show, so I know the call is finding the custom indicator. Any ideas why? Also - if I call an indicator from my EA, how does my EA get the values that the indicator is displaying? Any help would be appreciated.

 
billritz:
I'm having problems using iCustom() - I can't get the arrows in my indicator buffers to show. They're fine when I drop the indicator on the chart, but don't show when I call it from the EA. My text objects do show, so I know the call is finding the custom indicator. Any ideas why? Also - if I call an indicator from my EA, how does my EA get the values that the indicator is displaying? Any help would be appreciated.

I am using icustom in EA but just to call custom indocator. Not to display indicator in the chart as it is not necessary for EA in most cases.

Reason: