Multi time frame example by recursion – indicator MetaTrader 4

Multi time frame example by recursion - indicator for MetaTrader 4
The purpose of this indicator is to demonstrate newbie friendly way a structure of a multi time frame indicator based on recursion. A function which is responsible of the indicator calculation itself can be replaced easily. A functionality which is responsible of downloading of multi time frame data can also be utilized and if modified

Closing all open trades if all one symbol and one trade direction – script MetaTrader 4

Closing all open trades if all one symbol and one trade direction - script for MetaTrader 4
All open trades must be of same symbol and type, e.g. all GBPUSD and all BUY. This script will close out your position using one large trade to hedge your position then using CloseBy() function to close all trades against the one large trade until all trades are closed. There can be a maximum of

No Loss EA – No Indicator, No Price Action strategy for MetaTrader 4 – EA MetaTrader 4

No Loss EA - No Indicator, No Price Action strategy for MetaTrader 4 - expert for MetaTrader 4
As most of the indicators available in the market are lagging indicators that provide information after some time. This strategy eliminates the need to rely on indicators, candlestick patterns, chart patterns, or any price action. The EA employs a progressive system that I have been using for the past six months and have backtested for

pivots calculation based on pine script v4 – indicator MetaTrader 4

pivots calculation based on pine script v4 - indicator for MetaTrader 4
For MQL5 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