Hi- I programmed my own custom indicator using TIB and it works when I attach it to a chart. I now have two problems:
1. If I create another custom indicator that tries to use the first custom indicator in a calculation, the first indicator does not come up in the list of MLQ indicators since it is was compiled as an EX4. How can I get TIB to recognize it? When I switch the list selection to "All Files" I can find my first indicator but when I try to use it, TIB says it can't recognize the location or number of variables.
2. For the first custom indicator I created in TIB, when I try to use it in a formula for a second custom indicator, it displays as:
iCustom(NULL,0,"ZZZ",0,i)
ZZZ being a fake name for my indicator. The new indicator is displaying something but not what it is supposed to. The value I am trying to use from the first custom indicator displays in MT4 as "Value2: XX.XX" XX.XX being the numbers I want. I would think to display Value2, I would have have to specify mode 1; is this correct? Where would that go in the above iCustom format?
|