bikhod 5 posts msg #100752 - Ignore bikhod modified | 
5/16/2011 4:37:02 PM
  Hi
 
 I am trying to implement the Elder Impulse setup - see http://stockcharts.com/help/doku.php?id=chart_school:chart_analysis:elder_impulse_system
 
 I have coded the script below but it is not working right. Specifically, I am interested in finding stocks where the weekly bar is green this week and it was either blue or red last week (i.e. the setup condition was not met).
 
 Can anyone see what I am doing wrong?
 
 
 set{emaup, count(ema(65) increasing for the last 1 day,1)} 
 set{histup, count(macd histogram(60,130,45) increasing for the last 1 day,1)} 
 
 set{impulse, emaup + histup} 
 set{impulseOld, impulse 1 week ago} 
 
 add column impulse 
 add column impulseOld 
 
 and impulse > 1 
 and impulseOld < 2 
 
 average volume > 1000000 
 
 market is etf 
 
  |