SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : TA-Quotes Plus

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: TechTrader42 who wrote (4635)6/19/1998 3:08:00 PM
From: Monty Lenard  Read Replies (1) of 11149
 
Brooke, I am trying to run a scan on qp2 looking for the obv crossing the 40 day ema. Here is what I came up with but I get charts from the scan where the obv crossed several days ago rather than the day I am scanning. When you get a chance can you tell me hat have I done wrong here?

input="volume.lst";
output="OBV Cross 40 Day EMA.lst";

if OBV(0)>EMovAvg(0,40,vol) and //On Balance Volume > 40 EMA

OBV(-1)<EMovAvg(-1,40,vol)

then

println symbol,",",description;

endif;

Thanks in advance.

Monty
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext