Reverse Trades For All Symbols Script – script MetaTrader 4

Reverse Trades For All Symbols Script - script for MetaTrader 4
The strategy implemented in the script “Reverse_Trades_For_all_Trades_and_Symbols_V1.mq4” reverses all open trades for all symbols on the trading platform. When executed, the script iterates through all open trades, closing each one and opening an opposite trade for the same symbol. This effectively reverses the direction of each trade, allowing traders to profit from changes in market … Read more

All Market Symbols and Data extraction script – script MetaTrader 4

All Market Symbols and Data extraction script - script for MetaTrader 4
Description: Reads all available instruments and their characteristics and generates an HTML report. Positive Swaps are highlighted. Drag and drop the script on whatever chart. To visualize the report, just open it with your browser. (Its file is contained in the “/experts/files/” folder). An example of the Report can be found here . All Market … Read more

Spread Of Symbols – indicator MetaTrader 5

Spread Of Symbols - indicator for MetaTrader 5
Description: Indicator input parameters: Symbol1 and Symbol2 – symbols for calculation of prices difference and displaying it as a chart. AUDUSD and NZDUSD by default. mass_of_symbol1 and mass_of_symbol2 – quantitative ratio of trading symbols. Both parameters are equal to 1 by default. If you want to calculate the sum of symbols, put -1 to mass_of_symbol2 … Read more

KILL ALL ORDERS (All Symbols) – script MetaTrader 4

KILL ALL ORDERS (All Symbols) - script for MetaTrader 4
Author: David Thomas – aka: CodeMonkey irc: chat.ircforex.co (#mqldev, #forex) (Yes that is suppose to be a .co domain.) Someone needed a quick way to close all the orders in the basket, both pending and live. Place this script in your \experts\scripts folder. Then you can either assign a hot-key to it, or just drop … Read more

Heatmap, Gradient and Scale representation of symbols – indicator MetaTrader 4

Heatmap, Gradient and Scale representation of symbols - indicator for MetaTrader 4
The purpose of this code is to demonstrate how easy it is to create color scales, color gradients and heatmaps with the MQL4 language and functions. In order to facilitate things, we will work with the RGB color model and the standard conversion function StringToColor. Other color conversion methods can be implemented in MQL4, however … Read more

Export Summary Grouped by Symbols – script MetaTrader 5

Export Summary Grouped by Symbols - script for MetaTrader 5
The script exports summary of closed trades selected between two dates grouped by each currency pair. The resulting file is CSV that can be opened/imported with any spreadsheet software. To export summary for the entire trading history, keep Start date and End date at their default values. The CSV file is located at: Terminal > … Read more