Support Board
Date/Time: Mon, 21 Apr 2025 05:38:05 +0000
Post From: AddAndManageSingleTextDrawingForStudy documentation suggestion
[2025-03-13 20:23:58] |
User719512 - Posts: 309 |
I believe this is the only SC API that uses a Persistent Variable. For completeness, might be a good idea to make note of this. Granted, it is very unlikely someone will use both AddAndManageSingleTextDrawingForStudy() and a persistent int with key 11110000 in their own study and cause a conflict. Perhaps the optimal solution would be to declare the function as: void AddAndManageSingleTextDrawingForStudy( SCStudyInterfaceRef &sc, bool DisplayInFillSpace, int HorizontalPosition, int VerticalPosition, SCSubgraphRef Subgraph, int TransparentLabelBackground, SCString& TextToDisplay, int DrawAboveMainPriceGraph, int BoldFont = 1, int PersistentKey = 11110000 ) { int& r_DrawingTextLineNumber = sc.GetPersistentInt(PersistentKey); ACSIL Interface Members - Functions: sc.AddAndManageSingleTextUserDrawnDrawingForStudy() |