NexusFi: Find Your Edge


Home Menu

 





Candle size indicator


Discussion in NinjaTrader

Updated
    1. trending_up 5,298 views
    2. thumb_up 5 thanks given
    3. group 2 followers
    1. forum 4 posts
    2. attach_file 1 attachments




 
Search this Thread
  #1 (permalink)
 PedroMAN 
Manchester, England
 
Experience: Beginner
Platform: NinjaTrader, Multicharts
Broker: Mirus/Zenfire
Trading: NQ,ES
Posts: 7 since Apr 2010
Thanks Given: 44
Thanks Received: 1

Hello all!
I'm new here and I'll appreciate some help!

Looking for an indicator to alert me if a specific candle is going over a certain range also I am looking to plot this candle in different color.

For example: I am trading British Pound futures and if candle will be bigger than 10 ticks, it will plot it in different color.

Any ideas?

Thanks,
Peter


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Iran Update May 8: Still Reviewing MOU, Demands Reparati …
Traders Hideout
Post-Summit Scorecard: $36M in May 15 Bets Settle Near-Z …
Prediction Markets & Event Contracts
White House Drops First Alien Files Today -- Market Says …
Prediction Markets & Event Contracts
Iran Talks Final Stages -- Two VLCCs Exit Hormuz, Record …
Traders Hideout
$4.5M Floods Russia Nuclear Contract in 24 Hours -- Krem …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
8 thanks
Darmok and Jalad at Tanagra
3 thanks
  #2 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,117


PedroMAN View Post
Hello all!
I'm new here and I'll appreciate some help!

Looking for an indicator to alert me if a specific candle is going over a certain range also I am looking to plot this candle in different color.

For example: I am trading British Pound futures and if candle will be bigger than 10 points, it will plot it in different color.

Any ideas?

Thanks,
Peter


I doubt that you will ever see a candle for the British Pound futures that is bigger than 10 points. This would require a considerable increase in US government debt.

But if you look for a candle exceeding 10 ticks, it is easy to code. Just create an indicator an put this code or similar into OnBarUpdate()

 
Code
if  (High[0] - Low[0]  > 10 * TickSize)
           BarColor = Color.Orange;
You can then also add a sound alert.


Reply With Quote
Thanked by:
  #3 (permalink)
 PedroMAN 
Manchester, England
 
Experience: Beginner
Platform: NinjaTrader, Multicharts
Broker: Mirus/Zenfire
Trading: NQ,ES
Posts: 7 since Apr 2010
Thanks Given: 44
Thanks Received: 1


Hi, thank you for your answer.
I've meant ticks no points, sorry for that mistake.

I am no programmer and I do not know how to create an indicator ... Can you help me out to create it, pls...

Thanks,
Peter


Started this thread Reply With Quote
  #4 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,117

This is not a fully fledged indicator, it is just meant to show how to code it. Have not serialized the colors, so it cannot be selected by the user via indicator dialogue. But of course you can change the colors in the code and save the changes.


Attached Files
Elite Membership required to download: CandleSize.zip
Reply With Quote
  #5 (permalink)
 PedroMAN 
Manchester, England
 
Experience: Beginner
Platform: NinjaTrader, Multicharts
Broker: Mirus/Zenfire
Trading: NQ,ES
Posts: 7 since Apr 2010
Thanks Given: 44
Thanks Received: 1

Great job, thank you so much that's what I wanted to see.

Perfect job, I really appreciate your help.

Thanks,
Peter


Started this thread Reply With Quote




Last Updated on August 14, 2011


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts