Aung Swar:
I try toget line value from this object .I tried by ObjectGetValueByShift
But return value is zero.
- Perhaps you should read the manual. Do you see rectangle there?
This function applies only to the following objects:
- Trendline (OBJ_TREND)
- Trendline by angle (OBJ_TRENDBYANGLE)
- Gann line (OBJ_GANNLINE)
- Equidistant channel (OBJ_CHANNEL) - 2 lines
- Linear regression channel (OBJ_REGRESSION) - 3 lines
- Standard deviation channel (OBJ_STDDEVCHANNEL) - 3 lines
- Arrowed line (OBJ_ARROWED_LINE)
Just the one of the two coordinates
Object Functions / ObjectGetDouble - Reference on algorithmic/automated trading language for MetaTrader 5 -
datetime decrementTradeDate (datetime dtTimeDate) { #define HR2400 86400 // = 24 * 3600 = 1440 * 60 = PeriodSeconds(PERIOD_D1) return dtTimeDate - HR2400; }
x
William Roeder:
- Perhaps you should read the manual. Do you see rectangle there?
Just the one of the two coordinates
Object Functions / ObjectGetDouble - Reference on algorithmic/automated trading language for MetaTrader 5 - x
Do you want me to use objectgetdoble?
no value retrn.
double h= ObjectGetDouble(0,"BoxBreakOut_High " + TimeToStr(dtTradeDate,TIME_DATE),OBJPROP_PRICE2);
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
I try toget line value from this object .I tried by ObjectGetValueByShift
But return value is zero.
How can call its line value
Please help me.