Value Using Buffer (No Source Code)
-
I wanted to check if anyone can provide a suggestion as to how I can get the indicator values with buffer. Don't have source code. Its a Cot data indicator.
If mouse is hovered over the green or red line, it gives the value of Cot data. But when I use the buffer value it gives error. Any suggestion
This is what it shows when hovering mouse over red line:

This is the project and indicator link
https://fxdreema.com/shared/wqeynVpSb
https://fxssi.com/cot-indicator -
Not having these values in a comment, says the buffers probably do not exist, open your data window, and see what buffers you have in there. I suspect though you will have to use object on chart and get this this way.
-
@jstap This is the buffer - it does have buffer. But these buffer return error. Object on chart does not show these lines, not sure why - it should show on object lis right? See below


-
That's not the data window, and the Bitmap Labels are objects. Take a picture of the data window
-
@jstap Do you mean input window:
.The bitmaps are objects, but I cannot find object related to the lines. The objects on the list are the buttons and frame. I dont think they contain any value. If it was possible to get the data somehow it would be wonderful.
-
@jstap May be u meant this window,

-
View - data window
-
@jstap thanks- Yep it does show the values in data window
With indicator with no source code, do i need to add the input values in fxdreema? I intend to use defaul values.The buffers dont give the value, data window has it

-
I wouldn't think so, although this is my MT4 experience. I would think what you have would show the values, you can try adding inputs. On the terminal you are running the EA you have the indicator installed?
-
I have the indicator installed on same platform where EA is being tested. I added inputs -still does not work. Previously, i had noticed input is not needed for it to work.
Buffer should work if data values exisit? Not sure what would be a solution
-
Yes, it should work (always has for me on MT4), maybe go to the main page and ask the admin, might take a while to respond but you might find the answer.
-
-
Possibly, he may see this anyway, you could try referencing hid directly.
-
@jstap I was trying another indicator that prints the object on chart. Similar objective, ie to get the values. I can get the values from Obj description. What would be a text code to trim this string from left to right - if i can get the 1st 3 values 24% it would do the job. This is just a long short sentiment indicator from fxblue. Useful to go against the crowd that always lose. This value is EURUSD (now strong uptrend, short value is 76%, unbelievable)

-
This would do it:
StringSubstr(
string_value, // string
start_pos, // position to start with
length=0 // length of extracted string
) -
@jstap thanks this works perfectly to get the percentages.
-
-
@s00071609 Mind if i ask, in the data window, which value are you trying to use?
-
@FiboBlade Large Speculators and Small Speculators
-
@s00071609 , oh, i thought the "up" & "down" signal. ok.
