Requirement: Recode the attached indicator as follow
1) when the original indicator has an alert (based on closing of a candle), don't trigger an alert, instead, check the previous SAME color signal and if and only if the high of the candle of the current signal is higher than the high of the candle of the previous signal (same color and direction) AND the low of the current candle of the current signal lower than the low of the candle of the previous signal, then it trigger an alert
The attached picture shows everything and there are only 3 valid signals will be triggered
2) once the alert is trigger, check the time period (manual input) and only if the signal is triggered within the time period, then it send out an email.
3) update the code so there is no "expiry" date
Time period from: 04
time period end: 20
Email: yes (default) (please note I can choose without email and still can see the alert on screen)
Alert yes (default)
Display on the screen:
Alert message: "Buy signal, currency, current price, high of signal candle, low of signal candle(S0), high of pervious signal, low of previous signal"
At the left hand top corner, show the previous real signal, the highest and the lowest price after the real signal
Email message: same as alert message.
Same for bearish signal
If you have any enquiry, please email me.