You can use Object()-Functions within indicators to draw on Price-Chart.
Hi flaab,
I think what ubzen meant was, from your subchart CI draw objects to main chart, because we can only use buffers on one chart only and not more.
Hi flaab,
I think what ubzen meant was, from your subchart CI draw object to main chart.
There are codes by WHRoeder which creates IIRC indicator buffers using Arrays; there are allot of his such examples. I recommend you do a good search.
In the end, indicator buffers are just arrays and oscillator's are just another method of drawing. What you ask for CAN be done but it requires some creativity.
Don't expect anyone to hold your hands and teach you how to do this one. I'm wondering why you cannot just make 2 separate indicators like everyone else, but I'm not even gonna bother asking why ;)
Thanks! Maybe another question, is there a suitable way of having more than 8 buffers in any indicator? Only 6 need to be public.
Or unlimited sized arrays for that matter :P
Thanks a lot to both of you.
Let me guess, this still got to do with your "color paint all space projects", isn't ?
Oh yeah, I need much more internal buffers LOL! If we were using plain C I could do dinamic lists, but it is not the case with MQL.
I need 6 public buffers and 8 internal buffers :P
Thanks! Maybe another question, is there a suitable way of having more than 8 buffers in any indicator? Only 6 need to be public.
Or unlimited sized arrays for that matter :P
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello!
I would like to make an indicator in such a way that it draws on the price chart, and also to include a separate window with an oscillator. All in one single file and indicator.
Can this be done? Or something similar?
Cheers!