Page 1 of 1

Arc elasticity

PostPosted: Sun Sep 09, 2018 12:02 am
by speakinmymind
Could you create an indicator that can measure price responsiveness to an indicator?

I'm not exactly an expert in differential calculus :D :D .

https://en.wikipedia.org/wiki/Arc_elasticity

Re: Arc elasticity

PostPosted: Sun Sep 09, 2018 3:24 pm
by Apprentice
Try this version, tick volume is used quantity..
Arc elasticity.lua
(3 KiB) Downloaded 494 times

Version with averaged price and tick volume.
Averaged Arc elasticity.lua
(4.81 KiB) Downloaded 480 times

Re: Arc elasticity

PostPosted: Sun Sep 09, 2018 10:22 pm
by speakinmymind
This is great! Is there a way I can apply these to indicators instead of using volume?

Re: Arc elasticity

PostPosted: Mon Sep 10, 2018 9:03 am
by Apprentice
We have to use Volume for Quantity.
Can write version you will be able to apply to the indicator.

Re: Arc elasticity

PostPosted: Mon Sep 10, 2018 9:16 am
by speakinmymind
That would be much appreciated, thank you!

Re: Arc elasticity

PostPosted: Mon Sep 10, 2018 9:33 am
by Apprentice
Real Volume Arc elasticity.lua
(3.75 KiB) Downloaded 483 times

Real Volume Averaged Arc elasticity.lua
(5.45 KiB) Downloaded 486 times

Real Volume volume versions.