Support Board
Date/Time: Sun, 22 Dec 2024 05:01:49 +0000
Post From: Ichimoku Chart Fix
[2015-02-26 21:40:02] |
User55237 - Posts: 8 |
Quote: Originally Posted by Turhovach View Post Trader07 - Everything you wanted to know about Ichimoku Clouds but were afraid to ask -- http://www.kumotrader.com/ichimoku_w...itle=Main_Page Regards, Bo It seems SC's implementation isn't correct. SC uses the same input price for both highest high and lowest low. It should use SC_HIGH for the highest high and SC_LOW for the lowest low. This is the code piece copied from the Kijun_Sen study in studies2.cpp sc.Highest(sc.BaseData[InputData.GetInputDataIndex()],HH,sc.Index,Period.GetInt()); sc.Lowest(sc.BaseData[InputData.GetInputDataIndex()],LL,sc.Index,Period.GetInt()); To my understanding, it should be changed to: sc.Highest(sc.BaseData[SC_HIGH],HH,sc.Index,Period.GetInt()); sc.Lowest(sc.BaseData[SC_LOW],LL,sc.Index,Period.GetInt()); -------------------------------------------------------------------------------- Last edited by fuzzy; 12-14-2011 at 12:58 AM. Have these changes been updated in the source code? |