♥ 0 |
Hi all I have a question about going backwards through chart data. The below line plots a line across the progressively higher highs over the chart data. rec highs = if isnan(high[1]) then double.nan else if high > highs[1] then high else highs[1]; What I’m trying to do is start at the most recent point and go backwards identifying higher highs as you go back in time. Tried messing with fold but having trouble. Any suggestions are appreciated. Thank you.
Marked as spam
|
Please log in to post questions.