What is the best way in this situation?
Yep, that's true. I did it because it was a matter of 2 minutes and I was having a good day, but I won't do it again.
Where may I learn how to create a script?
I added | #property indicator_color1 clrBlack | into the script. But I have errors.
'OnCalculate' - function must have a body Vertical-Line-H1.mq4 22 5
OnStart function defined in the non-script program Vertical-Line-H1.mq4 17 6
indicator buffers amount is less than needed 0 0
Someone help me, please.
Thanks for your time. I highly appreciate your support.
I know I have not a lot of time. But I know I will do a lot of things a little time.
Right now I added COLOR, STYLE and so on. It is simple but I am new this area.
I would like to add Vertical Line to forward (future Period H1).
I tried to find about it but I did not find anything.
Is it possible?
You can use future times in the parameters for a vertical line.
Be aware that if that time value doesn't exist on the chart later, the line will appear to be on the nearest earlier bar.
If, on a Friday, you place the line 12 hours in the future, so it will be on a Saturday, it will appear to be in the correct place
When the market opens on a Monday, there will not be a candle that includes that Saturday time, so it will appear to be on the last Friday candle.
Hope that makes sense.