Recent content by Ginu09

  1. G

    Plot Daily Highs on Intraday Chart

    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 from today (this move was from yesterday). Here the high would be 2.19 from 10 days ago with the open at 2.12. The duration of days (lookback period) can...
  2. G

    Plot Daily Highs on Intraday Chart

    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() crosses above RegularTradingStart(getYYYYMMDD()) then open else currentOpen[1]; it fails. On a multi-day chart, when TOS goes through the various days on...
  3. G

    Plot Daily Highs on Intraday Chart

    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 indication of overhead resistance.
  4. G

    Plot Daily Highs on Intraday Chart

    It doesn't seem to work for a lookbackDays > 1
  5. G

    Plot Daily Highs on Intraday Chart

    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 all the day highs going back X days would crowd my chart.
  6. G

    Plot Daily Highs on Intraday Chart

    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 dailyHigh = if (GetValue(high(period = AggregationPeriod.DAY), 1, 0) < dailyHigh[1] and dailyHigh[1] != 0 and GetValue(high(period =...
  7. G

    Plot Daily Highs on Intraday Chart

    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 calculation so as to display that resistance bar on the intraday chart even if today's price crosses it). I think I've figured it out but the...
  8. G

    Plot Daily Highs on Intraday Chart

    Hello, I would like to plot the daily chart highs as follows: rec dailyHigh = if high > dailyHigh[1] then high else dailyHigh[1]; plot recordHigh = dailyHigh; But I would like to plot the last value on the intraday chart and ignore today's value. How would I go about doing this? Any guidance...
Back
Top