Simple Pinbar EA

MQL4 Эксперты

Работа завершена

Время выполнения 3 дня

Техническое задание

Good afternoon. I would like to have a pinbar ea, which trades automatically when it detects that the previous bar was a pinbar. I am also going to attach an indicator, which could help you get ideas in coding this EA. 

 This is a high level view:

 

1) Basic function is it looks at the current bar right when it finishes, and makes a decision on whether it is a pinbar or not. For example, a simple rule could be 72% of whole candle is wick, and rest 28% is actual body. So anything >= 72% wick is classified as pinbar.

2) If it deems at the close of the current bar that it is a pinbar, it immediately opens an order in the direction of that pinbar. The important part here is that it immediately acts and takes an order, if the previous bar was indeed a pinbar.

3) It can do that for every open chart in your MT4.

4)  Basic requirement is that it can do that for range bars, tick bars etc. For example, for a 50 pip range bar chart, it detects again when the bar will close and classifies it. 

5) Based on #4, it is very important to see whether there is a mechanism in MT4 to detect if the current bar has changed. I don't know if MT4 gives this possibility. But this is a requirement because for example on a 4 hour chart, sure you know the bar will change after 4 hours. But in a 50 (or 100, or 200) pip bar, the bar will change whenever the whole range of pips has been covered.


It would be easier if this EA just recognizes when there has been a bar change, and immediately makes a decision on the previous bar based on point 1.

A simple algorithm approach I am thinking of is this:

1) Detect when the current bar has changed.

 2) Immediately go to previous bar, subtract low from high to get the whole candle length.

3)Subtract close from open to see whether candle was bullish or bearish. If bullish, we are looking to buy. If bearish, we want to sell.

4)For example in the case that the close was higher than the open (bullish), subtract the open from the low so that we know how big the wick is.

5) Compare the length of the wick to the length of the whole body (wick length divided by whole candle length perhaps). If the wick is 72% or more of the body, we immediately take a bullish trade. 

 Similar for bearish trade. I ncase of time charts, we might also want to take a look if there is a wick above the close for a bullish trade, or below the close for a bearish trade.

 

It would be great to do some statistical analysis of the famous pinbar through this EA. If you take a look at it, I will be very thankful! 

Файлы:

MQ4
PinBar.mq4
31.5 Kb

Откликнулись

1
Разработчик 1
Оценка
(622)
Проекты
974
47%
Арбитраж
32
38% / 34%
Просрочено
96
10%
Работает
Опубликовал: 6 примеров
2
Разработчик 2
Оценка
(29)
Проекты
49
22%
Арбитраж
14
29% / 21%
Просрочено
13
27%
Свободен
3
Разработчик 3
Оценка
(772)
Проекты
1039
44%
Арбитраж
50
8% / 50%
Просрочено
116
11%
Свободен
Похожие заказы
I have pine editor script I want to convert this into MT5 EA Main i want to match tv and mql5 buy and sell signal to match in trading view i use this with heikin ashi candles things to add in this but after main need to be done 1 Ea start stop time 2 Manual lot size 3 tp sl - on Ea start if i want to add separate tp for first 2 trades and after that same tp 4 halt ea and close all trades after over all daily profit
Hello Programmer! **Objective** Create an **MT4 Expert Advisor (“Monitor EA”)** that runs on a single blank chart and acts as an **execution firewall and auto-recovery controller** for all other EAs trading on the account. Because existing EAs are **not editable**, the Monitor EA will control trading by **closing and reopening charts/templates** instead of modifying EA logic. Target Platform: **MT4** Broker Type
💰 BUDGET: $2000-$4000 XAUUSD EA (Negotiable) Institutional XAUUSD EA with 20+ Systems | Sharpe 4.2+ | Quant Firm Standards DESCRIPTION I need an experienced MQL5 developer to build a professional institutional-grade EA with 20+ integrated trading systems for MetaTrader 5. CORE REQUIREMENTS: Architecture: • 20+ independent trading systems (trend, mean reversion, volatility, breakout) • ON/OFF toggle for each system
Hi , I am finding scalping Ea for Mt5 which can work on all pairs and have back tested results at least of 1 year and is currently running in Mt5 so i can login and see how it is performing who ever have message me
Strategy Name: SHA & Fast Ema Pullback for BTCUSD Scalping Indicators Used: Smoothed Heiken Ashi Candles MT5.ex5, Fast EMA, Trend Ema, RSI Filters Used: Break Even Filter, Ema Slope Filter, Day-wise Filter, Session/ Time Filter, Loss Filter Lots: Fixed Size, 50% lots booked when Risk to Reward is 1:1 Stop Loss: in Points Trailing SL: starts once Risk to Reward 1:1 is achieved Target: 2000 Pts (max) Buy Setup Ema
(15M + 1H Support & Resistance + Liquidity Wick + Trailing SL) 🎯 Objective Develop an MT5 Expert Advisor (MQL5) for XAUUSD (Gold) based on 15-minute liquidity rejection at H1/M15 Support & Resistance zones , with candle-close based trailing stop loss . 📊 On-Chart Display Detected Support & Resistance zones Trade direction Current SL & trailing level Active session 🔐 Risk Rules Only one trade per signal No
Hi, im not looking into developing a new EA. I am looking into purchasing an existing EA that can deliver such results like: mq5 source, 4 year backtest 2021‑2025 report, equity curve, trade list, strategy description, and 1‑month demo access. i need a concrete prove of experience functioning existing EA working perfectly and as contained on my description, then we can't strike a deal. Thank you
I’m looking for an experienced EA developer to develop a hedging Expert Advisor for XAUUSD , designed with the primary objective of maximizing broker commission rebates while maintaining overall account profitability . The EA should: Trade XAUUSD only Use a hedging strategy (frequent buy/sell positions) Be optimized for high trading volume to “milk” broker commissions Still aim to keep the net account profitable or
1.Session high low will use GMT time as range. I am not sure how the EA will handle the DST. When GMT+1 is xx:00 - xx:00 When GMT is xx:00 - xx:00 above is Asia range. When GMT+1 is xx: 00 - xx:00 When GMT is xx:00 - xx:00 Above is London range. Entry windows one for London Session and one for NY Session Emas for bias Fractals indicator for invalidation We will discuss more later
Hello all developers! I need a profitable EA ready made, I am paying good, but only serious offer please. In first message please send me backtesting resaults and demo version. If you will not do this your application will be rejected, no exceptions. Source of code of course required

Информация о проекте

Бюджет
15 USD
Сроки выполнения
от 1 до 8 дн.