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)
I copy ninja ema code, copy your code and I see an arrow.
why not just use drawarrow using another part of the code is too confusing;
...
protected override void OnBarUpdate()
{
// IArrowDown arrow =
DrawArrowDown("MyArrowDown2",true, 0, High[0] + TickSize, Color.Red);
Value.Set(CurrentBar == 0 ? Input[0] : Input[0] * (2.0 / (1 + Period)) + (1 - (2.0 / (1 + Period))) * Value[1]);
}
If the arrow is too close to the price bar, then offset it a few ticks by changing + TickSize to "+ 2*TickSize or 3*TickSize until it's far enough away that it doesn't obscure the pricebar.
After all, it's what you learn AFTER you know it all, that counts!
Ok, now i have arrows printing on the chart...which is fantastic!!! I'm so happy....but now i have a different problem....it only prints for the most recent moves.....it doesn't print them when i scroll back and look at previous data.....anyone know how to fix that?
Your help is very much appreciated,
HealthWealthTrade
Try my suggestion (post # 5) "+CurrentBar". That should print arrows every time the condition occurs and leave them on the chart for scroll-back.
Or, post your indicator here & someone will take a look at the code to see what can be done to achieve what you're looking for.
After all, it's what you learn AFTER you know it all, that counts!