get price where horizontal line is drawn
p = ObjectGet(name, OBJPROP_PRICE);Property OBJPRICE_PRICE is defined only for ObjectGetDouble(). Perhaps you should reread the manual.
Object Properties - Objects Constants - Standard Constants, Enumerations and Structures - MQL4 Reference
Hi
This code failed to print out the price where the horizontal line is drawn, instead it is reporting 0. Any idea how to fix it? Thanks