Hi guys, I like to trade(2min chart) bounces and reversals off the low of day or dips. I spend time drawing horizontal lines on the 1y1D chart to find possible bottoms where I would take a trade. I thought if I had a left extending line on the 1y1D chart that moved with the current price it would help me quickly identify areas where the bounce might happen.
I do have a code that works sort of. But the problem is that it doesn't update unless I refresh the chart by switching to another time frame and back again.
here is the code that I use on the 1y1d chart:
plot hide = double.nan;
hide.SetDefaultColor(Color.black);
plot priceLine = lowestAll(if isNaN(low[-1])
then low else Double.NaN);
Is there a way to do this and have the line update in realtime? Also if this can be done, I think some kind of graphic element where if the left extending line is matching up with any low or close of any candle on the 1y1D chart would really be helpful. Maybe if the current price is with in, for example, 10 cents of any close or low on the 1y1D chart, there would be a dot painted at the bottom of those candles. But would not be there if the Left extending line is not within that 10 cent or less
threshold.
thanks so much in advance for any help.
Mike Fitz
I do have a code that works sort of. But the problem is that it doesn't update unless I refresh the chart by switching to another time frame and back again.
here is the code that I use on the 1y1d chart:
plot hide = double.nan;
hide.SetDefaultColor(Color.black);
plot priceLine = lowestAll(if isNaN(low[-1])
then low else Double.NaN);
Is there a way to do this and have the line update in realtime? Also if this can be done, I think some kind of graphic element where if the left extending line is matching up with any low or close of any candle on the 1y1D chart would really be helpful. Maybe if the current price is with in, for example, 10 cents of any close or low on the 1y1D chart, there would be a dot painted at the bottom of those candles. But would not be there if the Left extending line is not within that 10 cent or less
threshold.
thanks so much in advance for any help.
Mike Fitz
Last edited: