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
등급
(599)
프로젝트
932
46%
중재
31
39% / 29%
기한 초과
93
10%
무료
2
개발자 2
등급
(28)
프로젝트
47
23%
중재
13
31% / 15%
기한 초과
12
26%
무료
3
개발자 3
등급
(769)
프로젝트
1033
44%
중재
50
8% / 50%
기한 초과
117
11%
무료
비슷한 주문
Im looking for an coder to code an EA: Trade management 1. opening trades according to the indicator 2. trades settings to choose from like: open all trades according to the signal open only trade 1,2,3 or 4 % per trade ( example 50/30/20 of the lot settings, with 4 trades it would be for example 50/30/10/10) 3. SL/Trailing settings: Move SL to entry after hitting TP1/TP2 or TP3 moving SL by % keep the original SL
Hi I'm looking to have 2 of my pinescript strategies converted to MQL5 and was wondering if you could first give me a quote for the more simple strategy and then for both the simple and complex strategy together. The simple strategy is a MACD crossover type thing that uses a special EMA script that filters out some ranging price action and also fractal candles for the stop loss. The second strategy is market
I want grate robot for making profits that know when to start a good trade and close a trade and must be active all time to avoid lost of money
I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script that I will provide if you are
Mbeje fx 50+ USD
I like to own my robot that why I want to build my own.i like to be a best to every robot ever in the life to be have more money
I need an MT5 EA that can do the following: I have to give the EA a price in advance, when the price is reached the EA has to automatically place a buy stop or sell stop order 0.5 pips below or above the price. Is this possible
Dr Pattern 30+ USD
good day i need the service of the seaso coder to help me fix my ea The Job required 1 knowledge of Mt4 and Mt5 indicator coding 2. Telegram code 3. ability to code indicator to work on multiple Time frame combine to trade 4 Ability to Join two or three indicator on same ir different time frame if you have these skill please let chart i will discuss the details of the Job inside to you The required day including
Good day, I want someone to help me create a universal news filter with on/off switch, with start and end settings, and drawdown control with magic number of EAs, etc. Thanks
Hello, I am looking for a professional programmer to optimize my existing EA integrating it with ChatGPT to analyze currencies using various methods to make the right trading decisions. i want it to be an EA that can be trusted to carry trade with the help of chat gpt and also have a very low drawdown
Hello, I am looking for a professional programmer to create a trading expert on the MT4 platform, integrating it with ChatGPT to analyze currencies using various methods to make the right trading decisions. Further details will be provided to the applicants later

프로젝트 정보

예산
15 USD
VAT (21%): 3.15 - 3.15 USD
총: 18.15 - 18.15 USD
개발자에게
13.5 - 13.5 USD
기한
에서 1  8 일