Create Function To Find Candle Index Based Off Datetime (on higher tf)

MQL4 Bibliotecas Integração

Trabalho concluído

Tempo de execução 3 horas
Comentário do desenvolvedor
Thank you, good luck

Termos de Referência

Hi guys, 

I need a function that returns the index of the candle when passed a datetime value.

Similar to iBarShift(), but I need this function to handle different time frames.

Example.

I pass the datetime of a daily candle, I need it to return the weekly candle's index in which the daily candle is contained within.

Same with say a 1 hour candle timestamp, this function should be able to return the index of the relevant 4 hour candle and so on.

So the function will accept a datetime, and a timeframe to search on.


function(datetime timeStamp, int timeFrameToSearch)


Thanks

Respondido

1
Desenvolvedor 1
Classificação
(879)
Projetos
1392
67%
Arbitragem
117
32% / 42%
Expirado
215
15%
Livre
2
Desenvolvedor 2
Classificação
(253)
Projetos
358
49%
Arbitragem
24
25% / 50%
Expirado
80
22%
Livre
3
Desenvolvedor 3
Classificação
(590)
Projetos
789
71%
Arbitragem
9
33% / 33%
Expirado
22
3%
Livre
4
Desenvolvedor 4
Classificação
(1235)
Projetos
2820
80%
Arbitragem
156
22% / 43%
Expirado
488
17%
Livre
5
Desenvolvedor 5
Classificação
(586)
Projetos
1047
49%
Arbitragem
39
28% / 41%
Expirado
49
5%
Livre
6
Desenvolvedor 6
Classificação
(547)
Projetos
757
46%
Arbitragem
23
39% / 13%
Expirado
63
8%
Trabalhando
7
Desenvolvedor 7
Classificação
(1127)
Projetos
1429
62%
Arbitragem
21
57% / 10%
Expirado
43
3%
Livre
Pedidos semelhantes
Hello! I want to develop an indicator for tradingview. Daily closure (and 12H closure) should be available to show on the chart with a vertical line but daybreak is the standard. Every 12H closure will show a box above/below that candle on all timeframes up to D1, clearly showing which canle is the close of 12H (make that candle glow or something on lower timeframes). The box will contain info about which timeframes
I need help getting pineconnector working in mt5 the alerts from TV to mt5 work fine What is happening now is that if I am in a long position and a short position comes through it is not closing off the original position to only then keep the short position open. I have tried hedging - netting in the pineconnector settings but still no luck. The issue is that if I am in a long position and then alerts come through to
Hi I need access to Pocket option OTC charts where I can apply my tradingview indicator. I have the indicator but I need access to OTC charts to apply them! Please help
Tenho um endereço de API que retorna informações, a cada 1 minuto faremos uma consulta e mostraremos em um painel, é necessário validar se todos os tempos gráficos retornaram, em alguns momentos pode não retornar todos os dados. https://integra.tasdigital.com.br/GetIndicadoresForexDataAtualProducao/XAUUSD
Hi, Do you have an indicator or expert and would like to protect and control it? What you will get protection and control Customer control panel The number of products is unlimited. You can add any number of your own experts and consultations You can give a trial period for your product, for example a week or a month, after which the customer subscribes Monthly, annually, or for life, depending on the customer’s
I need an EA to automate Tradingview alerts on MT4 using webhook alerts. The bridge/connector should be python based GUI. Required features at a minimum Mapping Tradingview alert formats to MT4 Automating market, limit and stop orders with entry price, stop loss, multiple TPs and trailing stop Lot sizing - fixed/% of balance/fixed amount breakeven, partial close and trailing stop Mapping pair name prefixes/suffixes
Hello, I am looking for an experienced and professional developer to create a trade copier that transfers trades from MetaTrader 5 (MT5) to NinjaTrader 8 (NT8). I am looking for a developer with a strong track record in creating MT5 to NT8 trade copiers and who can deliver a robust and reliable solution. Thank you, and I look forward to your proposals
Hi there ,I am seeking for some who can I integrate MT4+MT5 into Matlab!We need our indicator window of MT4+MT5 viewable in Matlab so we can execute more research on Matlab Best regards Richie
NB: Given price is a placeholder only. Fees are negotiable. I’m looking for a developer who could make an expert advisor (EA) that will Auto copy telegram signals to an MT4 account. 1. Read and copy trading signals posted in specific telegram channels with different formats to MT4. 2. Copy all the signals including entry price, stop loss, and take profit levels 1 to 3 (if any). 3. Read customized messages on telegram
1. Combination of Market Profiles on daily basis a) this should be combined if the bell curve is similar to the previous day. Rotational day (volume - standard deviation). b) If breakout, new range should be drawn Conclusion: Market profile should be combined on daily after the market is closed 2. Use Vwap indicator, with 0.5 - slow trend, 1.0 - normal trend, 1.5 fast trend. The stop loss should be under the trend

Informações sobre o projeto

Orçamento
50+ USD
Desenvolvedor
45 USD