Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
If some1 could help, would be much appreciated
I've written a few indicators using "public override void Plot"
... like many you'll found in the futures.io (formerly BMT) download section
My problem is that when I call 2 dataseries on the same chart of NT, the "drawing" part of the indicator freeze on the chart and, moving my scrollbar right or left have totally no effect on it... but I see everrything else moving ....
See pic attached ot try to make myself clearer... in this exemple, I redraw the candles over those of NT ... but totally frozen on the chart when I insert a second dataserie for the 5 min candles.
I guess NT dont like the "public" part of "public override void Plot", and "private" does not work ...
Thanks
Can you help answer these questions from other members on NexusFi?
It should not be any issue with 'public' - more likely the code in the Plot method is not actually doing what you expect (e.g. lock up in the 'while' statement, or not using bar offsets correctly, or attaching to the wrong data series?. Given the glimpse of ChartControl I assume you are using direct draw graphics for a specific overlay requirement which require a full redraw on every call, otherwise could you simplify the indicator to just use Ninja Draw methods?
Without seeing more of the code it is hard to suggest much else, except maybe never underestimate the usefulness of simple 'Print' calls with the Ninja Output Window opened up, frequently overlooked and often still the best spanner in the box.
I tried without success ...
Thanks anyway for your help !
Lio
Yes, sorry, was just turning in for sleep and realised what I posted is for multi-instrument series using the 'Add()' method and not multi-dataseries added from the GUI, I will have a look when I can test tomorrow unless one of the other serious C#'ers solves it before then.