how to read the indicator objects from chart
-
hello guy i have a smart money concept indicator and im trying to read the values from the chart and draw line when price cross the value, the indicator has no buffers and i cant manage it to read the objects here is the link https://fxdreema.com/shared/xdwWRYMHb
-
Not sure I fully get it. Are those objects created by some indicator?
-
Go onto your meta trader terminal and load the indicator, then open the object list, if the object is there, you can read and double click and read all parameters to work with it. I always use name to find and work with an object. If the object is not there I know of no way to use it.
-
i can upload the indicator to see how it is
-
Take a picture of your object list, and I'll say what to do to get the relevant data
-
1st image is chart window and the 2nd image is when press the object list and show all , and the indicator
-
Does one of those objects appear when something needs to happen?
-
yes it appears on the chart when price breaks the level
-
-
Ok then to get something working from this, double-click and copy the name into object on chart and get the candle ID, then check if this matches candle ID0 or ID1, if so draw a line to check, or put this ID into a comment, so you can backtest and check
-
i tried and still doesnt read it
-
Ad a shared link to look at
-
https://fxdreema.com/shared/exZBxpH2 , the thing is every time i run the test the indicator has a number in front that changes each time i start a test
-
just an update i tried on live market and if i put the description with the magic number from the indicator it works good it draws the lines , only in testing mode doesnt work because the magic number changes every time when i run the test and i cant modify the expert when is running
-
You can, but if you strip down the name in, starts and contains, it will probably ignore the numbers.
-
i tried it doesnt ignore them
-
Add your latest shared link to look at
-
https://fxdreema.com/shared/YkuHKfbHc , i tried by color by description by text by trend line , still doesnt work
-
The only other way I know is to add a number/letters to a variable every time it's used, then with text code input add the two together, is quite a lot of work and might not work, another option is to use code and get the latest name. Either way put the name in a comment, so you see what is being returned.
-
i quit with that indicator is to complicate i found another one and burning my brains with this other one :))) this one is easier, it appears a text with TP SL and entry , but when i want to read the description if is a buy or a sell i dont get anithing , and i had to put a condition if the price of TP > entry is a buy , but it takes in a loop and i want to palce trade only when buy / sell signal appears

