| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Add push alerts to this indicator? https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4323 |
Page 1 of 1 |
| Author: | GT3RS [ Sun Jun 28, 2015 10:58 am ] |
| Post subject: | Add push alerts to this indicator? |
Hi all, I'm a complete coding luddite, so could really do with some help please!! I have an ADX dashboard [attached] which shows green for ADX sloping up and red for ADX sloping down. It has multiple timeframes and different values for ADX [7, 21, 42, 89, 144]. What would help me massively would be if someone could add the code for push alerts. I only need alerting when ALL ADX for one timeframe go green. So, for example, the M5 column shows 7, 21, 42, 89, 144 all as green - then I need an alert [only on candle close]. Would also be handy if it could plot something on price as well [a circle somewhere below/above price maybe?]. Many thanks for your assistance. Will gladly share how I am using this [with credits to the system originator]. |
|
| Author: | renexxxx [ Sun Jun 28, 2015 12:12 pm ] |
| Post subject: | Add push alerts to this indicator? |
I have added a few lines to your mq4 to send the push notications and to draw the labels on the chart. In order not to get bombarded with push notifications, the label will act as a flag to stop sending notifications for the same event. That flag will only be cleared if the ADX's line up for another timeframe. Edit: Added notificationFrequency (default: 1 hour (3600)), so there is only a maximum of 1 notification/hour |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|