Login Page - Create Account

Support Board


Date/Time: Fri, 04 Jul 2025 21:39:29 +0000



[User Discussion] - Line Color Change when hitting by Bar

View Count: 1136

[2020-06-07 11:29:51]
Tom_Tom - Posts: 40
Hello,

I have a Heikin Ashi Study and a Donchian Channel. I would change the Color of the Channel Lines if the Heikin Ashi Bar hits the Channel Lines.

Maybe someone could help me with this problem?

Thanks!
[2020-06-07 12:17:19]
Ackin - Posts: 1865
Just the first hit? Or whenever it's out of the channel?
[2020-06-07 12:19:40]
Ackin - Posts: 1865
Just the first hit

imagedonchian plus heikin.png / V - Attached On 2020-06-07 12:19:37 UTC - Size: 12.5 KB - 243 views
[2020-06-07 12:42:40]
Ackin - Posts: 1865
If you want you can register on the czsk forum for download it as study.


Study: Donchian channel with break




contact link:
https://www.sierrachart.com/UserControlPanel.php?page=StudyStore&SCDLLName=zyp_download_free



attached pic: All channel crossings. It is optional.
imagedonchian plus heikin2.png / V - Attached On 2020-06-07 12:40:21 UTC - Size: 12.09 KB - 247 views
[2020-06-07 13:43:18]
Tom_Tom - Posts: 40
Hello,

thank you for your very fast answer!

But i need the study in this way:

If the solid of the Heikin Ashi Bar hit the upper line of the dochian channel, the upper and the lower line of the channel should change the Color to green
until the solid of the Heikin Ashi Bar hit the lower Line of the dochian Channel. Then the upper and the lower line of the channel should change the Color to red.
Until vice versa.


Thanks!
[2020-06-07 13:49:27]
Ackin - Posts: 1865
I understand so the hit works like a flip of the color. I will add it as another user-selectable option.
[2020-06-07 14:03:33]
Ackin - Posts: 1865
Look:
imagedonchian plus heikin3.png / V - Attached On 2020-06-07 14:03:29 UTC - Size: 16.53 KB - 285 views
[2020-06-07 15:30:49]
Tom_Tom - Posts: 40
Hello,

thanks! For the first time this looks very good!

But normally my strategy works if the solid bar of the heikin ashi hits the line. The Indicator on the photo looks like, the Color flips if the price hit the line. Can i change this to the solid bar.

By the way, if i download the study, is this with a open code?

Thanks!
[2020-06-07 18:34:57]
Ackin - Posts: 1865
In the attached picture above is Heikin Ashi (the classic chart is hidden in the background via the blank option in chartsettings).

It is even so changeable in the study settings as a different input for High / Low .. it can be heikin ashi or other



By the way, if i download the study, is this with a open code?
No....free study is without source open code.... sorry

You have an explanation here:
Easy Language Convert
[2020-06-08 14:27:58]
Tom_Tom - Posts: 40
Hello Ackin,

i tried to register at your forum, but i didn' t get a password.
[2020-06-08 14:29:57]
Ackin - Posts: 1865
I'll check it.
[2020-06-08 14:33:21]
Tom_Tom - Posts: 40
Hello Community,

i will download the Study from Ackin.

But i also want to try it by myself.
Maybe someone has a tip for me which way i must go to solve the problem.

Thanks!
[2020-06-08 14:51:53]
Ackin - Posts: 1865
You will need a Spreadsheet for it - there is a persistant variable of the last channel state

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account