Page 2 of 9

Re: Auto Trend Lines

PostPosted: Tue Jan 03, 2012 3:58 am
by superleo
can you create strategy based on trend line break.

Re: Auto Trend Lines

PostPosted: Wed Jan 04, 2012 7:09 am
by Apprentice
Probably, can you define an algorithm that would be use by such strategy.

Re: Auto Trend Lines

PostPosted: Wed Jan 04, 2012 7:43 am
by superleo
sir,
trend line break in trend direction as follows:

indicators:
    1. ema period 34 , time frame H1
    2. auto trend line indicator with default setting (fractal yes, price applied to high/ low, time frame m5)

buy:

    price > ema 34,
    price cross over upper trend line

sell:

    price < ema 34
    price cross under lower trend line

close buy:

    price cross under lower trend line or
    price cross under ema 34

close sell:

    price cross over upper trend line or
    price cross over ema 34

thank you sir.

Re: Auto Trend Lines

PostPosted: Wed Jan 04, 2012 7:47 am
by mfoste1
Apprentice wrote:Probably, can you define an algorithm that would be use by such strategy.


when the trendline is above price and price rises to touch it, then enter short

when the trendline is lower than price and price falls to touch it, then enter long

Re: Auto Trend Lines

PostPosted: Fri Aug 31, 2012 1:53 am
by arindam89
Michael, as you requested, I have prepared Auto trend indicator which can be applied to oscillators, indicators.

hi great work keep it up
can i apply this on the volume tick ???/ if not can you please code it
it will be really helpful
thanks
by
arindam roy

Re: Auto Trend Lines

PostPosted: Sun Jun 30, 2013 8:34 pm
by speakinmymind
Could you please add the ability to highlight lines that are close to 45 degree angles?

Even better would be if the closer they are to 45 degrees the darker red the line is and the further out the line is from 45 degrees, the lighter the color would be, thanks.

Re: Auto Trend Lines

PostPosted: Wed Jul 03, 2013 2:36 am
by Apprentice
Hm ...
How to determine the 45 degrees on chart?
This may vary for different X / Y axis ratios.
Per period slope, Pips per period would be feasible.

Re: Auto Trend Lines

PostPosted: Wed Jul 03, 2013 6:59 am
by speakinmymind
You make a good point. I didn't think about that. I would be happy to use the method you came up with.

Re: Auto Trend Lines

PostPosted: Sat Jul 20, 2013 3:41 pm
by speakinmymind
Apprentice wrote:
RSI.png


Michael, as you requested, I have prepared Auto trend indicator which can be applied to oscillators, indicators.

Auto Trend Lines Oscilator.lua


I did not have time to fully adapt the code, yet.

The next task is obvious, Linking these two indicator in one, in order to obtain an indicator,
which shows the convergence and divergence between the indicators and the closing price.



Is there any chance this code could be developed further for speed and/or performance? It seems this indicator is the only cause of TS freezing on me, unfortunately I rely very heavily on this indicator.

Re: Auto Trend Lines

PostPosted: Mon Jul 22, 2013 4:14 am
by Apprentice
Try Updated Version.
Will ask the development team to try to make TS integrated tool.