Jump to content
Medved Trader Forums

Using previous week high, low & vwap in Scans


Recommended Posts

Hello,

I want to have a condition where an alert is triggered if the latest bar crosses one of these previous week levels (as mentioned in the title).
Unfortunately, I don't know how to reference these levels. I tried using the volume by price indicator (set the range to 100% for getting the high and the low in addition to mid) and set the period to week. It works for the charts but in the scan rule editor, there is no offset/lookback by a certain period, only by bar. I think setting the bar period to week is not suitable because the scan should be done on an intraday basis. 

I also messed around with the horizontal line indicator. Didn't get it but I am pretty sure there must be a way to have this done. Is there anyone who can show me?

Regards
Pablo

Link to comment
Share on other sites

assuming the only thing you want is alerts mentioned and not referencing other intraday data, then you can set the scan to be on ONE DAY frequency HISTORICAL chart, and reference Horizontal Line set to Weekly and value set to Prev. Period High (and low, etc)

 

Link to comment
Share on other sites

Then an intraday scan with a "Better Volume" indicator is in order. You cannot put two scans - historical *and* intraday on one portfolio. But you can duplicate the portfolio, with the same source, and run one scan on one portfolio and the other on the other.

Link to comment
Share on other sites

Isn't it possible to just define the previous weeks high/low in a custom made variable in order to put it together with other stuff later on?

Correct me if I am wrong but I was thinking that this one is already close. 

 

Link to comment
Share on other sites

Thanks a lot guys, I really appreciate your support.. Just to remain with a final thought, an addition to the Historical Line (intraday) indicator such as "Previous day VWAP" and "Previous week VWAP" would be highly awesome. 

Cheers, have a good week!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...