hey blue..... the zigzag script was something alifari asked me about....
as for how to use it, lets look at my latest mistake.... the gbpusd..... if you put that script on a 4 hour gbpusd chart it should say something like 241 in the upper left corner.... your figure may vary depending on how much data you have available....
i use it a very rough starting point for profit targets.... keep in mind it is only an average.... in the chart below if the gbpusd fell from this point, no one can say it will, on average it would fall 241 pips.... to roughly 1.53.... i have drawn the red line as example..... of course that is not meant as trade advice, only an example....
if the price fell from here is a best case scenario, in reality the current zigzag leg is roughly 200 pips..... so on average, i have 40 more pips of pain left......
there is far more to it, but that's the general idea...... it's by no means perfect and i have red gbpusd trades in 4 different accounts right now to prove it......h
//-----
to trade and code, keep both simple... no call to impress....h