Page 1 of 1

Auto Trend Lines

PostPosted: Fri Apr 09, 2010 9:02 am
by Apprentice
Working Version.png
Working Version (Pretty)


Unstable Version.png
Final version


If you have Beta, you can try the Auto Trend Lines today,
if not wait until Monday, I hope by then we will have a stable version.


This is more or less stable version, still need to work on performance.

I have a Close, High / Low and Non Fractal versions.

If I find time I will assemble all three versions into a single indicator,
But before that I have upgraded the stability and performance.

Re: Auto Trend Lines

PostPosted: Fri Apr 09, 2010 3:22 pm
by gg_frx
very nice
the first picture is .. .a dog ... 8-)
Image
this is real chart-art ;)

(great job, i'll try indicator next week )

Re: Auto Trend Lines

PostPosted: Sat Apr 10, 2010 6:19 am
by Apprentice
Auto Trend Lines.png
Auto Trend Lines

I give you, the final version of, auto trend line indicator.

Auto Tend Lines options.PNG
Auto Trend Lines Options

The indicator has several options.

Tolerated - How many candles that does not respect the line is tolerated (predefined value 0)

Test whole - Test whole frame, do, the market respects the trend line.

Frame Size - How many periods before the last candle, indicator starts drawing the lines.

Fractal - As a starting point for the trend lines indicator use fractals, otherwise may use any candle.

Close or High and Low- Ignore the line if the High / Low value of the period exceeded the trend line, otherwise, it uses closing price, when checking.

Auto Trend Lines.lua
Auto Trend Lines
(6.96 KiB) Downloaded 1062 times

Suggestions are welcome, bugs, are possible.
I will do more testing , before official publication.

Recommendations, use fractals.
Reason, the complexity of not fractal calculations, fractal visibility, has far fewer lines drawn

Re: Auto Trend Lines

PostPosted: Sat Apr 10, 2010 12:26 pm
by zekelogan
Very exciting!

Re: Auto Trend Lines

PostPosted: Sat Apr 10, 2010 6:41 pm
by zekelogan
The indicator is very useful, but only with higher frame size values. (For me at least.)

Unfortunately though, any value >200 freezes Marketscope, either for a few moments, or indefinitely.

Re: Auto Trend Lines

PostPosted: Sun Apr 11, 2010 12:28 am
by Apprentice
I think the problem is not stability, but performance.
I'll try to optimize, code, in order to shorten Execution time.

Re: Auto Trend Lines

PostPosted: Sun Apr 11, 2010 12:09 pm
by zekelogan
I believe so, my CPU load generally hits 100% .

Thanks!