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!
Pedidos semelhantes
I am looking for a professional MQL5 developer to build a MetaTrader 5 Expert Advisor from scratch. The EA will be called LadyKiller EA. It must trade only the following instruments: • XAUUSD (Gold) • US30 / Dow Jones Index Requirements: • Strong and reliable buy and sell entry logic • Stop Loss and Take Profit system • Risk management (lot size control) • Maximum trades protection • Drawdown protection • Trend
I'm seeking an experienced developer to improve my current, complex MQL4 Expert Advisor. The primary focus of this project is to incorporate new trading strategies and rectify issues related to inaccurate trade execution. Key Responsibilities: - Integrate new trading strategies into the Expert Advisor. - Diagnose and fix issues causing inaccurate trade execution. - Potentially optimize the performance of the Expert
I need an mql5 EA which can be used with 100$ capital very low drawdown The EA should be high frequency trading special for XAUUSD and btcusd or binary options but also the EA should be testable via strategy tester and demo test for five days is needed NO SELECTION CAN BE DONE WITHOUT TESTING when applying make sure you send the backtester results with demo EA testable via strategy tester
Functional Requirements 1. Trading Instrument and Timeframe The EA must operate on XAUUSD . Timeframe should be configurable (default: 5‑minute depending on your scalping style). 2. Entry Logic (MACD-Based) The EA must generate trade entries using MACD conditions: Buy Entry MACD line crosses above the Signal line. Optional: MACD histogram flips from negative to positive. Optional: Price above a trend filter (e.g., 20
Hello, I'm looking to find out the cost of creating a mobile trading robot. I've tried to describe it as thoroughly as possible in the following document. I look forward to your response. I'd like to know the costs, delivery time, and how you plan to implement it before making a decision
I have an existing MT5 Expert Advisor (“E-Core”). I need an experienced MQL5 developer to integrate a structured risk management upgrade and a higher timeframe trend filter into the current code. Two files will be provided: 1️⃣ E-Core Source Code (Current Version) 2️⃣ Update Instructions File (contains exact inputs, functions, and logic to integrate) The developer must: Integrate the update logic
Modification of EA and addition of tradovate indicators to mt5 EA as part of signal generation. To improve entry, display and management of trades in my EA using signals from tradovate indicators count
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hello, I am a user of the "BUY STOP SELL STOP V6" trading bot, which is an advanced Grid System bot. The bot is primarily designed for Gold (XAUUSD), but I want it to work on all currency pairs. "The bot contains a privacy/protection code that prevents it from running on other accounts or being modified on any platform, as it has a client account number lock mechanism" --- Bot Description & Current Settings Bot Type