EA Code for Highest High and Lowest Low

MQL4 Experts

Trabalho concluído

Tempo de execução 2 dias

Termos de Referência

Hi,

 

I just need a code for my EA to find the highest high and lowest low excluding 2nd, 3rd, 4th bars from the current bar. 

It is like define the top range and low range for X number of bars (LookBackBars) excluding bars 2nd, 3rd, 4th. 

 

So far I have this which include 2nd, 3rd, 4th bars.

 

int high_bar = iHighest(Symbol(), Period(), MODE_HIGH, LookBackBars, 0);

double high = iHigh(Symbol(), Period(), high_bar );

int low_bar = iLowest(Symbol(), Period(), MODE_LOW, LookBackBars, 0);

use the bar as an index to get the low value

double low = iLow(Symbol(), Period(), low_bar ); 

 



 

Respondido

1
Desenvolvedor 1
Classificação
(58)
Projetos
89
38%
Arbitragem
26
4% / 77%
Expirado
39
44%
Trabalhando
Pedidos semelhantes
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link

Informações sobre o projeto

Orçamento
10 USD
Desenvolvedor
9 - 9 USD
Prazo
1 dias