Aims Box Alert

Here you can ask questions about All the Indicators that we Use.

- AIMS Box Indicator previously AIMS Levels
- AIMS Gator previousl AIMSiGator
- AIMS Entry Alert
- AIMS Wave - aka AIMS AO
Post Reply
User avatar
Darren
Posts: 891
Joined: 20 Nov 2012, 13:54
12

Aims Box Alert

Unread post by Darren »

I was wondering if there is an indicator that can push an alert when the current Aims Box is less than a certain number of pips? I think there is one if there is a new dot but I am interested in one for just a small Aims box?

Cheers,

Darren
User avatar
Dave
AIMSter
AIMSter
Posts: 865
Joined: 13 Feb 2012, 06:05
13

Re: Aims Box Alert

Unread post by Dave »

I'm the world's worst indi coder and I know nothing..... but thanks to Steve I reckon I now know enough to put something together. Stay posted and I'll see what I can manage. If someone beats me to it I won't take offence though :)
Now, I choose to make a profit in trading.
User avatar
Darren
Posts: 891
Joined: 20 Nov 2012, 13:54
12

Re: Aims Box Alert

Unread post by Darren »

I like the sound of that Dave - thanks in advance. :)
User avatar
Dave
AIMSter
AIMSter
Posts: 865
Joined: 13 Feb 2012, 06:05
13

Re: Aims Box Alert

Unread post by Dave »

Here you are, Darren. This is pretty hopeless and I'm sure someone can do a better job, but I'm getting some popup signals so hopefully all is well. It does check at the close of every candle though, so in the off hours of the market when the range is tight there's a chance it will indicate very regularly! I'm sure there's a way to check it only when a new AIMS level is formed but I don't know how to do that. Hopefully this will do for now and if I learn how to check only when a new AIMS level is formed I'll update it.
Indicator checks that:
Upper AIMS level - lower AIMS level is <= 'X' pips,
Candle is within the bounds of the upper and lower AIMS levels, i.e. still in the box.
Enjoy!
Dave

Edit: New version attached. Essentially the same thing but improved coding that:
- Will only give alert when new AIMS level appears and the new box is less than 'X' pips (so unlike previous version will not alert at the close of every candle when the existing small AIMS box has already been alerted);
- Option to test for price contained within the small box, so can receive alerts based on small boxes alone regardless of whether price has already broken out or not, or only get an alert when price still within the small box.

I'd be interested to know how people apply this indicator to higher timeframes (if anyone does) and what is considered to be a 'small box' on daily timeframe charts for the majors. The evolution of the indicator may be that we calculate the average size of the last however many boxes and we receive an alert when the box size is less than the average, but I need to work out how to do that first :)

Another edit: Just realised a small error. Only run this v1.1 with 'Within_Box' set to true for now and I'll correct over the weekend. Fixed, latest attached.
You do not have the required permissions to view the files attached to this post.
Last edited by Dave on 28 Sep 2013, 01:52, edited 3 times in total.
Now, I choose to make a profit in trading.
User avatar
Darren
Posts: 891
Joined: 20 Nov 2012, 13:54
12

Re: Aims Box Alert

Unread post by Darren »

Brilliant Dave - thank you so much for spending the time coding it. (hug)

I shall have a play with it now but I am sure it will be very useful to me. :D
User avatar
Dave
AIMSter
AIMSter
Posts: 865
Joined: 13 Feb 2012, 06:05
13

Re: Aims Box Alert

Unread post by Dave »

Hey Darren. I just got a bolt of inspiration to hopefully reduce the signals to when a new AIMS level forms. I'll try it over the weekend and let you know how I get on.
Dave
Now, I choose to make a profit in trading.
User avatar
Darren
Posts: 891
Joined: 20 Nov 2012, 13:54
12

Re: Aims Box Alert

Unread post by Darren »

Looking forward to it!

Get the old grey matter working. :)
User avatar
Dave
AIMSter
AIMSter
Posts: 865
Joined: 13 Feb 2012, 06:05
13

Re: Aims Box Alert

Unread post by Dave »

All fixed (until someone finds an error) and latest attached. Enjoy. :)
Now, I choose to make a profit in trading.
User avatar
Darren
Posts: 891
Joined: 20 Nov 2012, 13:54
12

Re: Aims Box Alert

Unread post by Darren »

Thanks again Dave :)
Post Reply