Hi @mashume,
First of all, I thank you for your ongoing MASSIVE support on this forum. You have amazing skills! Bonissimo.
Now, I'm wondering if you have any insight on this post I found online about a modified HULL, and what it might be trying to 'find'.
Here's the post (and I don't really understand the 'MathFloor' meaning in the description given):
Indicator name: Hull Moving Average MTF.
TOS has default Hull MA, but it is limited. I need additional features:
1. MTF - multi time frame (ability to display indicator on a smaller time frame based on the data of higher time frame)
2. Calculation in Hull MA are based on one the subtraction of two weighted averages where period of the second is X time smaller than the period of the first one. By default X = 2. This would preferrably be converted into Variable, that can be changed via indicator properties menu.
Sample code:
input TimeFrame = "Current time frame";
input HMAPeriod = 35;
input HMAPrice = PRICE_CLOSE;
input HMASpeed X = 2.0;
input displace = 0
HMAPeriod = MathMax(HMAPeriod);
HalfPeriod = MathFloor(HMAPeriod/HMASpeed);
HullPeriod = MathFloor(MathSqrt(HMAPeriod)); <----- THIS is the part that I do not understand HOW to code and/or see the hopeful benefit.
--------------------------------------------------------------------
I assume you're a busy person, but any insights would be appreciated! Of course, ANYONE else with the same feedback/effort would be appreciated---- I just remember Mashume's work on the Hull Concavity!!
First of all, I thank you for your ongoing MASSIVE support on this forum. You have amazing skills! Bonissimo.
Now, I'm wondering if you have any insight on this post I found online about a modified HULL, and what it might be trying to 'find'.
Here's the post (and I don't really understand the 'MathFloor' meaning in the description given):
Indicator name: Hull Moving Average MTF.
TOS has default Hull MA, but it is limited. I need additional features:
1. MTF - multi time frame (ability to display indicator on a smaller time frame based on the data of higher time frame)
2. Calculation in Hull MA are based on one the subtraction of two weighted averages where period of the second is X time smaller than the period of the first one. By default X = 2. This would preferrably be converted into Variable, that can be changed via indicator properties menu.
Sample code:
input TimeFrame = "Current time frame";
input HMAPeriod = 35;
input HMAPrice = PRICE_CLOSE;
input HMASpeed X = 2.0;
input displace = 0
HMAPeriod = MathMax(HMAPeriod);
HalfPeriod = MathFloor(HMAPeriod/HMASpeed);
HullPeriod = MathFloor(MathSqrt(HMAPeriod)); <----- THIS is the part that I do not understand HOW to code and/or see the hopeful benefit.
--------------------------------------------------------------------
I assume you're a busy person, but any insights would be appreciated! Of course, ANYONE else with the same feedback/effort would be appreciated---- I just remember Mashume's work on the Hull Concavity!!
Last edited by a moderator: