Search results

  1. D

    Zig zag retracements like Ensign software ones

    Hello guys, I made some breakthroughs but it still needs work to be good. _SECTION_BEGIN("ZigZag Retracement"); function GetXSupport(Lo, Percentage, Back) { return ((BarCount - 1) - LastValue(TroughBars(Lo, Percentage,Back))); } function GetYSupport(Lo, Percentage, Back) { return...
  2. D

    AmiBroker formula Language

    Can anyone make this code better: SECTION_BEGIN("ZigZag Retracement"); function GetXSupport(Lo, Percentage, Back) { return ((BarCount - 1) - LastValue(TroughBars(Lo, Percentage,Back))); } function GetYSupport(Lo, Percentage, Back) { return (LastValue(Trough(Lo, Percentage...
  3. D

    Hello everyone

    Hi everyone I'm a trader from Italy. I've been trading and using Amibroker for quite some time.
  4. D

    Zig zag retracements like Ensign software ones

    Hello guys, I'd like to have zigzag retracements like this: http://charts.dacharts.com/2008-10-12/Johnny_Chart78.png I found this code somewhere: _SECTION_BEGIN("ZigZag Retracement"); function GetXSupport(Lo, Percentage, Back) { return ((BarCount - 1) - LastValue(TroughBars(Lo...