Volatility Cycle

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

Volatility Cycle

Postby papynou34 » Sat Jun 27, 2015 10:14 am

Hello all,
I have an indicator cided in Mq4, i would like to have it in Lua.
I have the authorization of Joel(the initial developper) to convert it.

It is an usefull indicator showing the 4 cycles of volatility.

Thanks in advance
Attachments
Cycle Volatilité.mq4
(6.48 KiB) Downloaded 426 times
papynou34
FXCodeBase: Initiate
 
Posts: 130
Joined: Fri Mar 27, 2015 6:52 pm

Re: Volatility Cycle

Postby Apprentice » Sun Jun 28, 2015 9:35 am

Requested can be found here.
viewtopic.php?f=17&t=62367
Formula used.
Volatility Cycle = (Stdev - MinOfStdevInPeriod )/ (MaxOfStdevInPeriod- MinOfStdevInPeriod);

Alternative Version (As stated in MQ4 code)
Volatility Cycle = (Stdev - MaxOfStdevInPeriod )/ (MaxOfStdevInPeriod- MinOfStdevInPeriod);
Alternative Volatility Cycle .lua
(4.36 KiB) Downloaded 374 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36478
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Volatility Cycle

Postby papynou34 » Sun Jun 28, 2015 3:47 pm

Hello Appendice,
A great thank to you. It is perfect.
papynou34
FXCodeBase: Initiate
 
Posts: 130
Joined: Fri Mar 27, 2015 6:52 pm


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 29 guests

cron