Natasha, The ascending best-fit parabolic begins from the last trough and is the best-fit 2nd degree line between all the Lows, from the trough till now. An extreme low may a. affect substantially the parabolic coefficient b. define a new trough It depends on the perc you use. As for your second question, the answer is positive. The whole parabolic line is redrawn every new day.
Take a look at the http://finance.groups.yahoo.com/group/amibroker/message/69624 It gives the historical best-fit parabolics. Move your cursor from bar to bar and see how the whole line changes every new day.
I do not know MS language. Note that the software should support "for-next" loops, in order to translate the basic idea of the best-fit parabolic.
Tsokakis, I've been asked if I could run up your "better parabolic" for sierrachart but I confess that the code below is double dutch to me -- too many constructs I dont understand. Is there a plain english / c / basic / easylanguage version of it anywhere? Or if you are feeling bored could you advise the basic core of it yourself? Thanks
I wondered a long time already what is meant by the 'last best-fit parabolic'. Is this the one that truly makes the most money for you or is this an exercise in visually pleasing esthetics?
I hear you. What's so special about the 'best' quadratic? Why not the 'best' cubic, or the 'best' quintic? Curve-fitting can be good or bad. I suspect this is [Xander Harris]not of the good[/Xander Harris].
If you don't understand the math and the great job Dimitris Tsokakis is doing in TA, just shut up and don't contaminate this excellent thread with your stupid remarks. Morons!
I understand the math just fine. More importantly, I know better than to force the data to fit my "pet" theory, dumbass.
The code is AmiBroker's "AmiBroker Formula Language" (AFL). You can go to the AmiBroker web site (www.amibroker.com) and download the reference manual for the system at no charge. It's a 3 meg PDF file. The entire manual is about 700 pages of which about 300 is the AFL reference.