[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why works this function not?



PureBytes Links

Trading Reference Links


Hello Tomasz and 
others,
<FONT face=Arial 
size=2> 
I want tocreate 
composite indicators with the following code:
IndustryID(0) should 
give the number of the industry, but it seems that it don't works in this 
combination.
Make I something 
wrong? I have tried the same formula with +<FONT face=Arial color=#0000ff 
size=2>name() instead +<FONT face=Arial 
color=#0000ff size=2>IndustryID() and this 
works.
<FONT face=Arial 
size=2> 
I hope for 
help
<FONT face=Arial 
size=2> 
<FONT face=Arial 
size=2>Thomas
<FONT face=Arial 
size=2> 

Bull = CCI(<FONT 
color=#ff00ff size=2>20)><FONT color=#ff00ff 
size=2>0 ;
//Industries - Number of Bulls
AddToComposite(<FONT face=Arial 
size=2>Bull,<FONT color=#ff00ff 
size=2>"~i"+<FONT face=Arial color=#0000ff 
size=2>IndustryID()<FONT 
size=2>,"C",<FONT 
color=#ff00ff size=2>1);
Buy=0<FONT face=Arial 
size=2>;