Picking Values Of Objects On Chart
-
Hello, am trying to get the values of this indicator which i only have on the chart, the idea is the EA would make trades based on that. What am trying to get are the arrow, and the take profit and stop loss levels as in the screenshot below. I have tried and i can get one of the stoploss ie SL1 but not on the current candle, several candles behind. How can i get this to work getting values for the current TP and SL as well as the buy and sell arrows. Please note the object names are not unique but varies per identical objects. See screenshot. Please can someone help thanks.


-
If that custom indicator is using buffers to stor that information, you can take it directly from there. Here you have two nice tutorials explaining how to check those buffers:
https://fxdreema.com/forum/topic/4208/tutorial-06-my-indicators-in-fxdreema
https://fxdreema.com/forum/topic/9105/tutorial-working-with-ex4-ex5-indicator-file -
@l-andorrà No buffers and thats why i need to pick the values from the chart.
-
You have the name and the description, maybe they have a value. Double click on the name and see what information you get. Also add the indicator here to see what it's about.
-
@jstap I have solved the problem by using a condition to compare the trendline/SL/TP lines with the candle time. Now i can pick all i want. This is the screenshot incase someone needs it.

-
Well in mate
-
@ossy Hi Brother, I'm currently stuck with a similar problem. Trying to trigger "Buy Now" "Sell Now" using arrow objects drawn by an indicator unto the chart.
The indicator doesn't have buffers is why I'm trying to do this using arrow objects on the charts.
Could you kindly share the project link so i could study it?