Support Board
Date/Time: Tue, 26 Nov 2024 16:42:40 +0000
[User Discussion] - Horizontal bands
View Count: 1598
[2014-05-14 15:00:38] |
Tonkadad - Posts: 235 |
How can I create horizontal bands when stochastic slope is up (green) or down (red)
|
[2014-05-15 05:45:38] |
vegasfoster - Posts: 444 |
Maybe I can, but I'm not really understanding what you want.
|
[2014-05-15 07:11:27] |
Tonkadad - Posts: 235 |
Thanks vega, basically I just want a visual indicator when a 5 minute charts stochastic turns up/down and have that plotted on a 1 minute chart with little horizontal blocks/bars (just something small) that at a glance lets you know the 5 min stoch turns up/green or down/red on a 1 min chart. Does that make sense? Date Time Of Last Edit: 2014-05-15 07:12:01
|
[2014-05-15 15:24:55] |
vegasfoster - Posts: 444 |
I think you want it to plot on the center line, similar to the Bollinger squeeze. I can do this next couple days, lemme know if my understanding is wrong.
|
[2014-05-15 18:59:54] |
Tonkadad - Posts: 235 |
If you can imagine a horizontal line of bars/blocks that color correspond to the slope of the stochastic. It would literally take up about 1/2" of screen real estate at the bottom.
|
[2014-05-17 17:56:22] |
vegasfoster - Posts: 444 |
Overlay the 5-minute stoch on the 1-minute chart and hide the study. Add the StudySlopeBands study and change the region to the region with the 1-minute stoch, change the input to the overlayed 5-minute stoch, and choose the subgraph you want to base the slope band on. You can also adjust the bands to desired width.
|
StudySlopeBands.cpp - Attached On 2014-05-17 17:55:12 UTC - Size: 2.06 KB - 468 views StudySlopeBands.dll - Attached On 2014-05-17 17:55:37 UTC - Size: 16 KB - 446 views |
[2014-05-17 18:01:50] |
Tonkadad - Posts: 235 |
Wow, thank you so much vegas.
|
[2014-05-18 15:59:51] |
Tonkadad - Posts: 235 |
Works great, thanks for all of your time.
|
[2014-05-19 14:42:30] |
Tonkadad - Posts: 235 |
Vegas, I noticed some behavior where the color doesn't seem to change, like it stays on the last color. I woke up this morning and the band was completely green even though the 5 min stochs had oscillated between red/green, when I hit recalculate it then showed the proper colors. Is there a simple code to have it recalculate every few minutes. |
[2014-05-19 15:50:09] |
vegasfoster - Posts: 444 |
It's set to auto loop, so you shouldn't have to manually recalculate anything. I can't reproduce on my end, it's been loaded for a while and working correctly, so my only thoughts are 1) it could be a precedence issue, so I have attached an updated version to lower the precedence of the study, or 2) you have the wrong subgraph selected, or 3) the overlay study settings are different than mine. Try the new version and double check the subgraph number is correct, and if that doesn't fix it, then I will need you to show me all of your settings so I can see what is different. Let me know.
|
StudySlopeBandsV2.dll - Attached On 2014-05-19 15:49:59 UTC - Size: 16.5 KB - 440 views |
To post a message in this thread, you need to log in with your Sierra Chart account: