Hi chas,
Well, I compared the code that you have with the SwingHigh code in TS2000i and it matches. I guess at this point, it depends on how the function is being used in a ShowMe study. I tried messing around with the swing high in a showme and wasn't getting anything.
I've attached some text that you can paste into EasyLanguage. I've included a couple of notes in there. Paste the first half in as a new function--the name's in there. Near the bottom of the file is some code that you'll paste in as a ShowMe study called Pivot High. After everything is verified, apply it to your INTC chart, and the results should look a lot better.
I'll be curious to know how this works out.