NexusFi: Find Your Edge


Home Menu

 





Bar (candlestick) lenght study


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one rrichie with 8 posts (0 thanks)
    2. looks_two crazybears with 4 posts (1 thanks)
    3. looks_3 Sawtooth with 2 posts (1 thanks)
    4. looks_4 cory with 2 posts (3 thanks)
      Best Posters
    1. looks_one Jolew with 2 thanks per post
    2. looks_two cory with 1.5 thanks per post
    3. looks_3 Sawtooth with 0.5 thanks per post
    4. looks_4 crazybears with 0.3 thanks per post
    1. trending_up 6,609 views
    2. thumb_up 7 thanks given
    3. group 5 followers
    1. forum 16 posts
    2. attach_file 1 attachments




 
Search this Thread
  #11 (permalink)
 Jolew 
San Jose, CA
 
Experience: Intermediate
Platform: Sierra Chart
Broker: IB
Trading: Futures
Posts: 113 since Jan 2011
Thanks Given: 54
Thanks Received: 97

I think it should be like this if I understand requirements correctly. The previous answers would miss green bars.

=ABS(O-C)>=TICKSIZE*5


Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
My Rant with AMP Futures
Trading Reviews and Vendors
EA
Platforms and Indicators
Trump Media to sell instant access to market-moving soci …
Traders Hideout
No book, only a stair: journaling fills where price move …
Cryptocurrency
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Mes vs MNQ
6 thanks
NexusFi site changelog and issues/problem reporting
5 thanks
BERN ALGOS algo trading journal
3 thanks
Johnnys Journal
2 thanks
TopStep Trader disappointment
2 thanks
  #12 (permalink)
 Sawtooth 
Prescott AZ USA
 
Experience: Advanced
Platform: SierraChart
Broker: EdgeClear, FCM:Phillip, Data:Denali, Routing:Teton
Trading: YM RTY ES NQ
Posts: 480 since Nov 2009
Thanks Given: 222
Thanks Received: 608


Jolew View Post
I think it should be like this if I understand requirements correctly. The previous answers would miss green bars.

=ABS(O-C)>=TICKSIZE*5

Yes, you are correct. Good eye.


Reply With Quote
Thanked by:
  #13 (permalink)
 rrichie 
Brno, Czech republic
 
Experience: Beginner
Platform: NinjaTrader
Trading: Futures, Forex, ES
Posts: 30 since Feb 2013
Thanks Given: 16
Thanks Received: 3


I added study Color Bar Based On Alert Condition and left default settings. In Chart settings, Alerts Tab in Alert Condition I wrote syntax =ABS(O-C)>=TICKSIZE*5 for YM.
Thanks All for help.


Started this thread Reply With Quote
  #14 (permalink)
 rrichie 
Brno, Czech republic
 
Experience: Beginner
Platform: NinjaTrader
Trading: Futures, Forex, ES
Posts: 30 since Feb 2013
Thanks Given: 16
Thanks Received: 3


crazybears View Post
YM e.g 5 ticks

=ABS(O-C>=5)

on settings tab did you set output not 1.0 but as user defined?

Which settings exactly you mean?


crazybears View Post
Hi

assuming putting formula on TF,so ticksize=0.1,and you'd paint bar if the distance of close from the open is greater or equal to 5 ticks

try: =ABS(O-C>=0.5).


What you mean TF?

Thank you.


Started this thread Reply With Quote
  #15 (permalink)
 crazybears 
Alesia E.U.
 
Experience: Intermediate
Platform: Sierra chart
Trading: Futures
Posts: 168 since Feb 2011
Thanks Given: 146
Thanks Received: 115

this settings

TF == Russel 2000


Attached Thumbnails
Click image for larger version

Name:	settings.png
Views:	282
Size:	102.5 KB
ID:	147550  
Reply With Quote
  #16 (permalink)
 rrichie 
Brno, Czech republic
 
Experience: Beginner
Platform: NinjaTrader
Trading: Futures, Forex, ES
Posts: 30 since Feb 2013
Thanks Given: 16
Thanks Received: 3

Big Thanks to everbody, but problem was as usually between keyboard and chair. I set up Alert in chart settings TAB instead of Alert Tab in Study settings.
Now everything works fine, aqain thanks to all.


Started this thread Reply With Quote
  #17 (permalink)
 rrichie 
Brno, Czech republic
 
Experience: Beginner
Platform: NinjaTrader
Trading: Futures, Forex, ES
Posts: 30 since Feb 2013
Thanks Given: 16
Thanks Received: 3

Hi, I woul like to ask for help with one more condition. How will syntax look, if I would color bar in same way like before /ABS(O-C)>=TICKSIZE*x/ and second condition will be that It must be bigger than previous bar(candlestick).
Thank you.


Started this thread Reply With Quote




Last Updated on May 26, 2014


© 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