Thanks a lot for the help 
I made the correction now it is like this http://prntscr.com/d6vc07 http://prntscr.com/d6vc07
EA link: https://fxdreema.com/shared/11e3sJ5ye
It writes "0" as price level when the price is above the candle which we state in the "Draw object" block as candle time and candle price. Is it normal?
I don't know if it is possible but it would be great if:
- I can get "price level by candle ID" as price itself for both the candle and the line. Eg. "1.085=candle close price" and "1.081=Trendline price"
- EA can close trade When price breaks out current trend line price level: Eg: when candle close drops from 1.085 to 1.080, 1.080 < 1.081 --> Close Trade
Thanks

I can't figure it out. I want to use it in my real version (expanded version of the one I sent you) but it opens multiple trades there as well