SetLevelValue( int level, double value) does not work in library New comment [Deleted] 2010.02.03 16:36 That pretty much says it all. But WHY? This isn't documented anywhere. Basically, I wrote a function to traw 32 (maximum) levels in my indicator, based on price range. It works fine, if the function is defined in the indicator. It has no effect, however, when defined in a library. I know the library function is actually executed with correct input because a tested this by inserting a Print() statement. But no levels are defined. I want to be able to re-use my function. Is there any way I can make it work from the library? Thanks, Robert Files: aslib_displaylevels.mq4 2 kb Different library search path for tester? Personal indicator variable to EA Convert a string to a variable New comment
That pretty much says it all. But WHY? This isn't documented anywhere.
Basically, I wrote a function to traw 32 (maximum) levels in my indicator,
based on price range. It works fine, if the function is defined in the
indicator. It has no effect, however, when defined in a library.
I know the library function is actually executed with correct input
because a tested this by inserting a Print() statement.
But no levels are defined.
I want to be able to re-use my function. Is there any way I can make
it work from the library?
Thanks,
Robert