pivots calculation based on pine script v4 – indicator MetaTrader 5

MT5 Pivots
For MQL4 version please click here. pine script v4 function I/O : pivothigh(source, leftbars, rightbars) → series[float] pivotlow(source, leftbars, rightbars) → series[float] This indicator includes two simple functions to calculate the pivotshigh and pivotslow functions based on pine script. The functions can be used as copy and paste snippet in conversion projects from tradingview platform. Note: The … Read more

Connect Disconnect Sound Alert – EA MetaTrader 5

Connect Disconnect Sound Alert - expert for MetaTrader 5
This utility is simple example to add sound alert on connect / disconnect Add sounds wav files inside MQL5FilesSounds folder Copy the code and compile the EA Utility, the attached file has commented lines as using of #resource makes uploading impossible //+——————————————————————+ //|                               Connect_Disconnect_Sound_Alert.mq5 | //|                                Copyright 2024, Rajesh Kumar Nait | //|                  https://www.mql5.com/en/users/rajeshnait/seller | //+——————————————————————+ #property … Read more

wd.Multi_ClockPrice lite! – indicator MetaTrader 5

wd.Multi_ClockPrice lite! - indicator for MetaTrader 5
The MT5 custom indicator, named “wd.Multi_ClockPrice lite!”, is the lite version of “wd.Multi_ClockPrice”.   “wd.Multi_ClockPrice lite!” is designed to provide a visual representation of the MT5 terminal server time and bid price on the chart. It contains basic features for displaying clock and price information. The clock display using OnTimer() event function, updates the server … Read more

Open Trade – script MetaTrader 5

Open Trade - script for MetaTrader 5
This function executes the primary logic for initiating a trade. Computes the opening price, take-profit levels, and stop-loss based on symbol information and user-provided parameters. Prepares a trade request (MqlTradeRequest) with essential details such as symbol, volume, order type, deviation, comment, magic number, etc. Invokes the OrderSend function to dispatch the trade request and obtain … Read more

wd.Range_BB – indicator MetaTrader 5

wd.Range_BB - indicator for MetaTrader 5
The MT5 custom indicator, named ‘wd.Range_BB,’ is designed to display Bollinger Bands with customized colors and line styles on the chart and calculate the range bandwidth. The range bandwidth is the difference in pips between the upper and lower Bollinger Bands. Here’s how the indicator works:   Bollinger Bands Settings: These parameters allow users to … Read more

Moving Averages-14 different types – indicator MetaTrader 5

Screen
This is an indicator to calculate 14 types of moving averages based on close price. The calculations are mostly based on pine script libraries.  Types included are:     SMA, EMA, WMA, VWMA,    RMA, DEMA, TEMA, ZLEMA,    HMA, ALMA, LSMA,    SWMA, SMMA, DONCHIAN Moving Averages-14 different types – indicator MetaTrader 5

Candle Fitness – indicator MetaTrader 5

Candle Fitness - indicator for MetaTrader 5
Candlestick Fitness concept is used in coding HFT Algos based on population optimization algorithms. This simple indicator hides those candles which are unfit e.g. body range (open-close of bear or close-open for bull) is not 75% of upper or lower wick range the percentage of body wick comparison 75% is set by default input parameter … Read more