Accumulation - Distribution

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Accumulation - Distribution

Postby mangonel » Tue Jun 11, 2019 7:48 am

Hello ! I want two indicators which i can plot and use in the same window.One for accumulation and one for distribution of the price.
As i write it in Metastock Formula Language (MFL) i write it like this :

for accumulation

Abs[IF(OPTION 1 > REF ( OPTION 1,-1),then OPTION 2,else -OPTION 3)+PREVIOUS]

for distribution

Abs[IF(OPTION 1 > REF ( OPTION 1,-1),then OPTION 2,else -OPTION 3)-PREVIOUS]

Abs = Absolute value

OPTION 1 = High or low or Close or Open

OPTION 2 = 0,0001 till 1000

OPTION 3 = -0,0001 till -1000

REF = REFERENCE (to the previous value)

Previous = previous period value

as an example for Accumulation

Abs[if(C>Ref(C,-1),1,-1)+Previous)

as an example for Distribution

Abs[if(H>Ref(H,-1),3.4,-2)-Previous)

I want to use it in every time scale and please add an alert when the accumulation function touch the distribution function

in graph it's like this :




Thank you !
Attachments
2.png
mangonel
 
Posts: 45
Joined: Thu Mar 17, 2016 4:16 pm


Re: Accumulation - Distribution

Postby Tomoso » Wed Jun 12, 2019 4:06 pm

It's possible to get MT4 version?
Tomoso
 
Posts: 47
Joined: Mon Mar 25, 2019 11:36 am


Re: Accumulation - Distribution

Postby mangonel » Thu Jun 20, 2019 9:58 pm

Thank you Apprentice,thank you very much.Is it possible to create it as a strategy ? with the options of all time frames - bid/ask and H-L-C-O ?
mangonel
 
Posts: 45
Joined: Thu Mar 17, 2016 4:16 pm



Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 6 guests