Auto Trend Lines

Moderator: admin

Auto Trend Lines

Postby Apprentice » Fri Apr 09, 2010 9:02 am

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.
Last edited by Apprentice on Sat Apr 10, 2010 11:58 pm, edited 2 times in total.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Auto Trend Lines

Postby gg_frx » Fri Apr 09, 2010 3:22 pm

very nice
the first picture is .. .a dog ... 8-)
Image
this is real chart-art ;)

(great job, i'll try indicator next week )
gg_frx
FXCodeBase: Confirmed User
 
Posts: 38
Joined: Thu Dec 17, 2009 8:42 am

Re: Auto Trend Lines

Postby Apprentice » Sat Apr 10, 2010 6:19 am

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 1057 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
Last edited by Apprentice on Sun Apr 11, 2010 6:26 am, edited 7 times in total.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Auto Trend Lines

Postby zekelogan » Sat Apr 10, 2010 12:26 pm

Very exciting!
zekelogan
FXCodeBase: Confirmed User
 
Posts: 56
Joined: Sun Jan 10, 2010 2:45 pm

Re: Auto Trend Lines

Postby zekelogan » Sat Apr 10, 2010 6:41 pm

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.
zekelogan
FXCodeBase: Confirmed User
 
Posts: 56
Joined: Sun Jan 10, 2010 2:45 pm

Re: Auto Trend Lines

Postby Apprentice » Sun Apr 11, 2010 12:28 am

I think the problem is not stability, but performance.
I'll try to optimize, code, in order to shorten Execution time.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Auto Trend Lines

Postby zekelogan » Sun Apr 11, 2010 12:09 pm

I believe so, my CPU load generally hits 100% .

Thanks!
zekelogan
FXCodeBase: Confirmed User
 
Posts: 56
Joined: Sun Jan 10, 2010 2:45 pm


Return to Indicator Development

Who is online

Users browsing this forum: No registered users and 9 guests