On hourly charts and below, you can draw hourly timeframe bars and without taking prices from another timeframe. Linking with iHigh, etc. is not very useful as it slows down the indicator and needs to bump the other timeframe.
If it is possible to do everything on one timeframe, this is preferable.
And how do you practically draw hourly data on a smaller timeframe? Well, it's roughly like this:
It doesn't look as pretty as candles. But you can do it with candlesticks, but it's a hassle to do and it's practically impractical.
The trading week starts for me and I'm sorry, I will not write and reply on the forum anymore. I'm sorry, I will not write and answer on the forum any more.
Although it takes a lot of experience to easily write programmatically what you think. Usually 1-3 years.
You know, I can't get the indicator right. Right now it's not drawing. Sometimes it does, sometimes it doesn't, and now it doesn't. And there's no pattern. I've added graphic objects to it. And he's not drawing!
Can you tell me how to change the start date - so that it starts not from the date given in text form, but from a date smaller than the current date by a given number of days?
I.e. set shift backwards (e.g. 3 days), and it counts from 00=00h of that day.
extern datetime TimeStart = D'2012.07.01 00:00'; //Time of analysis start
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
On hourly charts and below, you can draw hourly timeframe bars and without taking prices from another timeframe. Linking with iHigh, etc. is not very useful as it slows down the indicator and needs to bump the other timeframe.
If it is possible to do everything on one timeframe, this is preferable.
And how do you practically draw hourly data on a smaller timeframe? Well, it's roughly like this:
THANK YOU for the tip):
There you go! How do you put the code out there so that you can look at it, to refine it?
THANK YOU for the tip):
It doesn't look as pretty as candles. But you can do it with candlesticks, but it's a hassle to do and it's practically impractical.
The trading week starts for me and I'm sorry, I will not write and reply on the forum anymore. I'm sorry, I will not write and answer on the forum any more.
Although it takes a lot of experience to easily write programmatically what you think. Usually 1-3 years.
Hi, could you please tell me how to write it correctly?
The thing is, ObjectSetText doesn't seem to do anything, so I get text instead of vertex caption.
Hi !!!!
Can you tell me how to change the start date - so that it starts not from the date given in text form, but from a date smaller than the current date by a given number of days?
I.e. set shift backwards (e.g. 3 days), and it counts from 00=00h of that day.
extern datetime TimeStart = D'2012.07.01 00:00'; //Time of analysis start