NexusFi: Find Your Edge


Home Menu

 





Candle size indicator


Discussion in NinjaTrader

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




 
Search this Thread

Candle size indicator

  #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?
Better Renko Gaps
The Elite Circle
Cheap historycal L1 data for stocks
Stocks and ETFs
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
How to apply profiles
Traders Hideout
ZombieSqueeze
Platforms and Indicators
 
  #2 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


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
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103

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


© 2024 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 - Privacy Policy - Downloads - Top
no new posts