fxsaber
fxsaber
OrderSend - синхронизированный.
fxsaber
fxsaber
Commento all'argomento Как правильно работать в MT5 с OrderSend
Выдрал из библиотеки сюда синхронизированный OrderSendSync uint OrderSend_MaxPause = 1000000 ; // максимальное время на синхронизацию в мкс. const bool IsTester = (:: MQLInfoInteger ( MQL_TESTER ) ||
POSITION_COMMISION
fxsaber
fxsaber
Commento all'argomento Как узнать размер комиссии не открывая позицию по инструменту?
Andrey Dik : Сломал вот клавиатуру, процентов 45 клавиш не работает теперь после удара кулаком. Набираю со смартфона. Использую библу, как справочник. Сначала проверил, что работает #include
ObjectCreate - логика индексирования.
fxsaber
fxsaber
Commento all'argomento Как узнать имя последнего созданного объекта?
Tango_X : Общее кол-во обьектов не совпадает с индексом последнего добавленного объекта на графике,(MQL их сортирует по своему!) Немного разобраться в логике индексирования может помочь этот советник
OnTradeTransaction - распечатка события.
fxsaber
fxsaber
Commento all'argomento MetaEditor build 1490
#include <MT4Orders.mqh> // https://www.mql5.com/ru/code/16006 bool FirstRun = true ; void OnTick () { if (FirstRun) { const double Price = SymbolInfoDouble ( _Symbol , SYMBOL_ASK );
Триггер SL/TP.
fxsaber
fxsaber
Commento all'argomento MetaEditor build 1490
Рабочий вариант для реала (не для тестера) void OnTradeTransaction ( const MqlTradeTransaction &Trans, const MqlTradeRequest &Request, const MqlTradeResult &Result ) { if ((Trans.type ==
fxsaber
Codice pubblicato ZoomPrice tick indicator
The indicator shows the price chart of any scaling level.
fxsaber
Codice pubblicato Ticks indicator
It shows the tick price history (Bid/Ask) within all visible bars.
fxsaber
Codice pubblicato TypeToBytes
Byte-wise operation with structures and standard data types.
fxsaber
Codice pubblicato TypeToBytes
Byte-wise operation with structures and standard data types.
fxsaber
Codice pubblicato Price_Compare
Elegant and nimble comparison of 'double' values of the "price".
fxsaber
Codice pubblicato Price_Compare
Elegant and nimble comparison of 'double' values of the "price".
fxsaber
Codice pubblicato SlipPage
Calculation of slippages of the performed deals in account currency.
fxsaber
Codice pubblicato MT4Orders
Parallel use of the MetaTrader 4 and MetaTrader 5 order systems.
fxsaber
Registrato sulla MQL5.community