How to get the price of a trendline (of a specified color) that was manually drawn
Created at 09 Mar 2024, 03:34
How to get the price of a trendline (of a specified color) that was manually drawn
09 Mar 2024, 03:34
Hi All
Need some help on how to pull chart object data (I am coming from Mt4 and relearning a lot of this).
Trying to pull the price data for a straight trendline of a specified color (let's say green for example) but not sure how to do this. Meant to go in the code below (bold and underline is what I am stuck on):
bool Lowest_price = Bars.HighPrices.Maximum(3) > GetChartTrendLine.Price(Color.Green)
Having the same problem with a true or false condition that is supposed to check if any arrows exist that are lets say down and green.
Any pointers would be apperciated.