Tradestaion bar color.

lucahk

Newbie
Messages
2
Likes
0
Dear all,
I am trying to write a TS in Easylanguage, based on signals generated by Easctrend.
Easctrend has several indicators; one of them plots the bars in different color, according to the market condition: blue is a bullish signal, red is bearish, and green is neutral.
I think it uses the function "plotpaintbar" to assign a different color to each bar.
But since the easctrend function are blocked for editing, I can only see the bar color, without knowing the parameters that generated them.
What I would like to know is: how can I tell the TS: if the bar is red then ... if blue ....
I cannot find the correct function to "describe" the color of the bar.
Can anyone please help ?
Thanks !:)

Luca.
 
if GetPlotColor( PlotNum ) = red then ....

Oh, yes !! This is the function I was looking for ! :clap:
Thanks so much !
From now on will start the hard part of the job:p
Thanks again !

Luca.
 
Last edited:
Top