Support Board
Date/Time: Thu, 06 Feb 2025 02:06:45 +0000
Post From: study request: valcu/ vervoort candle smoothing
[2020-04-04 18:57:11] |
User283743 - Posts: 38 |
Is somebody knowledgeable enough to turn this thinkscript code into a sierra study? The code describes two different ways of candle smoothing; the heikin ashi studies in the custom study list do not have these values. case Valcu: haOpen = CompoundValue(1, ( (haOpen[1] + (openMA[1] + highMA[1] + lowMA[1] + closeMA[1]) /4.0)/2.0), open); haClose = ((OpenMA + HighMA + LowMA + CloseMA)/4.0) ; case Vervoort: haOpen = CompoundValue(1, ( (haOpen[1] + (openMA[1] + highMA[1] + lowMA[1] + closeMA[1]) /4.0)/2.0), open); haClose = ((((OpenMA + HighMA + LowMA + CloseMA)/4.0) + haOpen + Max(HighMA, haOpen) + Min(LowMA, haOpen))/4.0); } Thanks very much. |