Anybody know how to color-paint the bars with the conditions below in the OEC - plattform?
1. - If bar closes higher than open = green.
2. - If the bar closes higher than open & closes higher than last bars high = dark green.
3. - If bar closes lower than open = pink
4. - If bar closes lower than open & closes lower than last bars low = dark red.
I have tried using the "color" feature on my plattform, but I am just not able to figure out which words to use so that it understands what I want. That is: rule 1 and 3 I manage, but rule 2 and 4 is out of my league!
I have talked to tech-support, twice. One guy told me that rule 2 and 4 was impossible using "color - feature", and the other guy directed me towards 7 and 8 of the Custom Indicators guide - which was of no help.
(rule 1)
if Bar Open < Bar Close set color to Green
(rule 2)
if (Bar Open < Bar Close) and (Bar Close > Bar High[1]) set color to dark green
(rule 3)
if Bar Open > Bar Close set color to Ping
(rule 4)
if (Bar Open > Bar Close) and (Bar Close < Bar Low[1]) set color to Red
(rule 5)
if Bar Open=Bar Close set color to White
Anybody here have this as a custom indicator, or have done this using the "coloring " - feature?
Thanks for all your help.
veggen
1. - If bar closes higher than open = green.
2. - If the bar closes higher than open & closes higher than last bars high = dark green.
3. - If bar closes lower than open = pink
4. - If bar closes lower than open & closes lower than last bars low = dark red.
I have tried using the "color" feature on my plattform, but I am just not able to figure out which words to use so that it understands what I want. That is: rule 1 and 3 I manage, but rule 2 and 4 is out of my league!
I have talked to tech-support, twice. One guy told me that rule 2 and 4 was impossible using "color - feature", and the other guy directed me towards 7 and 8 of the Custom Indicators guide - which was of no help.
(rule 1)
if Bar Open < Bar Close set color to Green
(rule 2)
if (Bar Open < Bar Close) and (Bar Close > Bar High[1]) set color to dark green
(rule 3)
if Bar Open > Bar Close set color to Ping
(rule 4)
if (Bar Open > Bar Close) and (Bar Close < Bar Low[1]) set color to Red
(rule 5)
if Bar Open=Bar Close set color to White
Anybody here have this as a custom indicator, or have done this using the "coloring " - feature?
Thanks for all your help.
veggen
Thank you! I really do owe you another one!