Support Board
Date/Time: Mon, 25 Nov 2024 12:29:38 +0000
Post From: Chart loosing custom ASCIL colors when clicking on any study settings in Studies
[2024-03-09 22:23:47] |
User366743 - Posts: 14 |
In my limited experience the colors (or other output graphics) will not display correctly if the study in question does not calculate correctly the position value (the index value is calculated/ assigned by SierraChart). This for now is to me the actual culprit.. https://www.sierrachart.com/image.php?Image=1710031631112.png This is the image of my Haikin-Ashi overlaid over SierraChart Heikin-Ashi: it seems like the open/ close values are not the same but they should have been.. So SierraChart build-in Heikin-Ashi study calculates the candle values differently than the provided code in Studies.cpp Finally I got it to work but it is still odd. 1. I must add the build in study Heikin-Ashi (with default settings) and use DisplayAsMainPriceGraph option. 2. I followed as close the logic of the provided code as possible with my ASCIL study. Add the ASCIL study (as last one) and this time do not use DisplayAsMainPriceGraph option. 3. Hide the build-in study Heikin-Ashi. So it boils down to the fact that the ASCIL Heikin-Ashi study relies at some point on the build-in Heikin-Ashi study and that the DisplayAsMainPriceGraph should not be used by the ASCIL study. Now I can click on any study in the settings, hit apply (or not) and the graph data arrays do not loose its values. Thank you for your input. Date Time Of Last Edit: 2024-03-10 05:27:08
|
HA_STD2.cpp - Attached On 2024-03-10 02:19:03 UTC - Size: 11.03 KB - 157 views |