Discuss Price Line Alert MT4 indicator in this thread. You can ask any questions about this simple alert indicator based on lines here.
Please check what it says in the Experts tab of your Terminal subwindow. There's likely some error message there.In the last days i used this indi quit extensively and although it's working fine, sometimes it just dissapears from some charts?
This also means there will be no alerts coming from these charts....
So the PLA label is still visible, but the indi is not present anymore, also when you look with right click >> indicators to see which are at the chart.
Could this be a bug somehow?
Hmmm, i removed it already, and restarted mt4. Now testing price line alert. Probably i will switch a bit later and will follow up on your request.Please check what it says in the Experts tab of your Terminal subwindow. There's likely some error message there.
Unfortunately, that would require either converting it to an EA or adding a capability to save/load settings to files to it. At the moment, it isn't something I plan to do with this indicator.If there is available Create alerts EA that stores alert value and symbol. So we can create multiple symbol alerts even we change the symbols. (like PS EA stores default values of that particular symbols. and it restores the value when ever we come back to the symbol) will be good one.
View attachment 29200Adding following options will be more tweaked. like, Alert if the candle close above the Horizontal line, Candle close Below the Horizontal line, price touched the horizontal line (should alert immediately no need to wait until the candle close).
BR
Because indicators do not retain their variables on a timeframe change. With this indicator, you should avoid switching timeframes once you set it up.Why need I require re-entering the parameters each time when Switching to a different timeframe? For example, after I set up the PLA in the 1H timeframe, it disappears when I switch to the 4H timeframe.
So this method you explained will work?Because indicators do not retain their variables on a timeframe change. With this indicator, you should avoid switching timeframes once you set it up.
Unfortunately, that would require either converting it to an EA or adding a capability to save/load settings to files to it. At the moment, it isn't something I plan to do with this indicator.
//----Why need I require re-entering the parameters each time when Switching to a different timeframe? For example, after I set up the PLA in the 1H timeframe, it disappears when I switch to the 4H timeframe.
void CleanChart() { //ObjectsDeleteAll(0, IndicatorName); // <------ line 247 in mq5 if(deletelines) ObjectsDeleteAll(0, IndicatorName); // this additional input to allow indicator to work as before }
string AlertText = IndicatorName + " - " + Symbol() + ": Line " + IntegerToString(Line)+ " "+GetLineComment(LineNameFromNumber(Line)) + " has been hit."; string AppText = IndicatorName + " - " + Symbol() + ": Line " + IntegerToString(Line) + " "+GetLineComment(LineNameFromNumber(Line)) +" hit. " + GetLineComment(LineNameFromNumber(Line));
Sorry. I misunderstood the concept. If there is possible making this like an EA, That will be possible to make lots of adjustments. I value your time, It may take more time to create it as an EA.Which method?