Spécifications
The code is VP (insert file below VP-Master.zip) but no have buffer for use with my robot.
I need a buffer for VP indicator for (max volume price only) for use in my robot.
The creator of indicator, create a expert too for show the line owhen run backtest:
/* Copyright 2020 FXcoder This file is part of VPSimple. VPSimple is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. VPSimple is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with VPSimple. If not, see http://www.gnu.org/licenses/. */ #property copyright "VPSimple 2.0.1. © FXcoder" #property link "https://fxcoder.blogspot.com" #property strict #include "VPSimple-include/bsl.mqh" #include "VPSimple-include/util/stat.mqh" #include "VPSimple-include/volume/vp_calc.mqh" int OnInit() { // show EA-Line indicators in visual testing, see https://www.fxcoder.ru/2013/07/ea-line-indicator.html if (MQLInfoInteger(MQL_VISUAL_MODE)) { iCustom(_Symbol, PERIOD_CURRENT, "FXcoder/EA-Line/EA-Line0", "vp-max-price"); iCustom(_Symbol, PERIOD_CURRENT, "FXcoder/EA-Line/EA-Line", "vp-max-volume"); iCustom(_Symbol, PERIOD_CURRENT, "FXcoder/EA-Line/EA-Line", "vp-total-volume"); } return(INIT_SUCCEEDED); } void OnTick() { // time range for 1000 last bars datetime time_to = TimeCurrent(); datetime time_arr[]; if (CopyTime(_Symbol, PERIOD_M1, time_to, 1000, time_arr) < 1) return; datetime time_from = time_arr[0]; // histogram int hg_point_scale = 10; double hg_point = _Point * hg_point_scale; CVPCalc vpcalc_(VP_SOURCE_M1, VOLUME_TICK, hg_point, VP_TICK_PRICE_LAST, 0, QUANTILE_NONE); double low_price; double volumes[]; const int count = vpcalc_.get_hg(time_from, time_to, low_price, volumes); //const int count = vpcalc_.get_hg_by_ticks(time_from, time_to, low_price, volumes); if (count <= 0) return; // levels int mode_step = 100 / hg_point_scale; int modes[]; int mode_count = hg_modes(volumes, mode_step, modes); int max_pos = _arr.max_index(volumes); int median_pos = _math.median_index(volumes); int vwap_pos = hg_vwap_index(volumes, low_price, hg_point); // max double max_volume_price = low_price + hg_point * max_pos; double max_volume = volumes[max_pos]; // modes for (int i = 0; i < mode_count; i++) { double mode_price = low_price + hg_point * modes[i]; double mode_volume = volumes[modes[i]]; // do something with the mode... } // send data to EA-Line if (MQLInfoInteger(MQL_VISUAL_MODE)) { GlobalVariableSet("vp-max-price", max_volume_price); GlobalVariableSet("vp-max-volume", max_volume); GlobalVariableSet("vp-total-volume", _math.sum(volumes)); } } /* Последние изменения: 2.0: * версия на основе кода VP-v9 1.0: * версия на основе кода VP-v6 */
Répondu
1
Évaluation
Projets
143
52%
Arbitrage
8
13%
/
75%
En retard
22
15%
Gratuit
Commandes similaires
Criação de Robô para B3 e forex
150 - 400 USD
Pedido 1: B3 (Mini Dólar ou Mini Índice) Título: Robô MQL5/PROFIT B3 (WDO/WIN) - Lucrativo com Código-Fonte Descrição: Desenvolvimento de Expert Advisor (EA) para MetaTrader 5 focado no Mini Dólar ou Mini Índice. Requisitos: Entrega do código-fonte ( .mq5 ) aberto e comentado. Estratégia técnica estritamente fixa e gerenciamento de risco fixo (Stop Loss, Take Profit, lote fixo e horários de zeragem). Validação
Preciso de um EA versátil, totalmente configurável para MT5, que opera nos modos: Multi Timeframe e Monotimefreme, fazendo leituras do indicador HMA de ambos os modos. Quero um parâmetro de escolha(input) nas configurações do EA, pra mim poder alternar entre os dois modos. Uma opção para escolher o modo de operação. Tipo: Modo Operação: ( Mono time frame) (Multi Time Frame). Filtros e indicadores: ( HMA ),/ ( BANDAS
Gostaria de um código para um robô Forex para MetaTrader 5 com as seguintes características e funcionalidades. O robô deverá permitir a configuração de um movering average , Ponto Fixo Inicial e de uma configuração chamada "Intervalo entre Pontos " , definida em pips. A partir do Ponto Fixo Inicial, o robô deverá gerar automaticamente uma sequência de novos pontos fixos acima e abaixo dele, sempre respeitando
EA para mesas proprietarias
50 - 200 USD
Estou em busca de um sistema operacional para mesas proprietarias, drawdown não pode passar de 3% e que faça algo entorno de 1 a 2% ao mês de lucratividade. forex ou futuros, o importante é o resultado
Hello, I need an Expert Advisor (EA) developed for MetaTrader 5, specifically tailored for the EUR/USD currency pair on the 5-minute (M5) timeframe. The robot should execute trades based on Price Action or Technical Analysis (such as Support/Resistance Breakouts or Moving Average Crossovers - I am open to the programmer's suggestions for proven, consolidated strategies). Mandatory Risk Management Requirements
BOT PARA FUTUROS BRASIL
50 - 100 USD
I need a trading robot that uses two indicators I employ: a moving average and the NRTR. I will explain the strategy; it is for the Brazilian stock exchange's WIN futures market
EA utilizando RSI e média dentro do indicador RSI, habilitando entradas quando ha cruzamentos entre a média e o RSI. com ALVO, STOP, DIAS DA SEMANA, HR DE INICIO, DE TERMINO, DE ENCERRAMENTO DAS POSIÇÕES
Informations sur le projet
Budget
30 - 70 USD