Seyedmasoud Hashemi:
Hi everyone
i want to know there is a way to get both edge price of a rectangular in mql5?
i tried the ObjectGetDouble(0,Rec1,OBJPROP_PRICE) but it just give me one of them
Read manual: ObjectGetDouble
double ObjectGetDouble( long chart_id, // chart identifier string name, // object name ENUM_OBJECT_PROPERTY_DOUBLE prop_id, // property identifier int prop_modifier=0 // property modifier, if required );

Documentation on MQL5: Object Functions / ObjectGetDouble
- www.mql5.com
ObjectGetDouble - Object Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
thanks a lot it worked

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi everyone
i want to know there is a way to get both edge price of a rectangular in mql5?
i tried the ObjectGetDouble(0,Rec1,OBJPROP_PRICE) but it just give me one of them