Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Libraries

MQL4/5-JsonLib - library for MetaTrader 5

ding9736
Published by:
hini
Views:
185
Rating:
(3)
Published:
Updated:
\MQL5\Include\Json\Core\
JsonCore.mqh (2.79 KB) view
JsonMapper.mqh (0.8 KB) view
JsonNode.mqh (11.02 KB) view
JsonPath.mqh (17.96 KB) view
JsonQuery.mqh (2.32 KB) view
JsonStream.mqh (6.66 KB) view
JsonTypes.mqh (7.35 KB) view
JsonUtils.mqh (3.35 KB) view
\MQL5\Include\Json\
JsonLib.mqh (14.84 KB) view
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The original library only supports MQL5, but I made some modifications to support MQL4. You can test the MQL4 version by copying the test script and changing the suffix to mq4.

Original author link: https://www.mql5.com/en/code/62735



Open Trade Open Trade

This function performs the main logic of opening a trade. It calculates the opening price, take profit levels and stop loss based on the symbol information and parameters provided by the user. Prepare a trade request (MqlTradeRequest) with the necessary information such as symbol, volume, order type, slippage, comment, magic number, etc. Call the OrderSend function to send the trade request and get the result. SetTypeFillingBySymbol function: determines the order fulfilment type (Fill or Cancel, Immediate or Cancel or Return) according to the symbol's fulfilment policy. GetMinTradeLevel function: calculates the minimum trade level based on the freeze level and stop level of the symbol. Adjusts the minimum level to ensure that it is within certain limits and returns the result.

ATR_Momentum_Colour ATR_Momentum_Colour

combination of many familiar indicators for beginner traders

TickCompressor - with compression of 1 tick to 2-3 bytes on average TickCompressor - with compression of 1 tick to 2-3 bytes on average

Compression of tick data for storage in a compact form up to 3.5 times more compact than .tcs MQ files. And for fast work with them, because reading 3 bytes takes less time than reading 60 bytes of MqlTick structure.

MACD Signals MACD Signals

Indicator edition for new platform.