• Overview
  • Reviews
  • Comments (2)

Formula Calculation

Библиотека для расчета формул.

Формула задается строкой. Можно задавать формулу в строковой переменой в окне свойств.

Формула может включать арифметические действия "+-/*" и все функции кроме MathRand(): abs(), arccos(), arcsin(), arctan(), sin(), cos(), tan(), exp(), log(), mod(), max(), min(), pow(), ceil(), sqrt(), log10(), floor(), round(). Кроме этого в формулу могут входить числа (если число дробные, то разделитель точка) и аргументы. Аргумент начинается с буквы "а" (латинская) и номера, например: "a0", "a1" и т.д. 

Пример формулы: "sqrt(a1*log10(a0))*a2+10.5". Имейте ввиду, что формула может быть любой, а это только пример.

Импорт библиотеки:

#import "Market//Formula Calculation.ex4"
   int AddFormula(string Formula);
   void FormulaSetArgument(int FormulaIndex,int ArgumentIndex,double ArgumentValue);
   bool FormulaSolve(int FormulaIndex,double & Result);
   void FormulaFreeAll();
#import

Описание функций библиотеки:

int AddFormula(string Formula) - функция для добавления формулы в библиотеку. Вызывается при инициализации эксперта или индикатора, в котором используется библиотека. Функция возвращает индекс формулы, который надо указывать при вызове других функций библиотеки. Функция расчета формулы, по принципу работы, не является текстовым интерпретатором. При вызове функции AddFormala() происходит ее анализ и построение иерархии классов, при помощи этой иерархии и происходит расчет формулы, что обеспечивает очень высокую скорость расчета. 

void FormulaSetArgument(int FormulaIndex,int ArgumentIndex,double ArgumentValue) - функция для установки значений аргументов.

Параметры: 

int FormulaIndex - индекс формулы, полученный при вызове функции AddFormula().

int ArgumentIndex - индекс аргумента (число стоящее после буквы "а" в имени аргумента).

double ArgumentValue - значение аргумента.

bool FormulaSolve(int FormulaIndex,double & Result) - расчет формулы. Возвращает true при успешном расчете, false - при ошибке в расчете (деление на 0 и т.п.).

Параметры: 

int FormulaIndex - индекс формулы, полученный при вызове функции AddFormula().

double & Result - переменная для результата расчета. 

FormulaFreeAll() - удаление всех формул. Вызов функции приводит библиотеку в исходное состояние.

Пример использование библиотеки: 

//+------------------------------------------------------------------+
//|                                                 sFormulaTest.mq4 |
//|                        Copyright 2019, MetaQuotes Software Corp. |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2019, MetaQuotes Software Corp."
#property link      "https://www.mql5.com"
#property version   "1.00"
#property strict

#import "Market//Formula Calculation.ex4"
   int AddFormula(string Formula);
   void FormulaSetArgument(int FormulaIndex,int ArgumentIndex,double ArgumentValue);
   bool FormulaSolve(int FormulaIndex,double & Result);
   void FormulaFreeAll();
#import

//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart(){

   double r=0;

   int f01=AddFormula("sqrt(a1*log10(a0))*a2+10.5");
   
   if(f01==-1){
      Alert("Ошибка формулы");
      return;
   }
 
   FormulaSetArgument(f01,0,10000);
   FormulaSetArgument(f01,1,25);
   FormulaSetArgument(f01,2,2);
   
   if(!FormulaSolve(f01,r)){
      Alert("Ошибка расчета");
      return;      
   }
   
   Alert("Результат1: "+(string)r);
   
   FormulaSetArgument(f01,0,20);
   FormulaSetArgument(f01,1,30);
   FormulaSetArgument(f01,2,40);
   
   if(!FormulaSolve(f01,r)){
      Alert("Ошибка расчета");
      return;      
   }
   
   Alert("Результат2: "+(string)r);   
   
    
   FormulaFreeAll();
 
}
//+------------------------------------------------------------------+


Recommended products
Eurosmart Pro  is a smart indicator of detecting trends,  contains two intelligences. first is intelligence detects trends, and filter on the indicator can function to eliminate false signals. This indicator allows you to open trading easily and accurately. all indicator features are easy to use and easy to understand. Trading Rule: Pair   : EURUSD, EURJPY Trading Sesion : London and New York Sesion Time Frame : M30/H1 Stop Trading : Sideway Market  and High news impact (NFP, ECB) Open BUY : Ca
30 USD
Divergence MTF
Vyacheslav Korolev
5 (1)
Multi-timeframe indicator Divergence MTF This indicator shows divergences/convergences of price chart and author's indicators on several timeframes. For your convenience, we have added arrow UP to BUY and arrow DOWN to SELL. Also, this indicator can be used for reversal signals or a strong correction (when using D1 and above). My team have used divergences to trade in market for a long time, and its has been proved to be only on the positive side. Attention! This indicator does not repaint, its
35 USD
Actual Levels
Ilya Fomin
4 (1)
The indicator shows significant support and resistance levels. When the price approaches these levels, it in some way responds either to the levels themselves, or to the areas that are near these levels. These levels can be viewed as potential reversal zone. Accordingly, the levels can be used for performing trading operations or closing previously opened positions. For example You can buy if the price rolls back from the support level upwards, or sell if the price rolls back from the resistan
99 USD
Replicator
Aleksej Shcherbak
The program is designed for copying your successful orders. The price is often fluctuates within a channel. But there is no time to monitor the terminal and place the next orders, especially if it happens at night. Place an order, when it closed with profit, the program repeats your order as a pending limit order. This will continue until the order closes with a loss, or the price goes too far away and the pending order will not trigger. An offset is provided for inclined channels. The order wil
30 USD
The input parameters are optimized for H4. START BUY / START SELL  - input to Buy / input to Sell PROFIT 1  - basic earnings PROFIT 2  - average profit PROFIT 3  - big profit STOP LOSS  - setting stop loss   Input Parameters period = Period bmethod = Method bprice = Price (Close, Open....etc.)
55 USD
Inside Bars
Paul Geirnaerdt
5 (1)
The Inside Bars indicator shows Inside Bars, the Breakout Zone and Breakouts thereof. Inside Bars are an important price action pattern. The price action of an Inside Bar is completely covered by the price action of the previous bar. Inside Bars are most often used on higher timeframes. Settings Inside Bars default settings are good enough most of the time. Feel free to fine tune them to your needs. ATR factor to skip large candles - very large candles should be filtered as they often cover othe
30 USD
Volume Spread Analysis Indicator based on the methodology VSA developed originally by Richard Wyckoff and then computerized and further developed by Tom Williams. The Indicator work best on low TF. General Rules Arrows: Arrows below a bar mean strength Arrows above a bar mean weakness Colors: YellowGreen, Green - signals of strength Magenta, Red - signals of weakness Yellow - signal of caution YellowGreen is stronger signal than green  Magenta is stronger signal than red
FREE
This Histo indicator compares the Chikou Span to Ichimoku Kumo. When Histogram is Green the Chikou Span is above the Kumo. When Histogram is Red the Chikou Span is below the Kumo. When Histogram is Blue the Chikou Span is Inside the Kumo. We can,also Filter the excess of Chikou Span (Price)with: Chikou Applied Chikou Period Chikou Mode Defaults: ChikouApplied = 0 (Close) Chikouperiod = 1 ChikoouMode =0
35 USD
Quiet Moon
Evgenii Kuznetsov
3.92 (25)
Multicurrency scalper, works at night time, performing short trades during low volatility. For trading to be profitable, a broker with low night spreads is required. Working timeframe: M15 Working on a real account: Type2  https://www.mql5.com/en/signals/245053 Mix  https://www.mql5.com/en/signals/363093 Recovery Mix   https://www.mql5.com/en/signals/493519 set files - see signal description Installation instruction  https://www.mql5.com/ru/blogs/post/721443 Input parameters MagicNumber –
145 USD
Signals 3 MACD
Alexander Nikolaev
The trading system is based on crossing 3 signal lines (with different parameters) of the MACD indicator. When all the lines are increasing, a buy order is opened (the opposite - sell order). The CCI indicator is required to avoid buying at the highest price but to but when the price decreases a bit, but there is still an uptrend. Also, the Stochastic and ATR serve as additional filters. The EA s easy to set up, but at the same time it shows good results on the short-term 5-minute timeframe. It
10 USD
Rectangle control
Dmitriy Sapegin
4 (1)
Rectangle Control простой индикатор который отображает на графике панель для рисования прямоугольников с различными настройками, будет удобен тем кто рисует на графике зоны поддержки, сопротивления. Прямоугольник можно нарисовать с заливкой или без, различной толщины и цвета. А также выбрать таймфрейм на котором нарисованный прямоугольник  будет отображаться. При нажатой кнопке алерт будет срабатывать оповещение (если прямоугольник находиться ниже цены на верхнем его краю, если прямоугольник нах
FREE
Night Lottery EA Lite MT4
WebTech Media Ltd
4.2 (5)
The Night Lottery EA Lite is a fully automated Expert Advisor that trades at night and relies on price reversion. The EA trades using market orders and uses time averaging to improve performance. This EA works best on EURUSD using the M5 timeframe. A VPS is advisable when trading this system. Check the comments for back test results and optimized settings. This is a lite version of the Night Lottery EA - https://www.mql5.com/en/market/product/31086 Forward testing signals - https://www.mql5.c
FREE
Hero
Davide Viavattene
Hero is a P/L Manager. This is not an Automatic Trading system. It's an EA that helps managing positions opened by another EA or manually. This EA includes the following functions (each of them can be enabled or disabled): Profit management by Money or Percentage (calculated using Margin) with Trailing stop option The EA will monitor positions selected using Magic number (Magic) to reach a profit. Once it is reached, it'll close the position. If you enter a value for Profit_Perc ( % ), the syste
10 USD
The Powerful Of Confluence Trading Methodology This is a Complite tool  dedicated to Technical Analyst , unique advanced trading system and we make it as   simple  as possible,  Combination   between Elliott Wave, Harmonic Pattern, Fibonacci Pivot Points, Quarters Points ( Round Numbers ) Average Daily Range, and Current candle strength meter, All glue together to make your trading more successful than ever Will be very useful for those of you who trade counting Elliott Wave using Chaos theo
162 USD
OHLC LINE
Aida Chavez
4.67 (3)
This indicator displays Open, High, Low and Close prices of the chosen period (day, month, week, year) on the chart. The lines are accompanied by the time periods they belong to. The lines are drawn on all the candles since the initial date (INITIAL DATE). You can use this indicator to draw support and resistance levels. PERIOD - the time of the candle you want to analyze INITIAL DATE - the date you want to plot the lines from OPEN - set to TRUE if you want to plot the Open price of the selec
FREE
Dragnet Grid
Iurii Tokman
Dragnet Grid   The Expert Advisor works with a grid of pending orders. Flexible configuration of the EA allows simultaneous placing of limit and stop orders, as well as separate ones. Moreover, there can be only one type of orders in the market that are above or below the current price. Description of the advisor settings: ____1____ Stop Orders - informational setting; Grid_Stop_BUY - enable or disable the grid for BUY STOP orders above the current price; Grid_Stop_SELL - enable or disable the g
3 199 USD
MT4 Telegram Signal
Ugur Oezcan
4.29 (14)
!!! New faeture sending Signals as VIP SMS with ASPSMS.COM !!! New faeture sending Signals as VIP EMAILS MT4 Telegram Signal is tool, which sends selected trades via magic number to telegram channel, sms and email to user. Tool sends trades when open and close with chart to telegram chanel. It also sends every modification from trades to telegram. Tool can send multiple charts and magic numbers and pairs from a single chart. For this you have to fill in on the chart corresponding magic number
FREE
Account Export
Ziheng Zhuang
4.5 (2)
This is a MetaTrader 4 script. It helps to export all trades into a CSV file as per Symbol and selected periods. Input Select Symbol: This is 2-option input. Select current symbol or all symbols to export its orders. Select Period: This is 7-option input. It includes Last Month, This Month, Last Week, This Week, Today, All History, and Date Specified. Specify Starting Date: Enter a date if you selected Date Specified in "Select Period" input. Specify Ending Date: Enter a date if you selected D
FREE
Squirrel Trader Pro
Michela Russo
5 (6)
Squirrel Scalper Pro is a trading robot  for the trading on Indices. This is a Trend Following system.   Backtest Now! This Expert advisor not use   arbitrage, grid, martingale or other dangerous strategy , All Trades are covered by  StopLoss and TakeProfit . Important Information Revealed By  purchasing  this Expert Advisor you are entitled  to receive a free copy  of   Panther Trader Pro ! (All future updates included) -> To Receive it, Please Contact me by   mql5 message   or email ! The
399 USD
SFE Asian MT4
Joel Juanpere
This sytem trades at the beginning of the Asian session. It detects small deviations and enters in the contrary direction trying to close the operation in the level before that deviation happens. If the operation does not close with profit during the stagnation hours, the EA tries to exit in a favourable condition in the next hours, before the European session opens again. The MT5 version uses the built in mql5 Calendar to filter out new trades on News events realted with the currency. Signal
900 USD
Make trades on symbols which are corelated not making any sense. So what if we can check, which of symbols are not corelated to each other and are oposit in current trend. For this simple and quick analyze you can use this utility. Simply run and see list of symbol pairs which are oposit to each other. Results of analyse will be printed in Strategies log. Duplicity A -> B == B -> A is not displayed.  You can specify   period   for which will be calculated trend (Daily,Hourly,Mothly), choice d
FREE
EZ Volchok
Ruslan Brezovskiy
5 (5)
EZ Volchok is a fully automated grid expert advisor that opens orders at moments of a trend reversal. The basis for finding the entry points are the author’s indicators based on Moving Average and Bollinger Bands. If the price moves in the opposite direction of the deal, the grid system will control the trading process. Benefits and features Fully automated and does not require extra attention Suitable for working with any brokers Minimum recommended deposit is $ 1000 There is a function to aut
149 USD
Indicator function Please set the level line with a value of 0 and buy and sell at the level line of 0 It is best to use 1H for testing   About update questions In order to be more suitable for market fluctuations, the company regularly updates the indicators   Product cycle and trading time applicable to indicators Applicable mainstream currency pair EUR/USD GBP/USD NZD/USD AUD/USD USD/JPY USD/CAD USD/CHF Applicable mainstream cross currency pair EUR/JPY EUR/GBP EUR/CHF EUR/CAD EUR/NZD AUD/CAD
129 USD
FXC iDeM-DivergencE MT4 Indicator This is an advanced DeMarker indicator that finds trend-turn divergences on the current symbol. The indicator detects divergence between the DeMarker and the price movements as a strong trend-turn pattern. Main features: Advanced divergence settings Price based on Close, Open or High/Low prices Give Buy/Sell open signals PUSH notifications E-mail sending Pop-up alert Customizeable Information panel Input parameters: DeM Period: The Period size of the DeMarke
69 USD
Megatron
Marek Kvarda
This trading robot analyzes market conditions in detail in the current time and in the recent past. It uses advanced methods of measuring volatility and spread. At the right time, it places several pending orders in the trend with short expiration. Every trade is secured by a small StopLoss. Lowest fees and slippage ensure best results. The distance of pending order and StopLoss distance must not be limited by the broker! Settings Magic – EA identification number Comment - Text commentary for
3 400 USD
Visual Trader
Robert Rutherford
3 (3)
Want to see your trading system visually on a chart? Visual Trader allows you to see your historic and live trades entry and exit points. See all your trades Analyse your system It is a very useful forex tool as it shows the trades in the same way as they are shown on a back-test. It is great for analysis of your trading system as you get to see how the entry and exit points match your indicators and chart shifts. You will see a red arrow and corresponding line for your sell trades and a blue ar
FREE
FXwave
Aleksey Yagneshko
Fully automated program for FOREX trading. The operation algorithm is based on strict following a price movement (trend) avoiding unprofitable positions. Virtual Take Profit and Stop Loss levels fix profit and limit possible losses. The Trailing Stop function allows to fix any sign of market movement. The FXwave EA can trade both at the specified time of a day and percentage of the deposit. The EA can work with pending orders and market execution. It uses elements of the Martingale method to mi
200 USD
FXC iMACD-DivergencE MT4 Indicator This is an advanced MACD indicator that finds trend-turn divergences on the current symbol. The indicator detects divergence between the MACD and the price movements as a strong trend-turn pattern. Main features: Advanced divergence settings Price based on Close, Open or High/Low prices Give Buy/Sell open signals PUSH notifications E-mail sending Pop-up alert Customizeable Information panel Input parameters: MACD Fast-EMA: The Fast-EMA variable of the MACD
69 USD
Peregrine Scalper EA
Cutting Edge Forex LLC
Sophisticated   cutting edge algorithms are the heart of this professional fully automated trading system. Unique ability to identify key supply and demand areas using our in-house sophisticated "Time Strength" algorithm that calculates how strong supply and demand areas are as they move into the past. The areas with the highest likelihood for profitable scalping are identified and traded. Coded by professionals with over 12 years trading and system development for professional traders and hedge
19 999 USD
The Time Session indicator offers a unique opportunity to mark the required time intervals on a trading chart. It will be useful for those who trade at certain hours and get confused when deciding whether or not it is time to start trading. The Time Session indicator will also be handy in backtesting, allowing you to monitor the chart behavior over the specified time period. Settings: StartTimeSession - Session start time. EndTimeSession - Session end time. CountBars - Number of bars based on wh
10 USD
Buyers of this product also purchase
MetaCOT 2 CFTC ToolBox is a special library that provides access to CFTC (U.S. Commodity Futures Trading Commission) reports straight from the MetaTrader terminal. The library includes all indicators that are based on these reports. With this library you do not need to purchase each MetaCOT indicator separately. Instead, you can obtain a single set of all 34 indicators including additional indicators that are not available as separate versions. The library supports all types of reports, and prov
95 USD
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 4. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a csv-file and some special global variabl
85 USD
An easy to use websocket library for MQL4. It supports: ws:// and wss:// (secure websocket) text and binary data automatic ping-pong handling on protocol level (keep-alive protocol hand shake) automatic fragmented message handling on protocol level (large data transfer enabled) ================================================== ATTENTION:  PLEASE CONTACT SELLER BEFORE PURCHASE. Due to the nature of this kind of library,  FULL FEATURE DEMO VERSION CAN BE PROVIDED ON REQUEST ==============
30 USD
Custom HLOC
Yurij Kozhevnikov
The library has been designed for background generation of non-standard timeframes' history files and their application on the entire depth of the available history via the functions similar to standard MQL4 ones used to access the time series. Standard timeframes' data can also be used. Unlike Custom HLOC Free using only available M1 chart data as the data source, the current product uses the entire minute history file of the appropriate symbol to generate non-standard timeframes' history file.
10 USD
Custom HLOC pro
Yurij Kozhevnikov
The library has been designed for background generation of non-standard timeframes' history files and their application on the entire depth of the available history via the functions similar to standard MQL4 ones used to access the time series. Standard timeframes' data can also be used. Unlike Custom HLOC containing only some of the functions, the current product contains all function equivalents for accessing the time series. Also, this product allows you to generate history files for any time
30 USD
MT4 Logger
Zoltan Meszaros
Description The CLogger class provides a simple but sophisticated logging utility that you can use to output messages. The messages have associated levels, such as INFO or ERROR that indicate their importance. You can then give the CLogger a level, and only messages at this level or higher will be saved. The levels are: DEBUG : Low-level information for developers. INFO : Generic (useful) information about system operation. WARNING : A warning. ERROR : A handleable error condition. Public method
10 USD
A library for creating a brief trading report in a separate window. Three report generation modes are supported: For all trades. For trades of the current instrument. For trades on all instruments except the current one. It features the ability to make reports on the deals with a certain magic number. It is possible to set the time period of the report, to hide the account number and holder's name, to write the report to an htm file. The library is useful for fast assessment of the trading effec
19 USD
For full product description go to Comments tab. MetaTrader and its MQL4/5 language is great for developing of automated trading systems. But I was missing some support for logging of custom messages and information during run of some trading system, custom scripts or indicators. One of the possibilities is to use Print function and then read messages in Journal window. Disadvantages of this Journal window are: it is slowly refreshed when you print out many messages it cannot be searched it is d
10 USD
Display all text information you need on your live charts. First, import the library: #import "osd.ex4" void display( string osdText, ENUM_BASE_CORNER osdCorner, int osdFontSize, color osdFontColor, int osdAbs, int osdOrd); // function to display void undisplay( string osdText); // function to undisplay int splitText( string osdText, string &linesText[]); // function called from display() and undisplay() void delObsoleteLines( int nbLines); // function called from display string setLineName( int
10 USD
The library is dedicated to help manage your trades, calculate lot, trailing, partial close and other functions Orders CloseallSell CloseallBuy CloseallOpen DeletePending DeleteAll: Close All Market Orders and delete all pending orders. CheckOpenBuyOrders: return the count of buy orders. CheckOpenSellOrders: return the count of sell orders. CheckOpenOrders: return the count of market orders. ModifyOrder DeleteOrder CloseOrder OpenOrder Lot Calculation Mode 0: Fixed Lot. Mode 1: Martingale Lo
249 USD
WalkForwardLight
Stanislav Korotky
This is a simplified and effective version of the library for walk forward analysis of trading experts. It collects data about the expert's trade during the optimization process in the MetaTrader tester and stores them in intermediate files in the "tester/Files" directory. Then these files can be used by the special WalkForwardBuilder script to build a cluster walk forward report and rolling walk forward reports for refining it. The intermediate files should be manually placed to the "MQL4/Files
85 USD
Library for an Expert Advisor. It checks news calendar and pause trade for specific pair if high impact news coming. News Filter for an Exert Advisor. Easily apply to your EA, just needs simple scripts to call it from your EA. Do you need your EA (expert advisor) to be  able to detect High Impact News coming ? Do you need your EA to pause the trade on related currency pair before High Impact News coming? This News Filter library is the solution for you. This library requires indicator  NewsCal
200 USD
Wsslib MT4
Soewono Effendi
You can now easily provide WEBSOCKET connection to javascript to your MT terminal. An   easy to use   websocket   server   library for MQL4. It supports: ws:// and wss:// (secure websocket) text and binary data automatic ping-pong handling on protocol level (keep-alive protocol hand shake) automatic fragmented message handling on protocol level (large data transfer enabled) ================================================== ATTENTION:  PLEASE CONTACT SELLER BEFORE PURCHASE. Due to the nat
50 USD
RFX Load History
Rasoul Mojtahedzadeh
This is a library that enables an easy way of downloading M1 history data from brokers. The interface has been written to be as easy and intuitive as possible. There is only one function that the user needs to call in order to fetch all available M1 data from brokers servers. The function has three arguments, the symbol and time frame of interest and the number of look back candles for which the M1 data need to be fetched. It should be noted that as the number of look back candles increases, the
50 USD
Function of the correct decrease in the volume of the deals Everybody checks the availability of a sufficient amount of margin - this is a mandatory requirement of the Market. But the trader does not benefit from this. The deal will not open if at least 1 cent of the margin is not enough. It doesn't matter who refuses, terminal or robot. This is dangerous. If the trader is not able to constantly be near the computer, then any such refusal can lead to the loss of the deposit. The lock-deal
30 USD
CheckOrder
Vasyl Temchenko
If you are having insurmountable problems with the validation of an EA, then you definitely need this function.    I authorize its use in commercial EA. I give the source code to those who pay for unlimited use. You will be able to insert the function into your code, which will allow you to avoid importing library files (it prohibited by the Market conditions).      The function performs all the order checks required by the Market (minimum and maximum deal-volume, volume step, sufficient free
60 USD
实盘交易盈利,回测年化125%,回撤25%,交易量少,不是经常下单,挂起后要有耐心。没有多牛的技术,只是一套简单的交易策略,贵在长期坚持,长期执行。我们有时候就是把自己高复杂,想想我们交易的历程,你就会发现,小白好赚钱,当你懂得越多的时候也是亏损的开始,总是今天用这个技术,明天用那个指标,到头来发现,没有一个指标适合你。其实每个技术指标都是概率性的,没有100%的胜率。很多技术指标你要融合一套交易策略,资金仓位控制,止损止盈比例,一套策略下来下一步你做的就是执行力了,必须要坚决执行你的交易策略,如果不能坚持的话最终还是在亏损。说实话不是每个人都有好的心态和执行力,所以我们做出来这款ea自己来用,发现时间久了扭亏为盈了,那现在就拿出来给大家分享,让更多的人来达到自己的盈利目标。购买后留下邮箱或添加软件里的qq,我们会根据你的资金来调整软件参数。 经测试过的柱数 14794 用于复盘的即时价数量 51321985 复盘模型的质量 n/a 输入图表错误 213935 起始资金 10000.00 点差 当前 (54) 总净盈利 12583.42 总获利 37630.02 总亏损 -25046.
1 999 USD
简介 本产品是一个导出的系统函数库 包含交易,订单查询,数学计算,软件界面以及一些策略算法库等。 软件意义 节省开发者的开发周期,可以快速通过该程序实现自己想要的功能。  为初学者快速掌握mt4的系统库函数提供便利。 功能简介 交易函数,包含各种交易函数的重载。 订单函数,根据输入参数查询各种满足自己要求的订单,并返回价格,止损,编号等等信息 界面函数,通用界面,可以快为EA建立一般的操作节目。 信号函数库:包含各种交易指标的信号库,比如K线与均线的金叉和死叉,快慢线的金叉和死叉等。 字符串函数:包含各种字符串的处理等 绘图函数库:通用的mt4和mt5,绘制各种图形的函数库。 数学函数库:通用的数学计算函数。 策略函数库:已经封装的策略库,可以直接被调用、
39 USD
In this library there is embedded a function called newsAlertFTMO; this function returns a datetime value of the next news date (FTMO Restricted Event) for the specific currency selected (or 0 if there is no Restricted Event news found). With this library and the following integration code you can disable the EA during that news(with a buffer of 2 minutes before and after the news release). Here an example of how to import from the library: #import “News Scraping FTMO.ex4" datetime newsAlertFTM
39 USD
What's this? The Binance API Library is a library for working with the Binance cryptocurrency exchange. For convenience and full compatibility with the Binance exchange, all functions have been ported from the official documentation of the exchange, which is located at:  https://binance-docs.github.io/apidocs/spot/en/#market-data-endpoints . For more information on API functions, please learn above mentioned documentation and also the functionality of the BinanceApiLibrary.mqh header file! How
200 USD
Trend broker killer
Mansour Rahkhofteh
Available with multi time frame choice to see quickly the TREND! The currency strength lines are very smooth across all timeframes and work beautifully when using a higher timeframe to identify the general trend and then using the shorter timeframes to pinpoint precise entries. You can choose any time frame as you wish. Every time frame is optimized by its own. Built on new underlying algorithms it makes it even easier to identify and confirm potential trades. This is because it graphically show
105 USD
CLicensePP
ADRIANA SAMPAIO RODRIGUES
MT4 library destined to LICENSING Client accounts from your MQ4 file Valid for: 1.- License MT4 account number 2.- License BROKER 3.- License the EA VALIDITY DATE 4.- License TYPE of MT4 ACCOUNT (Real and / or Demo) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++
50 USD
MT4/5通用交易库(  一份代码通用4和5 ) #ifdef __MQL5__      #define KOD_TICKET ulong      #define KOD_MAGIC   long #else        #define KOD_TICKET long      #define KOD_MAGIC   int #endif class ODLIST; #import "K Trade Lib Pro 4.ex4"       //祝有个美好开始,运行首行加入    void StartGood() ;    //简单开单    long OrderOpen( int type, double volume, int magic, string symbol= "" , string comment= "" , double opprice= 0 , double sl= 0 , double tp= 0 , int expiration= 0 , bool slsetmode= false , bool tpsetmode= false );    //复杂开单
88.88 USD
Thư viện này bao gồm: * Mã nguồn struct của 5 cấu trúc cơ bản của MQL4: + SYMBOL INFO + TICK INFO + ACCOUNT INFO * Các hàm cơ bản của một robot + OrderSend + OrderModify + OrderClose * String Error Runtime Return * Hàm kiểm tra bản quyền của robot, indicator, script * Hàm init dùng để khởi động một robot chuẩn * Hàm định dạng chart để không bị các lỗi nghẽn bộ nhớ của chart khi chạy trên VPS * Hàm ghi dữ liệu ra file CSV, TXT * Hỗ trợ (mã nguồn, *.mqh): dat.ngtat@gmail.com
30 USD
Thư viện các hàm thống kê dùng trong Backtest và phân tích dữ liệu * Hàm trung bình * Hàm độ lệch chuẩn * Hàm mật độ phân phối * Hàm mode * Hàm trung vị * 3 hàm đo độ tương quan - Tương quan Pearson - Tương quan thông thường - Tương quan tròn # các hàm này được đóng gói để hỗ trợ lập trình, thống kê là một phần quan trọng trong phân tích định lượng # các hàm này hỗ trợ trên MQL4 # File MQH liên hệ: dat.ngtat@gmail.com
30 USD
Backtest là một việc bắt buộc đối với người lập trình robot (EA) giao dịch Đối với MT4 chế độ backtest (strategy tester) hoạt động khá hiệu quả và tùy theo việc ta lựa chọn phương pháp test, dữ liệu test và lựa chọn các tham số để phù hợp với từng loại robot sẽ cho ta một kết quả test rất tốt. Tuy nhiên việc backtest này không thể xuất ra dữ liệu lịch sử và xuất ra các thông số kỹ thuật quan trọng mà một người lập trình robot cần đến. Chính thì thế thư viện này sẽ giúp người lập trình làm việc đ
90 USD
MetaCOT 2 CFTC ToolBox is a special library that provides access to CFTC (U.S. Commodity Futures Trading Commission) reports straight from the MetaTrader terminal. The library includes all indicators that are based on these reports. With this library you do not need to purchase each MetaCOT indicator separately. Instead, you can obtain a single set of all 34 indicators including additional indicators that are not available as separate versions. The library supports all types of reports, and prov
95 USD
WalkForwardOptimizer library allows you to perform rolling and cluster walk-forward optimization of expert advisers (EA) in MetaTrader 4. To use the library include its header file WalkForwardOptimizer.mqh into your EA source code, add call provided functions as appropriate. Once the library is embedded into EA, you may start optimization according to the procedure described in the User guide . When it's finished, intermediate results are saved into a csv-file and some special global variabl
85 USD
An easy to use websocket library for MQL4. It supports: ws:// and wss:// (secure websocket) text and binary data automatic ping-pong handling on protocol level (keep-alive protocol hand shake) automatic fragmented message handling on protocol level (large data transfer enabled) ================================================== ATTENTION:  PLEASE CONTACT SELLER BEFORE PURCHASE. Due to the nature of this kind of library,  FULL FEATURE DEMO VERSION CAN BE PROVIDED ON REQUEST ==============
30 USD
Custom HLOC
Yurij Kozhevnikov
The library has been designed for background generation of non-standard timeframes' history files and their application on the entire depth of the available history via the functions similar to standard MQL4 ones used to access the time series. Standard timeframes' data can also be used. Unlike Custom HLOC Free using only available M1 chart data as the data source, the current product uses the entire minute history file of the appropriate symbol to generate non-standard timeframes' history file.
10 USD
More from author
TBP All in One
Dmitry Fedoseev
5 (2)
All patterns from Encyclopedia of Chart Patterns by Thomas N. Bulkowski in one indicator. It draws an up or down arrow whenever a pattern is identified. Patterns are selected in the drop-down list of the Pattern variable (located at the beginning of the properties window). The indicator has numerous external parameters, some of them apply to all patterns, while others are selective. To see more information on the parameters used for the selected pattern, enable the ShowHelp variable (located at
45 USD
Stowell
Dmitry Fedoseev
4.67 (3)
Indicator of Stowell's Three-Bar Net Line. In this indicator, the number of bars used for determining the lines can be defined in the settings. With the default settings, the indicator draws arrows in the areas of the line breakout. The lines are not displayed on the chart by default. but can be enabled. Parameters Alerts - enable alerts when arrows appear. Arrows appear on a forming bar and can disappear during bar formation. Therefore, it is recommended to wait for the bar with the arrow to
FREE
An indicator of patterns #45 and #46 (Three Falling Peaks and Three Rising Valleys) from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - indicator period K - an additional parameter that influences the accuracy of pattern shape recognition. The smaller the value is, the smoother the row of peaks/valleys should be, so fewer patt
30 USD
An indicator of patterns #50 and #51 ("Triple Bottoms", "Triple Tops") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - indicator period K - an additional parameter that influences the accuracy of pattern shape recognition. The smaller the value is, the smoother the row of peaks/valleys should be, so fewer patterns will
30 USD
Cat bounce
Dmitry Fedoseev
An indicator of pattern #54 ("Dead cat bounce") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - indicator period GapSize - minimum gap size in points ArrowType - a symbol from 1 to 17 ArrowVShift - vertical shift of arrows in points   Auto5Digits - automatic multiplication of GapSize and ArrowVShift by 10 when working
30 USD
Exp iCustomNew
Dmitry Fedoseev
4.43 (7)
The exp_iCustomNew Expert Advisor allows to trade using any custom and standard indicators, using their various values: arrows, the intersection of two lines, level crossing, extremum, color. To define the entry signal, the EA can use one main indicator and up to four indicators to confirm by trend and up to four indicators to confirm by volatility. Confirmation indicators can be calculated on any other symbol and timeframe. Additionally, the entry signals are filtered by time (up to three sessi
45 USD
An indicator of pattern #55 ("Dead cat bounce, inverted") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - indicator period GapSize - minimum gap size in points ArrowType - a symbol from 1 to 17 ArrowVShift - vertical shift of arrows in points   Auto5Digits - automatic multiplication of GapSize and ArrowVShift by 10 whe
30 USD
An indicator of patterns #24, #25, #26 and #27 ("Head and Shoulders", "Complex Head and Shoulders") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - indicator period K - an additional parameter that influences the accuracy of pattern shape recognition. The smaller the value is, the smoother the row of peaks/valleys shou
30 USD
An indicator of patterns #9 and #10 ("Cup with handle") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - indicator period K1 - an additional parameter that influences the accuracy of recognition and pattern shape (the lower the value, the smoother the cup edge is) K2 - an additional parameter that influences the accuracy
30 USD
Double top or bottom
Dmitry Fedoseev
3 (1)
An indicator of patterns #13 - #20 ("Double Tops" and "Double Bottoms", types Adam-Adam, Adam-Eva, Eva-Adam, Eva-Eva) from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Adam - sharp tops/bottoms, Eva - flat ones. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - indicator period K - an additional parameter that influences the accuracy of pattern shape recognition. The smalle
30 USD
An indicator of patterns #2 and #3 ("Broadening formation right-angled and ascending" and "Broadening formation right-angled and descending") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - indicator period K - an additional parameter that influences the accuracy of pattern shape recognition. The smaller the value is, t
30 USD
An indicator of patterns #1 and #4 ("Broadening Tops" and "Broadening Bottoms") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski.   Version 1: bottom, top, bottom, top, top breakout. Version 2: top, bottom, top, bottom, top breakout. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) Variant1 - show version 1 of the pattern Variant2 - show version 2 of the pattern PeriodBars - indicat
30 USD
An indicator of patterns #5 and #6 ("Wedges, ascending, broadening" and "Wedges, descending, broadening") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - indicator period ArrowType - a symbol from 1 to 17 ArrowVShift - vertical shift of arrows in points   ShowLevels - show levels ColUp - color of arrow up СolDn - color
30 USD
Falling wedge
Dmitry Fedoseev
An indicator of patterns #52 and #53 ("Falling/rising wedges") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - indicator period K - an additional parameter that influences the accuracy of pattern shape recognition ArrowType - a symbol from 1 to 17 ArrowVShift - vertical shift of arrows in points   ShowLevels - show line
30 USD
Flag
Dmitry Fedoseev
An indicator of patterns #21, #22, #23 ("Flag") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - period in bars K - an additional parameter that influences the accuracy of pattern shape recognition. The influence of the parameter will be visible if not all of the pattern variants are enabled (not all three parameters Expandin
30 USD
Gap
Dmitry Fedoseev
5 (1)
Gap indicator (pattern #23) from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) GapSize - minimum gap size in points ArrowType - a symbol from 1 to 17 ArrowVShift - vertical shift of arrows in points   Auto5Digits - automatic multiplication of GapSize and ArrowVShift by 10 when working with 5 and 3 digit quotes. Note. Arrows appear at t
30 USD
Gap island
Dmitry Fedoseev
An indicator of pattern #30 ("Island Reversal") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski (two gaps, the second gap is in the direction of the first one). Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) GapSize - minimum gap size in points ArrowType - a symbol from 1 to 17 ArrowVShift - vertical shift of arrows in points   ShowLevels - show levels ColUp - color of an upward lin
30 USD
An indicator of patterns #24 and #26 ("Head and Shoulders") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - indicator period K - an additional parameter that influences the accuracy of pattern shape recognition ArrowType - a symbol from 1 to 17 ArrowVShift - vertical shift of arrows in points   ShowLevels - show levels Co
30 USD
An indicator of patterns #28 and #29 ("Horn bottoms" and "Horn tops") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) BarsInsideFrom - minimum number of bars between the tops BarsInsideAdd - the number of bars between the tops can be in the range from BarsInsideFrom to BarsInsideFrom+BarsInsideAdd-1. If the value is -1, the number of
30 USD
Long island
Dmitry Fedoseev
An indicator of pattern #31 ("Long Island") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) GapSize - minimum gap size in points ArrowType - a symbol from 1 to 17 ArrowVShift - vertical shift of arrows in points   ShowLevels - show levels ColUp - color of an upward line ColDn - color of a downward line   Auto5Digits - automatic multi
30 USD
An indicator of pattern #31 ("Long Island") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. The second gap is in the opposite direction. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) GapSize - minimum gap size in points ArrowType - a symbol from 1 to 17 ArrowVShift - vertical shift of arrows in points   ShowLevels - show levels ColUp - color of an upward line ColDn - color of
30 USD
An indicator of patterns #32 and #33 ("Measured Move Up/Down") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - indicator period MinMovment - minimum movement value (in points) BackMovment - maximum value of return movement (as decimals) ArrowType - a symbol from 1 to 17 ArrowVShift - vertical shift of arrows in points   Sh
30 USD
An indicator of patterns #35 and #36 ("Pipe bottoms" and "Pipe tops") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - An indicator period (number of bars that form a top/a bottom) K1 - an additional parameter that influences the accuracy of pattern shape recognition K2 - an additional parameter that influences the accurac
30 USD
An indicator of patterns #7 and #8 ("Bump-and-Run" and "Bump-and-Run Reversal") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - indicator period K - an additional parameter that influences the accuracy of pattern shape recognition  ArrowType - Character: from 1 to 17 ArrowVShift - vertical shift of arrows in points   Show
30 USD
An indicator of patterns #37 and #38 ("Rectangle Tops" and "Rectangle Bottoms") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - indicator period VertexCount - the number of tops and bottoms: 2, 3, 4.   ArrowType - a symbol from 1 to 17 ArrowVShift - vertical shift of arrows in points   ShowLevels - show levels ColUp - colo
30 USD
An indicator of patterns #11 and #12 ("Diamond Tops" and "Diamond Bottoms") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - indicator period K - an additional parameter that influences the accuracy of pattern shape recognition ArrowType - a symbol from 1 to 17 ArrowVShift - vertical shift of arrows in points  Note. Arrows
30 USD
An indicator of patterns #39 and #40 ("Rounding Tops" and "Rounding Bottoms") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears  Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - indicator period   K - an additional parameter that influences the accuracy of pattern shape recognition. Changes from 0 to 1 ArrowType - a symbol from 1 to 17 ArrowVShift - vertical shift of arrows
30 USD
An indicator of pattern #49 ("Triangle, symmetrical") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - indicator period K - an additional parameter that influences the accuracy of pattern shape recognition ArrowType - a symbol from 1 to 17 ArrowVShift - vertical shift of arrows in points   ShowLevels - show lines ColUp -
30 USD
An indicator of patterns #47 and #48 ("Triangle, ascending" and "Triangle, descending") from Encyclopedia of Chart Patterns by Thomas N. Bulkowski. Parameters: Alerts - show alert when an arrow appears   Push - send a push notification when an arrow appears (requires configuration in the terminal) PeriodBars - indicator period K1 - an additional parameter that influences the accuracy of pattern shape recognition K2 - an additional parameter that influences the accuracy of pattern shape recogn
30 USD
DragonM
Dmitry Fedoseev
5 (1)
The indicator determines Dragon pattern. It is based on the zigzag. There is buffer 0 which has no color located in the Colors tab. You will see the zigzag if you set it to some color.  The indicator draws an up arrow when it detects a pattern which assumes further upward movement of the indicator. Similarly, the indicator draws a down arrow when it detects a pattern which assumes further downward movement of the indicator. Parameters: Alerts - show alert when an arrow appears. Push - send a pus
30 USD
Filter:
No reviews
Reply to review