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
Of course! It's just time. And all we have to do is add time to Time[0] to make the rectangle extend out into the future (off the right-hand side of the chart). Thanks. By the way, I found that the left-hand side by simply using Bars.
The color I'm using is very subtle. You almost have to look for the rectangles to see them.
Of course! It's just time. And all we have to do is add time to Time[0] to make the rectangle extend out into the future (off the right-hand side of the chart). Thanks. By the way, I found that the left-hand side by simply using Bars.
The color I'm using is very subtle. You almost have to look for the rectangles to see them.
Hi MisterDog,
May we see the pics ?,
On Monday Time[0] is on Monday while Time [1] is on Saturday - that's the gap on Monday ;).
:D
I'm guessing that since I run a one minute chart that what You're talking about will take care of itself in one minute. I guess we well see what happens over the weekend.
Here's the pic.
Hi MisterDog,
Simple.
1. Get the time distance between one bar to another. We can get this by subtracting current bar time with previous bar time or multiplying period with 60 second, choose the latter one, coz there's time gap on Monday.
I have no time gap on Monday, my first bar of the week starts on Sunday ;-)
Why not add PERIOD_W1 * 60 to the end time ? that should just about cover any gaps . .. ;-)
The color I'm using is very subtle. You almost have to look for the rectangles to see them.
Now I "see" what you meant.
RaptorUK
I have no time gap on Monday, my first bar of the week starts on Sunday ;-)
Why not add PERIOD_W1 * 60 to the end time ? that should just about cover any gaps . .. ;-)
You have gap on Sunday then ;).
Tell me, is there way to use some sort of a "wildcard" for things like the ObjectDelete? I would like to do something like this, ObjectDelete("tensLines"*); in other words, delete anything that starts with "tensLines".
Why not add PERIOD_W1 * 60 to the end time ? that should just about cover any gaps . .. ;-)
Why not just project the rectangle all the way into the future?
Thank you very much WHRoeder. I'll take it :D
[ EDIT : So, anyhow, many thankssssssssssss ]
Why not add PERIOD_W1 * 60 to the end time ? that should just about cover any gaps . .. ;-)
I didn't want to be greedy ;-)
Greed Is Good, you know ;)