-
Rectangles are not on any bar. It starts on one bar and ends on another.
-
Compare the two time coordinates with the time of the “current bar.”
-
Perhaps you should read the manual. MQL4 Reference → ObjectGetInteger → ENUM_OBJECT_PROPERTY_INTEGER → OBJPROP_TIME
How To Ask Questions The Smart Way. (2004)
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up.
-
Rectangles are not on any bar. It starts on one bar and ends on another.
-
Compare the two time coordinates with the time of the “current bar.”
-
Perhaps you should read the manual. MQL4 Reference → ObjectGetInteger → ENUM_OBJECT_PROPERTY_INTEGER → OBJPROP_TIME
How To Ask Questions The Smart Way. (2004)
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up.
Hi, William
Thank you for your great tips.
I will try to read rectangle time and check current candle time to make an entry!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I just want to know how to recognize the rectangle object is on the current bar.
Is it possible to know the rectangle is overlapping on the current or previous bar?
This is to use buy and sell entry signal.