Problem with objects on graph
-
Hello,
My EA doesn't work cause, I think, I don't know how configure objects on chart.
See below. When I apply my own indicator, I have many levels as PIVOT, Resistance lines, Support lines.... Right click on Objects List, I have the list below.

Now I would like to see a buy trade open IF last candle crosses above this object (in yellow). How can I do? I do the follow but it doesn't work. Why?

Thanks a lot for your help
-
Hi @bagheria.
Try change Candle High to Candle Close.
I think that should solve the problem. -
Thanks for your reply. I did that but without success. To be honest, I test my simple EA on MT4 with my template applied (I can see the PVT^ line) but there is nothing when the candle crosses above or below this line defined as object.... So sad. Another idea please?
Thanks
-
@bagheria The most efficient way to 'catch' an object is by loop. You should select this:

Then below it you can connect your 'condition' block by there selecting the option 'picked by loop'.
-
@l-andorrà Thanks for your comment. But it seems to be very difficult to understand for me. I am very boring cause I think it is a very very good trading technic I have.
-
@bagheria Can you please share your project?