Would it be possible to create an open-ended rectangle i.e. a rectangle without the second time coordinate or an raylike infinite time projection? I originally thought about creating two horizontal lvls and filling the space in between with a background color but since that isn't possible in mq4 I have to resort to using rectangles. The problem with rectangles is that they have ending points with the 0 shiftbar being the farthest possible extreme. Any ideas?
- Rectangle to fill or not to fill?
- Set window background color
- Multi-indics indicator
Yojimbo:
Would it be possible to create an open-ended rectangle i.e. a rectangle without the second time coordinate or an raylike infinite time projection?
The problem with rectangles is that they have ending points with the 0 shiftbar being the farthest possible extreme. Any ideas?
- Create the rectangle with a future time coordinate (Time[0]+86400) or
#define INF 0x6FFFFFFF // Not quite infinite, Jul 2029, or 1,879,048,191
- What makes you think that. Attach 4 Sessions - MQL4 Code Base, press the Chart Shift button, and watch it paint rectangles into the future.
Wow. Future time coordinate. Very helpful. Thank you very much.
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