Join our fan page
- Views:
- 11865
- Rating:
- Published:
- 2015.04.10 15:46
- Updated:
- 2017.03.15 11:44
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The risk manager controls and limits the overall loss for the account, and the loss for every deal.
It includes Trailing Stop for the account. When exceeding the preset values (in %) the open positions are closed by market orders. All pending orders are removed.
A balance check is performed once a day when the date changes. It uses the trade server time, i. e. the time of the last quote.
The EA has been tested on a real account for FORTS derivatives market and on a demo account MetaQuotes-Demo for FOREX.
Expert Advisor parameters:
- Day Risk % - maximum percentage of loss for a day.
- Deal Risk % - maximum percentage of loss for every deal. Zero value disables this function.
- Trailing Stop % - trailing stop percentage for a day profit.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/12641

A class for a transparent button.

This class is designed for creating interactive buttons with various states on a price chart.

The indicator shows the trend direction or the signal based on the ForexProfitBoost_2nbSign indicator.

The TrendlessAG indicator with the timeframe selection option available in the input parameters.