Custom Projects Incomplete
Hello Supoort. Im coding an Indicator where i want to use Text Labels. The Documentation shows H and V Alignment but the Node Module from the Example Indicator doest contain this Function. Its not Possible to compile same with Anchor Point.

Please add this to the Node MOdule of the Example Indicators.
- How does this impact your experience?
Comments6
Serhii S.
May 25
Hello @RUPERT GOLDBERG Thanks for waiting.
It looks like you may need to install the package in your own project first.
Please try:
npm install forex-tester-custom-indicator-api@latestllThen compile again and see if that resolves the missing text label functions for you.
If it still doesn't, send me the result and I'll take it from there. Thank you.
RUPERT GOLDBERG
May 25
this doesnt exist: “
npm install forex-tester-custom-indicator-api@latestll"you have to change this File inside the Sample Projects:custom_indicator\node_modules\forex-tester-custom-indicator-api\dist\IIndicatorApi.d
from my undertanding this is the Library that has to contains all the build in Functions and variables.
Serhii S.
May 25
Sorry, there was a typo in my previous message.
Please use this command instead:
npm install forex-tester-custom-indicator-api@latestThanks for catching that. Does it help?
RUPERT GOLDBERG
May 25
Hi Serhii,
Thanks for your Message. No, it doesnt work.
Serhii S.
May 25
For
ObjProp.OBJPROP_VALIGNMENTandObjProp.OBJPROP_HALIGNMENT, please use the numeric values0-2instead of theTextVAlignment/TextHAlignmentenum.enum TextHAlignment {
haLeft = 0,
haCenter = 1,
haRight = 2
}
enum TextVAlignment {
vaTop = 0,
vaCenter = 1,
vaBottom = 2
}
Serhii S.
May 25
Hello @RUPERT GOLDBERG,
Thank you for flagging this. I've just asked our developers to look into the missing text label functions in the Node module for the example indicators.
I appreciate you pointing out the mismatch between the documentation and what is currently available there. Once we have more clarity on it, we'll follow up in the thread.