Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

DirectCandlesCounter - MetaTrader 5 Script - MT4/MT5 Resource

author EAcpu | 3 reads | 0 comments |

DirectCandlesCounter - indicator for MetaTrader 5

Real author: Khristov Vladimir

The indicator shows moments when multiple one-way candles appear in a row, activating alerts and sending email and push notifications.

 //+------------------------------------------------------------------------+
//|Indicator input |
//+------------------------------------------------------------------------+
Enter the total number of candles per unit = 3 ; //The number of one-way candles
Input unit bar number = 1 ; //The number of bars to transmit the signal
Input boolean sound on = true ; //Allow alerts
Input unit alarm number = 2 ; //Alarm number
input boolean email-on = false ; //Allow signaling via email
input boolean pressed = false ; //Allow signaling to mobile devices

The original indicator was developed in MQL4 language and published in the code base on January 31, 2017.

DirectCandlesCounter - indicator for MetaTrader 5

Figure 1. DirectCandlesCounter indicator


Attachment download

📎 directcandlescounter.mq5 (24.92 KB)

Source: MQL5 #21389

Verification code Refresh