Here's an example in the attachment. I'd like to automatically display the first high from the daily chart that is greater than the open price...
It's funny, I can get the code to work when I hardcode the "currentOpen = 1.24". However, if I use this code: def currentOpen = if getTime()...
I'd just like a single line to show on the intraday chart for the first day high from the daily that is greater than the current day's open as an...
It doesn't seem to work for a lookbackDays > 1
Simply put, I would like to plot that day high ONLY IF it is higher than today's open and I would like to do it on a multi-day timeframe. Plotting...
Let's say I have a 5 day chart. If I have a simple algorithm which compares the day high against the open, I would have something like this: rec...
Hi, thanks. What I'm looking for is the last daily high above today's open to get a sense of overhead resistance (hence ignoring today from the...
Hello, I would like to plot the daily chart highs as follows: rec dailyHigh = if high > dailyHigh[1] then high else dailyHigh[1]; plot...
Separate names with a comma.