Hi,
I've found 5 bugs (so far) on custom indicator.
Changing the color opacity of a line (TOptValue_LineStyle) will not take effect
ObjProp.OBJPROP_LOCKED is on the documentation but when setting it this.api.SetObjectProperty(name, ObjProp.OBJPROP_LOCKED, true)
Syntax error is displaying Property 'OBJPROP_LOCKED' does not exist on type 'typeof ObjProp'.
I cannot change style of a line when setting isStatic in CreateChartObject. It's always solid blue line. I don't know if it's intended (not mentioned in the documentation). Also, I can't remove it even if I do RemoveAllObjects
Can't change the color opacity of TObjectType.TEXT When I set the color to #ffffff00 (0% opacity) it will still display #ffffff (100% opacity)
iBarShift doesn't return -1 when date is not exact even if isExact is set on newly added timeframe like 12H.
Ex. 2023-02-13T08:17:00.000Z. The time is 8:17 so it should return -1 on 12H (720)
Here is the indicator
test-indicator.js.txt
20.1 KBβ’ Text
Share update with 0 linked conversations as well
In Review
π Bug Reports
About 2 months ago

Carl D
Get notified by email when there are changes.
In Review
π Bug Reports
About 2 months ago

Carl D
Get notified by email when there are changes.