help with sierra custom study, color bar based on condition
futures io futures trading

help with sierra custom study, color bar based on condition
Updated: Views / Replies:391 / 2
Created: by rmiller863 Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Thread Tools Search this Thread

help with sierra custom study, color bar based on condition

  #1 (permalink)
Lake wales FL/ USA
Trading Experience: Intermediate
Platform: TOS ,Tradestation, Sierra
Favorite Futures: Futures
Posts: 40 since Jul 2013
Thanks: 9 given, 2 received

help with sierra custom study, color bar based on condition

Id like to make a custom study on Sierra charts. Using the color bar based on alert condition, a study that would plot a point if the current candle opens outside the range of open and close of the previous candle? High or low wouldn't matter, as long as its not opening in the body of previous candle?

thank you

Reply With Quote

Can you help answer these questions
from other members on futures io?
Radar Screen for small caps
Does Tradestation on windows server?
TTM Value or TTM Value Alert
Price Levels With Start And End Times
Best Threads (Most Thanked)
in the last 7 days on futures io
Recession? Depression? Bailout!
278 thanks
ES futures Spoo-nalysis SP500/SPX
247 thanks
Coronavirus COVID-19
155 thanks
Understanding Footprint Charts / Number bars
108 thanks
What's your "comfort" number?
51 thanks
  #2 (permalink)
Phoenix AZ USA
Trading Experience: Advanced
Platform: SierraChart
Broker/Data: Sierra Futures/SC Denali
Favorite Futures: YM NQ
Posts: 368 since Nov 2009
Thanks: 146 given, 452 received

This post has been selected as an answer to the original posters question Answer

Try this:

You can learn to do this yourself:

With Simple Alert syntax, the OHLC of a bar is:
Open = O
High= H
Low= L

Previous bars are located with a [-1] suffix:
previous Open = O[-1]
previous High= H[-1]
previous Low= L[-1]
previous Close=C[-1]

OR and AND functions are opened and closed with parentheses ().

The Close of a [previous] candle is at one side of the candle body, either at the upper or lower.
If it is at the upper, then: C[-1]>O[-1] and the current open must be greater than the previous close: O>C[-1]
If it is at the lower, then: C[-1]<O[-1] and the current open must be less than the previous close: O<C[-1]

Since either can happen, they are combined with OR.

To make it visually easier, you can use spaces to separate sections:
=OR( AND( C[-1]>O[-1], O>C[-1] ), AND( C[-1]<O[-1], O<C[-1] ) )

Last edited by tomgilb; June 24th, 2019 at 01:01 PM.
Reply With Quote
The following 4 users say Thank You to tomgilb for this post:
  #3 (permalink)
Lake wales FL/ USA
Trading Experience: Intermediate
Platform: TOS ,Tradestation, Sierra
Favorite Futures: Futures
Posts: 40 since Jul 2013
Thanks: 9 given, 2 received

Thanks, just what I was looking for.

Reply With Quote


futures io Trading Community Platforms and Indicators Sierra Chart > help with sierra custom study, color bar based on condition

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now

$250 Amazon Gift Cards with our "Thanks Contest" challenge!

Right now

Social Media Predictive Data for Traders w/Joe Gits @ SMA [and Lime Brokerage]

Apr 9

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to color the CD study based on a MA in Sierra Charts Big Mike Sierra Chart 12 February 22nd, 2018 06:39 PM
Color Bar Based On Alert Condition TICK CODE jgault10 Sierra Chart 1 January 6th, 2018 12:45 PM
Color bar based on alert condition(IF) Neo1 Sierra Chart 2 June 23rd, 2015 01:04 PM
Color a Bar BAsed on an ALert Condition on a Study Traderwolf Sierra Chart 1 November 26th, 2014 08:08 PM
Color bar study always outputting 0 to spreadsheet study vegasfoster Sierra Chart 2 January 3rd, 2013 12:30 PM

All times are GMT -4. The time now is 03:39 PM. (this page content is cached, log in for real-time version)

Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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.
no new posts