Lavoro terminato
Specifiche
Hello Programmer,
based on the existing Swing-Line indicator (https://www.mql5.com/de/code/16751) ...
The indicator SwingLine have to included with three different timeframes (Low, Mid and High TF) - Timeframe have to be selected by parameters. The line colors of each TF can be customized. High and Mid TF should work on current candle (refreshs all periods by LTF), Low TF should work on closed candle
An alert (Message on screen and sound) have to created if the Mid and High TF have the same Color (same trend) and the low TF have the other color (eg. High TF Green, Mid TF Green, Low TF changed from green to red -> Message and Sound)
Additional to the Alert i need a Text on the Chart Screen:
On the Chart Screen should be a Big Text (Left upper corner - x and y adjustable) about the current trend of all three TF looking in same direction (High and Mid TF should work on current candle (refreshs all periods by LTF), Low TF should work on closed candle)
Print "Bullish Trend follow" in Green on chart if all three TF looking in bullish direction
Print "Bearish Trend follow" in Red on chart if all three TF looking in bearish direction
Print "Wait for Long Entry" in Yellow if High and Mid TF are Bullish and Low TF is bearish
Print "Wait for Short Entry" in Yellow if High and Mid TF are Bearish and Low TF is bullish
Parameters
- High TF
- Mid TF
- Low TF
- Alert On/Off
- Message