Automatic Adaptive average

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Automatic Adaptive average

Postby Apprentice » Sat Sep 11, 2010 6:58 pm

aaa.png


Another baby of my.

If you are always wondering what period moving average to use.
If given the correct answer, he is valid, only at that point.
Due to changes in market volatility waves lengt are variable.

I present to you a Automatic Adaptive Average,
which determine the number of periods for its calculation by himself.
Besides that, the length of the moving average, is changing from period to period.

So for that line of AAA, you can not say, it's MVA 25th
It was at one time, 15 MVA, 25 MVA in the second and so on.

You can say that it have variable length.

Draws three lines.

Blue signal line.
Red Stop Loss line.
Green trigger line.

To Buy signal lines must be appointed to the RBG series.
To Sell signal lines must be placed in series-GBR

aaa.bin
(11.5 KiB) Downloaded 1360 times

To work should have CP.lua Cycle Period Indicator installed.
viewtopic.php?f=17&t=1908&p=3852&hilit=jes

AP_MA.bin
(1.51 KiB) Downloaded 759 times

To work should have Tick_CP.lua Cycle Period Indicator installed.
viewtopic.php?f=17&t=1908&p=3852&hilit=jes
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36474
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Automatic Adaptive average

Postby DS0167 » Sun Sep 12, 2010 2:07 pm

Hello,

Could you please add the option for the tickness of the line?

Thank you.

Kind regards,
DS0167
DS0167
 
Posts: 86
Joined: Mon Aug 09, 2010 2:22 pm


Re: Automatic Adaptive average

Postby Blackcat2 » Mon Sep 13, 2010 10:28 pm

How to install the .bin file? The same as usual?
Blackcat2
FXCodeBase: Initiate
 
Posts: 118
Joined: Wed May 19, 2010 12:42 am

Re: Automatic Adaptive average

Postby Blackcat2 » Mon Sep 13, 2010 10:49 pm

Hi Apprentice,

Could you please explain a bit more what do you mean,
"...
To Buy signal lines must be appointed to the RBG series.
To Sell signal lines must be placed in series-GBR
..."

Maybe with example?

Thanks..
BC
Blackcat2
FXCodeBase: Initiate
 
Posts: 118
Joined: Wed May 19, 2010 12:42 am

Re: Automatic Adaptive average

Postby Apprentice » Tue Sep 14, 2010 2:36 am

First.
. Bin files are in all respects the same as with. Lua
Besides hiding the indicators Code.

Second.
For indecision or weak trend indicative is the position of Fast lines (green),
it is then located between the other two.

This rule is not mandatory.
This is part of the recommended trading strategy.

Which recommended that the line listed according to the speed of response,
from the fastest green line to the slowest red line. (GBR)

I have yet to upgrade, the outer part of AAA which detects the length of the cycle.
That part could be applied to the entire series, if not all the indicators, using the period of the cycle as its input variable.

If you have a good algorithm for this job, help will be appreciated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36474
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: Automatic Adaptive average

Postby mhodgson23 » Thu Jan 26, 2017 10:36 pm

Hey Apprentice,

Any chance you would be willing to share either an explanation of the method you used to code this or a snippet of code?

Specifically, I am interested in how you change the period of the moving averages while the indicator is running.

Appreciate anything you are willing to provide.
mhodgson23
 
Posts: 3
Joined: Tue Jan 24, 2017 12:15 am


Re: Automatic Adaptive average

Postby Cactus » Sat Jan 28, 2017 9:47 am

Sounds great.
Could you please add this Automatic Adaptive average into "Averages" indicator?
viewtopic.php?f=17&t=2430

So that it can be used by other indicator such as

ATR_Channels.lua
viewtopic.php?f=17&t=11900&p=47452&hilit=ATR+Band#p47452
Or Averages QQE
viewtopic.php?f=17&t=1347&p=2585&hilit=qualitative#p2585

Or can you create the above mentioned indicators, having this average used within them with no "period" setting?
Never chase the money, let the money come to me
User avatar
Cactus
FXCodeBase: Graduate
 
Posts: 242
Joined: Fri Feb 19, 2016 11:46 am
Location: Errywhere

Next

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 69 guests