Registered User Joined: 1/28/2014 Posts: 34
|
Hello, I'd like to create a scan condition to see if the current or previous 5 min candle crossed above VWAP.
1) Using 5 min bars
2) Return true if either the current candle or the last candle crossed over the VWAP
(C>VWAP) OR (C1>VWAP) ??
Can you suggest a way to do this so I can add this in a custom scan
Thanks
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
VWAP cannot be accessed in a PCF. You can create the condition for the latest candle from the chart but not for the previous candle. There's no way to do that.
|
Registered User Joined: 1/28/2014 Posts: 34
|
Thanks but there is a way. I spoke to one of the online help folks. Just create a moving average on 5min price with a period of 1 and an offset of +1 Then use create scan condition to check if its greater then vwap and add that to the scan. It works well.
|