Simple Pinbar EA

MQL4 Experts

Tâche terminée

Temps d'exécution 3 jours

Spécifications

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! 

Dossiers :

MQ4
PinBar.mq4
31.5 Kb

Répondu

1
Développeur 1
Évaluation
(595)
Projets
927
46%
Arbitrage
31
39% / 29%
En retard
93
10%
Travail
2
Développeur 2
Évaluation
(28)
Projets
47
23%
Arbitrage
13
31% / 15%
En retard
12
26%
Gratuit
3
Développeur 3
Évaluation
(769)
Projets
1033
44%
Arbitrage
50
8% / 50%
En retard
117
11%
Gratuit
Commandes similaires
I am seeking an experienced MQL5 developer to create a user-friendly manual Grid Trading Expert Advisor (EA) with the following key features: Dynamic Grid Trading: Adjustable Grid Distance: Traders can manually input grid distance in pips via an intuitive, movable table. Take Profit Management: Fixed TP for the initial positions (e.g., first 5 trades). Stop-Loss (Optional): Traders can choose to use a stop-loss with
I want have the possibility to increase lotsize not alone by Lot-multiplier rather I want add a fix-lot increase for excample for 0,05 lot. I want have this for buy / sell and hedge-buy and hedge sell
Develop EA to track performance metrics of strategies I would like to develop an EA that will track the performance metrics of the strategies I have running on a terminal, If any of the metrics start to under perform then the EA/Indictor should alert me with a pop up alert that specify's the metric that has triggered the alert. The EA should also display the metrics in a dashboard - please see my example screen shot
I would like to modify the RSI Epert Avisor with a developer. I would like to use the RSI Expert on the inverse mode and the base setting doesnt conatain this strategy mode
Profitable EA HFT 50 - 300 USD
From a long time i am searching for a profitable EA i have lost a lot , and now i have only 300$ to buy a profitable EA , i wish to say with 0 losses but some or most traders they don't want to hear this i am really tired of searching for a programmer to just create me a profitable EA with the least losses or zero losses maybe nearly 1 year i am searching i just need an HFT EA that can work very well on MT4,MT5
I need help fixing my EA for MT5. It’s a very simple EA, and I currently cannot solve an issue where webrequest communicates with OpenAi API without error. Please only apply if you can help solve this issue
у нас есть стратегия, нам нужно написать mql5-код ​​для тестера стратегий МТ5,Цена договорная. Мой контакт @abbosaliyev из Telegram Программист должен знать РУССКИЙ ИЛИ УЗБЕКСКИЙ язык. Задание: разработать тестер, который использует шаблон условий на открытие и проверит весь исторический график на всех доступных таймфреймах. Остальная информация будет предоставлена ​​после согласования цены
a coder is required to add an indicator to existing ea The new indicator will work as 1. option to combine with exiting indicator to open trade 2. it will be used as alternative BE point 3. It can also be used to close order or combine with other to close trade The second Job is telegram bot to get alert fr news trade and others Details when you apply i will test the ea work on live market and all bug is fixed before
Hello, I want to make an EA based on SMC and a developer that is familiar with the concept and full understanding of this. Must have done similar jobs before and be able show it. I only want to work with developer that has good track record and is precise. Further information will be handed when contact is made. Developers that has zero rating will not be considered. Listed price is a base point. The project can also
EA DEJA FABRIQUE ? MODIFIER QUELQUE LIGNE POUR LE RENDRE RENTABLE /////////////////////++++++++++++++++++++++++++++++++++ EA AVEC UN SYTEME SIMPLE ; SEULEMENT A MODIFIER %%%%%%%%%%%%%%%%%% SI PERSONNE SACHANT CODER CORRECTEMENT , CE TRAVAIL EST POUR TOI

Informations sur le projet

Budget
15 USD
TVA (21%): 3.15 - 3.15 USD
Total: 18.15 - 18.15 USD
Pour le développeur
13.5 - 13.5 USD
Délais
de 1 à 8 jour(s)