Skip to main content

Advanced Trendline based on Candle Pivots for Amibroker (AFL)

kaiji about 16 years ago Amibroker (AFL)

  • Rating:
    5 / 5 (Votes 5)
  • Tags:
    amibroker, trendlines

This is an advanced trend line drawing indicator that draws trend lines based on candlestick pivot points.

Screenshots

You cannot view the code for the following reasons:
  • You must be a member.

6 comments

4. morgen
over 7 years ago

Very good!
Thank you very much.

To mae_choi, try this:

Plot(g3, "\nTDLPivSup", colorBlue, styleThick);
Plot(g4, "\nTDLPivRes", colorRed, styleThick);

Buy  = C>O AND (C>g4 AND C>g3 OR C>g3 AND g3>Ref(g3,-1) AND g4>=Ref(g4,-1))  ;
Sell = g3>C ;

Buy= ExRem(Buy,Sell) ;
Sell= ExRem(Sell,Buy) ;

Leave Comment

Please login here to leave a comment.