Ergodic Tick volume indicator

Here you can post and download custom indicators written in JavaScript.

Moderator: admin

Ergodic Tick volume indicator

Postby Alexander.Gettinger » Tue May 01, 2018 11:10 am

Formulas:
ETVI = EMA(EMA(TVI)),
Signal = EMA(ETVI), where
TVI = EMA(TV), where
TV = 100*(EMA_Up2-EMA_Dn2)/sum,
EMA_Up2 = EMA(EMA(UpTicks)),
EMA_Dn2 = EMA(EMA(DnTicks)),
UpTicks = (Volume+(Close-Open)/pipSize)/2,
DnTicks = Volume-UpTicks,
pipSize - size of 1 pip.

Ergodic_TVI.PNG


Download:
Ergodic_TVI_JS.jsl
(4.23 KiB) Downloaded 731 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Ergodic Tick volume indicator

Postby logicgate » Thu Dec 13, 2018 5:42 pm

Hi brother, can you please compile the MT4 version of this indi?

God Bless and good trades.
logicgate
FXCodeBase: Aspirant (Junior)
 
Posts: 680
Joined: Tue Dec 11, 2018 7:54 am

Re: Ergodic Tick volume indicator

Postby logicgate » Thu Dec 13, 2018 5:48 pm

Just to be sure, this is the Ergodic TVI Oscillator, correct? As in this image:
Attachments
ergodictickvolosc.png
logicgate
FXCodeBase: Aspirant (Junior)
 
Posts: 680
Joined: Tue Dec 11, 2018 7:54 am

Re: Ergodic Tick volume indicator

Postby Apprentice » Fri Dec 14, 2018 1:54 pm

In indicator we use
UpTicks[period]=(source.volume[period]+(source.close[period]-source.open[period])/pipSize)/2;
DnTicks[period]=source.volume[period]-UpTicks[period];

In the article, Up / Down volume is provided by Broker.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Ergodic Tick volume indicator

Postby logicgate » Fri Dec 14, 2018 1:57 pm

Apprentice wrote:In indicator we use
UpTicks[period]=(source.volume[period]+(source.close[period]-source.open[period])/pipSize)/2;
DnTicks[period]=source.volume[period]-UpTicks[period];

In the article, Up / Down volume is provided by Broker.


I think that if you use the same principle fo that cumulative delta indicator I posted, it might work.
logicgate
FXCodeBase: Aspirant (Junior)
 
Posts: 680
Joined: Tue Dec 11, 2018 7:54 am

Re: Ergodic Tick volume indicator

Postby logicgate » Fri Dec 14, 2018 2:02 pm

You way is correct, is just the example of the book the data source is different, but is the same idea. So It is just the matter of compiling the MT4 version, then! Cheers! :D
logicgate
FXCodeBase: Aspirant (Junior)
 
Posts: 680
Joined: Tue Dec 11, 2018 7:54 am

Re: Ergodic Tick volume indicator

Postby Apprentice » Mon Dec 17, 2018 6:22 am

Your request is added to the development list under Id Number 4375
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia



Return to JavaScript Indicators and Strategies

Who is online

Users browsing this forum: No registered users and 11 guests