Announcement

Collapse
No announcement yet.

Prev High and Prev Low changes.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Prev High and Prev Low changes.

    Hello,

    For the Prev High and Prev Low formulas included in 7.91, I'm looking to modify that study to only show those studies applied for 5 to 7 of the last days of a daily chart and then set an alert that's triggered when the last price of a contract either exceeds the Prev High of the last 5 to 7 days or drops below the Prev Low...anyone have a similar setup or would know how to do this?

    Regards,
    Jon Taylor

  • #2
    Jon
    Unless I misunderstood what you are trying to do a better solution may be to use the customDonchian.efs which is in the EFS2 Custom folder. The study is enabled for use with multiple intervals which means that you can plot it on an intraday chart while computing the Donchian Channel on the daily bars.
    All you would need to do is modify the return and add the necessary conditions to trigger the alerts if the High or Low breach the Upper or Lower Donchian Channels
    Alex

    Comment


    • #3
      Re:

      Thank you Alexis however testing the Donchian formula there isn't a way to limit the value to show only the last few days of those previous few days highs and lows. What we're looking for is the previous 5 (or 7) trading session highs and lows...once we have those values we'd like to set an alert once the last trade exceeds the limits of those two.

      Comment

      Working...
      X