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