What we need to do is to inform the computer to detect the Doji pattern by defining the prices and time of the last candle and every tick we need the program to check and compare these values at this defined time and determine the positions of everyone. If the open is equal to the cl...
Facebook announced the integration of API for bots into the Messenger. The same day a major update for the Telegram Bot Platform was released. Version 2.0 has pleasantly surprised with its functionality. It seems that bots that used to be popular in the ICQ era are now experiencing a comebac...
The user has the right to know about such a situation. 2.4.2. Function of orders selection This function must choose the orders, depending on the symbol for further work with them. In this case, since we broadcast only the open positions, the orders must also be filtered so as not to ...
An Expert Advisor allows you to implement the trade system for automated trading (the trading operations can be performed without a trader). An Expert Advisor can perform trade operations, open and close positions, and manage pending orders. Indicator - is a program that allows to present data ...
TheCExpertMoneybase class actually has no built-in algorithm for calculating the volume for opening long positions. The base class method always returns the minimum volume possible for a financial instrument. 1.2.2CheckOpenShort TheCheckOpenShort()method calculates the volume for opening a short posi...
positions are executed by the Ask price. When you trade in your mind, taking the spread into account is inconvenient, but we can always take the total result of the trade and subtract from it the number of trades, multiplied by the spread - it will bring the results closer to the ...
(or open position with this level set). Setting the Stop Loss is done using the "Modify" context menu command in terminal. In the list of positions select a position, right click and choose "Modify or Delete". Then in position dialog box you need to enter the necessary level of Stop ...
Confirmation to close Buy positions — macd_current>close_level Confirmation to close Sell positions — Abs(macd_current)>close_level 8. Close by Take Profit— during position opening, a Take Profit level is set at a fixed distance from the open price, specified in points. The value is set...
is adjusted to the window width adjusts the window height to fit the panel An example of the indicator panel [data folder]\MQL5\Indicators\Examples\Panels\SimplePanel\SimplePanel.mq5 after creation and minimizing: CreateExpert creates a panel in the main window (the window number is 0) and...
A program can only be purchased from the MetaTrader platform and on the MQL5.com website. Upon purchase, a special product version with an additional protection is created for each user. The product is bound to the computer from which it was purchased and thus it can only run on this spec...