Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
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)
Plot on price panel when subgraph study crosses zero line
Updated October 27, 2014
trending_up
1,559 views
thumb_up
5 thanks given
group
1 followers
forum
5 posts
attach_file
0 attachments
Plot on price panel when subgraph study crosses zero line
October 26th, 2014, 06:47 PM
Manta, Ecuador
Site Administrator Developer Swing Trader
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,239
Thanks Received: 101,661
Can someone show me how to plot on the price panel when a subgraph study crosses above/below zero line?
If subgraph study 4 crosses below 0 - plot letter 'Z' in red on price panel, a few ticks above the current price.
If subgraph study 4 crosses above 0 - plot letter 'Z' in blue on price panel, a few ticks below current price.
I'm just trying to use the Z-score function but visualize it in a different way.
I assume I can also adapt the above formula example to be able to also plot when the z-score hits a standard deviation of +/- 1.
Mike
Can you help answer these questions from other members on NexusFi?
Best Threads (Most Thanked) in the last 7 days on NexusFi
October 27th, 2014, 02:06 AM
San Jose, CA
Experience: Intermediate
Platform: Sierra Chart
Broker: IB
Trading: Futures
Posts: 113 since Jan 2011
Thanks Given: 54
Thanks Received: 97
Use 'Color Bar Based on Alert Condition' - one instance for crossing from above and one from below.
Set alert condition to something like '=CROSSFROMABOVE(ID4.SG1, 0)
Set Study setting 'Output when condition true' to 'Use input value' and set input value to high or low depending on where you want the text.
Set the drawstyle to 'Text' and enter Z for Text to Draw.
You can set the offset by ticks or by percentage.
October 27th, 2014, 12:42 PM
Manta, Ecuador
Site Administrator Developer Swing Trader
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,239
Thanks Received: 101,661
Jolew
Use 'Color Bar Based on Alert Condition' - one instance for crossing from above and one from below.
Set alert condition to something like '=CROSSFROMABOVE(ID4.SG1, 0)
Set Study setting 'Output when condition true' to 'Use input value' and set input value to high or low depending on where you want the text.
Set the drawstyle to 'Text' and enter Z for Text to Draw.
You can set the offset by ticks or by percentage.
Works perfectly, thank you!
Mike
October 27th, 2014, 12:44 PM
Manta, Ecuador
Site Administrator Developer Swing Trader
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,239
Thanks Received: 101,661
Could you also tell me how to test if the subgraph value is > x (ie > 1 or < -1)?
Mike
October 27th, 2014, 01:48 PM
San Jose, CA
Experience: Intermediate
Platform: Sierra Chart
Broker: IB
Trading: Futures
Posts: 113 since Jan 2011
Thanks Given: 54
Thanks Received: 97
Big Mike
Could you also tell me how to test if the subgraph value is > x (ie > 1 or < -1)?
Mike
I'm not sure exactly what you are looking for on this one.
If just a separate alert for greater than 1, just use '=ID4.SG1>1'
You can also use CROSSFROMABOVE or CROSSFROMBELOW, such as '=CROSSFROMABOVE(ID4.SG1, -1)'
If you are combining the criteria, just put both criteria in an AND statement.
October 27th, 2014, 02:20 PM
Manta, Ecuador
Site Administrator Developer Swing Trader
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,239
Thanks Received: 101,661
Jolew
I'm not sure exactly what you are looking for on this one.
If just a separate alert for greater than 1, just use '=ID4.SG1>1'
You can also use CROSSFROMABOVE or CROSSFROMBELOW, such as '=CROSSFROMABOVE(ID4.SG1, -1)'
If you are combining the criteria, just put both criteria in an AND statement.
Perfect, thanks. You can tell I am a complete novice at this, I just never took time to learn this part of Sierra.
Mike
Last Updated on October 27, 2014