Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 5198
- Rating:
- Published:
- 2015.12.11 11:10
- Updated:
- 2015.12.17 12:45
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The function closes all locked orders. This really saves money on the spread.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/14278

Implementation of a trading system based on divergence detection.

The indicator registers the price level breakout moments and the significance of these levels.

The function returns the lot size, which is calculated based on the stop loss size and the risk specified in the variable.

The script analyzes the market based on two criteria: the moving averages and the support and resistance levels.