Contribute

Contribute an indicator to the library by clicking here. Note you must be logged in.

New! Stock Portfolio Organizer is now available:
  • Shares, Margin, Futures and Forex
  • EOD and Realtime data
  • And Much More...
GoTo Stock Portfolio Organizer
New! WiseTrader Toolbox for Amibroker is now available with:
  • Advanced Adaptive Indicators
  • Advanced Pattern Exploration
  • Neural Networks
  • And Much More...
GoTo WiseTrader Toolbox

Popular Indicators

Trendline Multiple TimeFrame for Amibroker (AFL)

3 / 5 (Votes 20)

Amibroker AFL code by Edward Pottasch, 6/8/2011

Using fractals to create automatic trendlines
Using option to show multiple timeframes

Version(5.21);

This indicator is published with the generous permission
of the author Edward Pottasch. Thanks Ed.

Here is a screenshot of how the indicator looks:
Trendline-multiple-timeframe

Similar Formulas

Formula

20 Comments

Updated the picture with an image Ed sent me.

ADMINISTRATOR THANKING YOU A MILLION AND HAVE NO WORDS TO THANK THE GENIOUS OF THE AUTHOUR ED POTTASCH.LET THE ALMIGHTY BLESS HIM AND HIS FAMILY FOR MANY MANY YEARS TO COME.ONCE AGAIN THANKING HIM FROM MY HEART.ANYBODY TRADING THE DIVERGENCES CAN GET NOTHING BETTER THEN THIS.ICING ON THE CAKE.
WARM WISHES MUNIPRASAD

Great sir,I am following this chart along with 20 ma crossover.looks good

@Edward you rule! Thank you

Great AFL. The Skills of author are extraordinary.
Also, I have seen other of his AFLs. Simply superb
My best regards for author & admnistartor for publishing this.

Viswanath

6. deff

Great work! thank you

thanks for the kind remarks and vargasc1 for taking the initiative. Will soon post another interesting indicator.

pk = H>Ref(HHV,-1) AND Ref(HHV,nbar)<=H;

what does this calculate?

tr=L<Ref(LLV,-1) AND Ref(LLV,nbar)>=L;

what does this calculate?
what does pk,tr calculate ?
whats fc?tell in detail pls.

sir error 16 is coming
plz help me

10. kv_maligi

Hellow,

As nbar values changes, so are the HH,LL… are changing.

I trade on hourly chart, what is correct/optimum value of Nbar setting.

Thanks

Thanx i know what is said..i want to know in detail..i want to make sure what i think is right.
if high-greater then HHV for nbars referencing previous HHV then take high as HH and if High greater then or equal to HHV reffering “n” bar and viceversa.
is it so?
why do u have to take fractals as 1,2,3.what if we take only one fractal?

error shown 16.. kindly help me or publish right code

Only two words I will use for this author extraordinary & Superb coding has excellent timing. May God bless him and you too vargasc1 for bringing it here at wisestocktrader.

14. kumaravel

Genius………………………………………..

15. ganee27

sir error 16 is coming
plz help me

Plz help any body plz

Excellent !!!!
Thanks the author a lot.

Best wish for you

17. npcd_27

it works absolutely great!!!! thank writer

18. reenath

plz
any one help how to trade using this

19. Kel

Pls how can I download this indicator?

Great
thnx

Please login here to leave a comment.

Main Menu

Indicators

Sponsors