Jump to content
  • 0
StockScout

Alligator Indicator & Fractals by Bill Williams

Question

StockScout    0

I can set up the Alligator indicator, but it would be nice if it was available at the click of a mouse button. Adding fractals would be a nice addition too.

If they're in the program and I missed them, I apologize.

Craig

Edited by StockScout

Share this post


Link to post
Share on other sites

18 answers to this question

Recommended Posts

  • 0
Mike Medved    30

I really *really* hate backward-stamping indicators. If anything, that arrow should show on current candle, because it is the current candle that tipped the scale into the arrow showing up.

Share this post


Link to post
Share on other sites
  • 0
Lapa    3
On 6/20/2017 at 1:17 PM, Mike Medved said:

I really *really* hate backward-stamping indicators. If anything, that arrow should show on current candle, because it is the current candle that tipped the scale into the arrow showing up.

I take it that you won't be implementing the poor little fractals

Share this post


Link to post
Share on other sites
  • 0
Mike Medved    30

I may implement it as a System Paintbar that will be automatically included in MT. But the arrow will not be plotted N candles back, but on the candle that triggers it. Will that do?

Share this post


Link to post
Share on other sites
  • 0
Lapa    3

that could do, would it be too cumbersome to have the option for an alternative setup?

Share this post


Link to post
Share on other sites
  • 0
Mike Medved    30

I will look at it this weekend. The problem with modifying previous candles connected deeply to the whole charts code. It is very much oriented at only the last candle and its indicator value changing.

Share this post


Link to post
Share on other sites
  • 0
Mike Medved    30

Ok, Lapa, I took a look at your link. Basically it says plot a down arrow at a candle whose high is highest in 5 candles - 2 before and 2 after. Reverse for lows.

That looks a bit too simple. Are you sure that is what you want?

With a paintbar, just make an Advanced paintbar, no indicators, and put the following code in:

public void MainCalculation()
{
    double H = High[2];
    if ( H>High[4] && H>High[3] && H>High[1] && H>High )
        SetColorAndShape("Local Max", PBShape.ArrowDn, SysColor.Negative);
    double L = Low[2];
    if ( L<Low[4] && L<Low[3] && L<Low[1] && L<Low)
        SetColorAndShape("Local Min", PBShape.ArrowUp, SysColor.Positive);
}

It could also be done with Simple paintbar, but would involve 8 rules. Advanced is easier.

As I said, this will not put the arrows at the local min/max, but at the candle that created the local min/max - that is, the arrows will be shifted 2 to the right compared to the ones in your link. But the logic is there.

Or you could separate it into two paintbars so you could show one of them above candles and the other below candles.

Share this post


Link to post
Share on other sites
  • 0
Mike Medved    30

StockScout: from that doc, 3 are implemented (1 is Alligator, the other I showed the code for above, and MFI has always been included). Guess I could do Gator Oscillator as well.

Share this post


Link to post
Share on other sites
  • 0
StockScout    0

I just want to say I really appreciate the dedication to your customers request.  

I did see the issue with the Alligator Indicator today as shown in the photo, but no worries. Also, your system already has a Momentum Oscillator, which from what I can tell is identical to the Awesome Oscillator. Maybe it just needs a new label (Momentum/Awesome Oscillator).

Cheers,

Craig

Alligator.png

Edited by StockScout

Share this post


Link to post
Share on other sites
  • 0
Lapa    3
On 28/06/2017 at 10:58 AM, Mike Medved said:

Ok, Lapa, I took a look at your link. Basically it says plot a down arrow at a candle whose high is highest in 5 candles - 2 before and 2 after. Reverse for lows.

That looks a bit too simple. Are you sure that is what you want?

Simple is always best

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×