Many thanks, this is currently my favorite oscillator, turned it into a scanner by adding the below code:
Value54=(UlcerIndex(RelativeStrength,40)/40-1);
Plot88 (Value54,"ulcer");
If useradar = True then
{
if GetAppInfo( aiRealTimeCalc ) = 1 and OneAlert( Value15>.99 or Value15<-.99 ) then
RunCommand( ".NC" ) ;
RunCommand( Symbol ) ; }
If usescreenerR Then
begin
{If value14[4]< -.95 and RelativeStrength <-.75 and RelativeStrength >-.95 and Value54< 0 then}
If value14[4]< -.55 and RelativeStrength[4] <-.55 and RelativeStrength >-.65 and Value54< 0 then
FileAppend(fname, Numtostr(date,0)+ ","+Numtostr(time,0)+ ", Xcap value14[4]< 5 and RelativeStrength <25 and RelativeStrength >5 ," +symbol + "," + Numtostr(Value14*100,0)+ "," + Numtostr(RelativeStrength*100,0) + "," + Numtostr(Value54,2) +newline);
If value14[4]>.55 and RelativeStrength[4] >.55 and RelativeStrength <.65 and Value54< 0 then
FileAppend(fname, Numtostr(date,0)+ ","+Numtostr(time,0)+ ", Xcap value14[4]> 95 and RelativeStrength <75 and RelativeStrength <95 ," +symbol + "," + Numtostr(Value14*100,0)+ "," + Numtostr(RelativeStrength*100,0) + "," + Numtostr(Value54,2) +newline);
END;
Also using suri.CharShow.slideshow to cycle symbols. I'm scanning on 180 min.