Jim Dean![]() Sage ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3433 Joined: 3/13/2006 Location: L'ville, GA ![]() | Hi, Matthew - Manfred's post made me realize that I had not been very specific in my request re Pivot Points code. Since you've been posting code that duplicates the indicators, I presume that a "pivot" indicator you might create would be along the same lines ... ie it would calculate and draw all the same lines that we see when we select short, medium or long pivots in the Patterns box. From that code, we could extract whatever we needed to implement things of a specific nature. It's hard to predict exactly what all those needs may be. Some people might just want to know about the last validated PP, some might also want the most recent one not-yet-confirmed. Some might want the last two high or last two low. Some might want the slopes of the connecting lines. Some might want the bars (xaxis), some the values (yaxis), some both. So, rather than providing just some of these items, or trying to guess what they all might be, I suggest that you simply provide code that generates the S/M/L lines (all of them) on the chart, and leave it to us to parse out the parts we want. The only "special" variant of that which might be useful ... and might be a natural byproduct of the code anyway, would be to provide a parametric Pivots call ... not just ShortPivots(), MedPivots(), LongPivots(), but allow for one parameter that scales smoothly between/beyond those three canned periods. If you can provide the general code, I'll be happy to volunteer to parse it out into a bunch of variants for specifics that other users request, to save you the time (presuming that will in fact help :~) Thanks again for undertaking this project! Jim |