M
Tried to correct the issue with wrong HL alerts. Please download again and see if anything changes with it.
Yes, I did.
if ((Ex[1] != EMPTY_VALUE) && (Ex[1] != was_alert_hl) && (Ex[1] != Ex[2]))
It compiles well in Alpari MT4 (Build 1010). Please check if you have modified it somehow. Alternatively, just copy the original code file over.
1. currently horizontal line is not selectable so it cannot be copied and as such visible in other time frames: if I want to copy one or more specific horizontal lines
(ETV-HL) from H4, D1, meaning higher time frame and have them in smaller time frame,( just to pick) and indicator would create copy line; to delete : just select duplicated trend line and delete.
I understand that visible ETV-HL is actually chain of several small lines between bars so have no idea how o resolve it.
2.again about higher time frame, please see attached pictures: I would like to have alert (true/false) when price cross line and tell me in which TF.
some lines in higher time frame are important like memory so later on price might come to that level and i would like to know that by alert also. Since original ETV-HL is short then intersection would be with imaginary HL trend line or have option to draw extended trend line for specific ETV HL.
The lines cannot be selected because they are not horizontal line objects but indicator's output - like a moving average line is the output of the moving average indicator.
This is probably better solved by adding more charts with ETV at the time frames you need and setting up alerts for them.
I understand what you mean. The problem is that it is not possible without a complete rewrite of the indicator either to work with the graphical objects or to works a multi-timeframe indicator. I have no interest in doing either of this.1. understand. idea is to copy ETV-HL from Higher time frame in lower time frame having it for reference for trading opportunity.
meaning : when I get copy of ETV-HL in HTF then I would change TF to lower and look for trading opportunity.
As I have said, you can use two charts in this case. For example, you can use D1 chart with the indicator and alerts set up. And, in addition, an M5 chart for trading.2 same idea: when price cross ETV-HL in HTF then I would go to smaller time frame to look for trading opportunity.
Who said that it is not possible to have an alert in ETV? Just set UseAlertHorizontalLine to true.Now: if ETV-HL is indicator's output same like MA then how is possible to have alert when price cross MA and not in this case?
I understand what you mean. The problem is that it is not possible without a complete rewrite of the indicator either to work with the graphical objects or to works a multi-timeframe indicator. I have no interest in doing either of this.
As I have said, you can use two charts in this case. For example, you can use D1 chart with the indicator and alerts set up. And, in addition, an M5 chart for trading.
Who said that it is not possible to have an alert in ETV? Just set UseAlertHorizontalLine to true.
You can use this tutorial to add alerts to an indicator:
https://www.earnforex.com/blog/how-to-add-alerts-to-metatrader-indicators/