1. I just received a PM, asking me the following question:
Programming a custom indicator, how can I preserve the value of a variable when changing the timeframe? I tried several variations using GlobalVariableSet/Get and deinit(). None of them worked out. Do you have an idea?
I don't know the answer. Can anybody help?
2. Also, does anybody know how to retrieve the font name that's used in an object.
For example, it's possible to retrieve the font size using ObjectGet(object_name,OBJPROP_FONTSIZE)
But there doesn't appear to any way to retrieve the font name (Arial, Verdana, etc).
Again, can anybody help?
Many thanks,
David
Programming a custom indicator, how can I preserve the value of a variable when changing the timeframe? I tried several variations using GlobalVariableSet/Get and deinit(). None of them worked out. Do you have an idea?
I don't know the answer. Can anybody help?
2. Also, does anybody know how to retrieve the font name that's used in an object.
For example, it's possible to retrieve the font size using ObjectGet(object_name,OBJPROP_FONTSIZE)
But there doesn't appear to any way to retrieve the font name (Arial, Verdana, etc).
Again, can anybody help?
Many thanks,
David