Indicators: DayOfWeekLabels

 

DayOfWeekLabels:

The indicator shows days of the week on the price chart.


Author: Scriptor

 
Automated-Trading:

DayOfWeekLabels:

Author: Scriptor

when I compile your indicator I see these errors

'DayOfWeekLabels.mq5' DayOfWeekLabels.mq5 1 1
'TimeToStruct' - expression of 'void' type is illegal DayOfWeekLabels.mq5 123 11
'if' - expression of 'void' type is illegal DayOfWeekLabels.mq5 225 4
'if' - expression of 'void' type is illegal DayOfWeekLabels.mq5 236 4
3 error(s), 0 warning(s) 4 1

Thanks

Mario

 
Mario Trinchero:

when I compile your indicator I see these errors

'DayOfWeekLabels.mq5' DayOfWeekLabels.mq5 1 1
'TimeToStruct' - expression of 'void' type is illegal DayOfWeekLabels.mq5 123 11
'if' - expression of 'void' type is illegal DayOfWeekLabels.mq5 225 4
'if' - expression of 'void' type is illegal DayOfWeekLabels.mq5 236 4
3 error(s), 0 warning(s) 4 1

Thanks

Mario

Try to re-download the code
 
Is it possible to specify something like "Historical_Days". So that the chart does not freeze when switching timeframes. For example, it would be possible to specify a 15-day historical period. Thank you.
 

Very good indicator. Helps me to see the bigger picture.

Here are suggested edits, if you don't mind, since the charts can get a bit crowded at higher timeframes.

Locate the following lines and edit to read:


if( InpShowDay && Period()< PERIOD_H4 )

if(InpShowMon && Period()< PERIOD_W1)


Any thoughts or foreseeable impact to the primary algorithm of the program?

 
Please add the ability to change the coordinates of the days of the week to the top or bottom of the screen.
 
Роман Стаценко:
Please add the ability to change the coordinates of days of the week up or down the screen.
The code is open source. You can still do it yourself ;)
 
added that lines should be drawn in the background. otherwise candlestick shadows are not visible.
thank you very much for the code.
Files:
 
Very nice and useful indicator, thank you very much!
 
The aforementioned edits would be awesome. Would it also be possible to add an option to shift the daily open a specified number of hours? 
 
Hi Scriptor, very helpful tool you have written. Thank You! I'm just curious whether it would be possible to enhance the code in the way to plot the monthly lines and labels already one weak ahead of the start of a new month. This would make the trader aware that he is trading in the last week, days of a month which could be very helpful. Best regards, Bullizist