cm x

cm x
Download ALL MT4 scripts (422)
YouTube Video Thumbnail



Similar MetaTrader Tools

cm x

Info

The cm x is a Script for MetaTrader 4 that Первая публикация. Советник использует одноименный индикатор, созданный для демонстрации.

Usage

This tool is typically used for enhancing chart analysis and decision making.

Platform

This Script works exclusively on MetaTrader 4 (both build 600+ and newer versions).

Setup

Place the downloaded file in MQL4/Scripts folder via File ? Open Data Folder in MetaTrader 4.


How to Install and Use cm x

1. Installation: Move your script file into the MQL/Scripts directory and restart the platform.

2. Execution: Drag the script onto a chart; it will perform a one-time action, such as closing all open orders or clearing chart objects.

3. Editing: Use MetaEditor (F4) to modify code, click "Compile," and verify no errors appear in the terminal before running.

4. Removing: Scripts stop automatically, but you can remove them manually by right-clicking the chart and choosing "Remove Script."

Frequently Asked Questions

Q: How are scripts different from EAs? A: Scripts execute a single action and then stop; EAs monitor the market and trade continuously.

Q: Can I assign a hotkey to a script? A: Yes, right-click the script in the Navigator, select "Set Hotkey," and define your preferred keyboard shortcut.

Q: Why did my script stop? A: Scripts are designed to stop immediately after finishing their programmed command; this is normal behavior.

What this tool does

Первая публикация.

Typical Use Case

This Script excels in automated trading and technical analysis on MetaTrader 4.

Compatible Platform & Setup

This Script works on MetaTrader 4. Place the file in the MQL4/Scripts folder and restart the terminal.

Description & Settings

Related: notches indicator - another powerful script for MetaTrader 4 traders.

Первая публикация. Советник использует одноименный индикатор, созданный для демонстрации.

Also recommended: high n indicator - similar script with strong performance on MetaTrader 4.


Код прост. Нет фильтров для открытия позиций. Жесткий Мартин.

Внимание: не использовать на реальных счетах.

Параметры:

// Параметры ордера

extern int magik=12345; // Магик номер

extern int takeprofit=500; // Профит

extern double k_sl=0.75; // Коэффициент стопа

extern bool closeord=true; // Закрытие ордеров по сигналам

// Параметры лота

extern bool mm=true; // Использование ММ

extern double min_lot=0.1; // Минимальный лот

extern double risk=0.1; // Риск

extern double k=2; // Коэффициент ММ

// Параметры индикатора

extern int fx=12; // Быстрая

extern double kx=1.682; // Коэффициент медленной

extern double l_adx=18; // Уровень adx

extern double l_o=161.8; // Уровень открытия

extern double l_c=0; // Уровень закрытия


С включенным mm:

cm_x

alpari-standard1 (build 509)

Символ

eurusd (euro vs us dollar)

Период

15 Минут (m15) 2026.06.25 15:00 - 2026.10.15 11:14

Модель

По ценам открытия (только для советников с явным контролем открытия баров)

Параметры

magik=12345; takeprofit=500; k_sl=0.75; closeord=true; mm=true; min_lot=0.1; risk=0.1; k=2; fx=20; kx=2.55; l_adx=28; l_o=61.8; l_c=161.8;

Баров в истории

31139

Смоделировано тиков

62175

Качество моделирования

n/a

Ошибки рассогласования графиков

0

Начальный депозит

10000.00

Чистая прибыль

114455.45

Общая прибыль

180580.60

Общий убыток

-66125.15

Прибыльность

2.73

Матожидание выигрыша

277.80

Абсолютная просадка

683.94

Максимальная просадка

13568.00 (22.15%)

Относительная просадка

28.56% (10128.93)

Всего сделок

412

Короткие позиции (% выигравших)

196 (37.24%)

Длинные позиции (% выигравших)

216 (49.54%)

Прибыльные сделки (% от всех)

180 (43.69%)

Убыточные сделки (% от всех)

232 (56.31%)

Самая большая прибыльная сделка

67840.00

убыточная сделка

-6600.00

Средняя прибыльная сделка

1003.23

убыточная сделка

-285.02

Максимальное количество непрерывных выигрышей (прибыль)

6 (1472.17)

непрерывных проигрышей (убыток)

8 (-10510.85)

Максимальная непрерывная прибыль (число выигрышей)

67840.00 (1)

непрерывный убыток (число проигрышей)

-10984.38 (5)

Средний непрерывный выигрыш

2

непрерывный проигрыш

2

Без ММ:

cm_x

alpari-standard1 (build 509)

Символ

eurusd (euro vs us dollar)

Период

15 Минут (m15) 2026.06.25 15:00 - 2026.10.15 12:59

Модель

По ценам открытия (только для советников с явным контролем открытия баров)

Параметры

magik=12345; takeprofit=500; k_sl=0.75; closeord=true; mm=false; min_lot=0.1; risk=1; k=2; fx=25; kx=2.09; l_adx=29; l_o=61.8; l_c=161.8;

Баров в истории

31146

Смоделировано тиков

62189

Качество моделирования

n/a

Ошибки рассогласования графиков

0

Начальный депозит

1000.00

Чистая прибыль

935.65

Общая прибыль

8291.25

Общий убыток

-7355.60

Прибыльность

1.13

Матожидание выигрыша

2.33

Абсолютная просадка

174.77

Максимальная просадка

1136.40 (38.73%)

Относительная просадка

38.73% (1136.40)

Всего сделок

401

Короткие позиции (% выигравших)

194 (37.11%)

Длинные позиции (% выигравших)

207 (48.31%)

Прибыльные сделки (% от всех)

172 (42.89%)

Убыточные сделки (% от всех)

229 (57.11%)

Самая большая прибыльная сделка

135.00

убыточная сделка

-108.75

Средняя прибыльная сделка

48.20

убыточная сделка

-32.12

Максимальное количество непрерывных выигрышей (прибыль)

5 (185.29)

непрерывных проигрышей (убыток)

9 (-251.46)

Максимальная непрерывная прибыль (число выигрышей)

302.12 (4)

непрерывный убыток (число проигрышей)

-362.03 (4)

Средний непрерывный выигрыш

2

непрерывный проигрыш

2

You may also like: automated economic calendar trading advisor - excellent alternative for script users on MetaTrader 4.

Source Code

extern int magik=12345;       //  .
extern int takeprofit=500;    // .
extern double k_sl=0.75;      // . .
extern bool closeord=true;    //    .
extern bool mm=true;          //  .
extern double min_lot=0.1;    //  .
extern double risk=0.1;       // .
extern double k=2;            // . 
extern int fx=12;             // .
extern double kx=1.682;       // . .

.......

Leave your opinion, ask a question, share some knowledge

Limitations & Risk Warning

  • This tool is provided for educational and testing purposes only.
  • Past performance does not guarantee future results.
  • Trading involves substantial risk of loss. Use on a demo account first.
  • Results may vary depending on market conditions, broker, and settings.
  • We recommend thorough backtesting and forward testing before using with real funds.
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.