Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 08:28:41 +0000



Post From: Is there ACSIL way to mark Support/Resistance zones in the Label Column area?

[2019-03-02 01:18:10]
Devil_On_WallStreet - Posts: 67
this is how I have my custom support/resistance zones... It does require 2 Subgraphs though. I store the actual level as a sc.Subgraph[].Arrays[], you can also use SCFloatArrayRef. Then I have 2 subgraphs, DRAWSTYLE_TRANSPARENT_FILL_TOP and BOTTOM. you can then specify either an Int or float for the offset if you want it as an input, or just set it as for example

TopZone[sc.Index] = Offset.GetInt() * sc.Ticksize;
BottomZone[sc.Index] = (Offset.GetInt() * sc.Ticksize) * -1;

alternatively you can set them once on chart recalculation so it doesn't have to call the .GetInt() every time time the study calculates... this is what I suggest especially if you are using a user input...

there is a way to project into the not label area, but into the fill space using sc.Subgraph[].GraphicalDisplacement
imageSnRZones.JPG / V - Attached On 2019-03-02 01:17:20 UTC - Size: 218.83 KB - 993 views