Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 06:01:47 +0000



[User Discussion] - study request: valcu/ vervoort candle smoothing

View Count: 1182

[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.
[2020-04-04 22:46:32]
Ackin - Posts: 1865
Hi, I created a similar study
Heikin-Ashi Dan Valcu Smoothed (Histogram)
Heikin Ashi + HaDelta

You can download free DLL library with this study:
https://www.sierrachart.com/UserControlPanel.php?page=StudyStore&SCDLLName=zyp_download_free

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account