
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
It might even be faster... Although I don't know what it will look like with memory reallocation.
And yet I can't figure out why levels are not created using ObjectCreate. All functions work, but no OBJ_TREND objects are created
There are variables defined on the global level:
string oRes, oSup, oPP, oRes1, oRes2, oRes3, oSup1, oSup2, oSup3, textPP, textR1, textR2, textR3, textS1, textS2, textS3;
The code that should create the levels:
Folks, help sort this out. PleasePrint the results of ObjectCreate, maybe there is an error.
So what does it say? Did you do an output of the result?
Please advise me on how to find a clear (as simple as possible) literature on technical analysis. When I start reading it I understand it, but when I start reading it in details my brain refuses to understand it :(
It didn't work for me, I was doing something wrong. Print didn't give me anything.
That must have been the wrong thing to do.
Yes, that's really not how I did it. It generates the error "5040 - tainted parameter of type string". I have parameters for objects defined at the global level (the compiler warns without them) like this: string oRes, oSup, oPP, oRes1; etc. How to fix this and how to correctly specify the correct parameter string, so that everything works and the compiler does not swear?
Well, let's say you've declared variables at global level, have you assigned values to these variables?
If not, then you say to the program "create an object with such-and-such characteristics with the name..." and there is a problem - the name is not given. So it doesn't create it.
Wouldn't it be easier to specify it directly in the ObjectCreate code?
Try Nyman's Little Trader's Encyclopedia