I have an efs, called Character, that returns a single text string i.e. a word. When I add this indicator to a watchlist it shows the correct string exactly as expected.
I am now writing a new efs but I would like to reference Character's returned string in my new indicator.
However when I try and display the string returned by Character I get [object Series]
If I alter Character to return a number it works perfectly so I guess my problem is about processing a string of characters.
Any ideas please?
Here is my EFS:
var vCharacter = efsExternal("Character.efs", Color.lime, Color.grey, Color.red, 60, 60, 60);
clearText();
drawText(vCharacter.toString, TopRow2, Color.lime, Text.ONTOP);
return;
Thank you
I am now writing a new efs but I would like to reference Character's returned string in my new indicator.
However when I try and display the string returned by Character I get [object Series]
If I alter Character to return a number it works perfectly so I guess my problem is about processing a string of characters.
Any ideas please?
Here is my EFS:
var vCharacter = efsExternal("Character.efs", Color.lime, Color.grey, Color.red, 60, 60, 60);
clearText();
drawText(vCharacter.toString, TopRow2, Color.lime, Text.ONTOP);
return;
Thank you
Comment