Looked at other TFs - seems to match in principle, will do. In the upper picture the lines just did not have enough time to go down, because there are less bars, it seems to me :). That's it, thanks !
Can you please tell me why levels are not drawn in the window. It's just an empty window in which I add indicators. But I need the window to have levels, and it doesn't want to
Can you please tell me why levels are not drawn in the window. It's just an empty window in which I add indicators. But I need the window to have levels, and it doesn't want to
You have specified levels 1 and 4. Set 2 instead of 4.
Yes, the levels have appeared, thank you. But the indicator name also appeared. The whole point is that when installing an empty window first, no inscriptions appear at all. It's probably easier to make levels on one of the added indicators
It's not working again. If I add lines about minimum - maximum (or manually) to the code of the required indicatorhttps://www.mql5.com/ru/code/537?source=terminal5_mql5, it is not drawn at all. It itself is not drawn to the edge of the window, that's the problem, that's why I wanted to add levels, to see where the boundary of its drawing is.
Ideally, of course, you want it to go from window edge to window edge. Is there any way to achieve this?
Индикатор Fisher, рассчитывая минимальные и максимальные уровни цены в предыдущей истории, определяет силу и направление тренда, прогнозируя его смену.
It's not working again. If I add lines about minimum - maximum (or manually) to the code of the required indicatorhttps://www.mql5.com/ru/code/537?source=terminal5_mql5, it is not drawn at all. It itself is not drawn to the edge of the window, that's the problem, that's why I wanted to add levels, to see where the boundary of its drawing is.
Ideally, of course, you want it to go from window edge to window edge. Is there any way to achieve this?
Yes. You have to monitor the events and constantly track the new maximum and minimum on the bars visible in the window. To do this, see the OnChartEvent() and IndicatorSetDouble() functions in the help, and all identifiers for them.
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.
Can you please tell me why levels are not drawn in the window. It's just an empty window in which I add indicators. But I need the window to have levels, and it doesn't want to
Can you please tell me why levels are not drawn in the window. It's just an empty window in which I add indicators. But I need the window to have levels, and it doesn't want to
Nope, doesn't help. Even if you remove all lines 5 to 11 and try to add levels manually when joining the graph, they still don't appear
You must also specify the window minimum and maximum:
It's not working again. If I add lines about minimum - maximum (or manually) to the code of the required indicatorhttps://www.mql5.com/ru/code/537?source=terminal5_mql5, it is not drawn at all. It itself is not drawn to the edge of the window, that's the problem, that's why I wanted to add levels, to see where the boundary of its drawing is.
Ideally, of course, you want it to go from window edge to window edge. Is there any way to achieve this?
It's not working again. If I add lines about minimum - maximum (or manually) to the code of the required indicatorhttps://www.mql5.com/ru/code/537?source=terminal5_mql5, it is not drawn at all. It itself is not drawn to the edge of the window, that's the problem, that's why I wanted to add levels, to see where the boundary of its drawing is.
Ideally, of course, you want it to go from window edge to window edge. Is there any way to achieve this?
Yes. You have to monitor the events and constantly track the new maximum and minimum on the bars visible in the window. To do this, see the OnChartEvent() and IndicatorSetDouble() functions in the help, and all identifiers for them.
P.S. And ChartGetInteger().
Got it, thanks, I'll look into it.
What function could be used to make a script that
1). Change the background of the graph to Custom on startup;
2). When restarting on the same chart, would it change the background back to the previous one?
Got it, thanks, I'll look into it.
What function could be used to make a script that
1). Change the background of the graph to Custom on startup;
2). When restarting on the same chart, would it change the background back to the previous one?