Simple Price action EA

Job finished

Execution time 13 days
Feedback from employee
Although communication is limited by time, the project can be completed very well. Recommended customer.
Feedback from customer
Wonderful developer. Highly Recommended.

Specification

Indicator to be created :

Price Action candle :

Input : Number of previous candles to compare  to determine price action candle.

Variable name: No_previous_Candle_price_action

Rules :

When a candle is closed above previous < No_previous_Candle_price_action>  days candle high then it is called Buy Price action candle

When a candle is closed below previous < No_previous_Candle_price_action>  days candle Low then it is called Sell Price action candle

*closed , this rule is checked only once at close of candle.

https://charts.mql5.com/25/246/audusd-d1-fxcm-australia-pty-2.png


Right hand side Legend :

Price Action : Buy Price action Candle/Sell Price action candle/No Price action formed.

 

Pin Bar:

  • Length of candle = absolute(high-low)

Body of Candle = absolute (Open-close)

Input: no_of_past_candle_pinbar

Bullish pin bar

Rule 1: Body of candle should be formed above 60% Length of candle.

Rule 2: length of Tail (wick or shadow) should be more than 60% of length of candle.

Rule 3: low of tail should be lower than previous < no_of_past_candle_pinbar > candles.

We are not checking colour (bullish or bearish) nature of candle to determine bullish pin bar.

Bearish pin bar

Rule 1: Body of candle should be formed blow 60% Length of candle.

Rule 2: length of Tail (wick or shadow) should be more than 60% of length of candle.

Rule 3: High of tail should be higher than previous < no_of_past_candle_pinbar >

We are not checking colour (bullish or bearish nature) of candle to determine bullish pin bar.

Mark Pin bar candle with different colour in chart.

https://charts.mql5.com/25/247/audusd-d1-fxcm-australia-pty.png


Legend:

Candle Length: High Price -low price: <Value>

Body of Candle: Close price -open: Absolute value

Length of Candle: length of tail

 

Area to Trade:

Input: Time frame (1w/1d/4hr) Drop down menu

Zig zag parameter is used (default 5,3,2),

Last low of zig zag (V shape is formed by Zig Zag parameter) candle tail area (Low to close area) is considered as Buy Trade zone.

Last high of zig zag (V shape is formed by Zig Zag parameter) candle nose area (High to open are) is considered as Resistance.

 

Resistance price area to be marked with RED colour till current candle.

Support Price area to be marked with Green Colour till current candle.

https://charts.mql5.com/25/246/audusd-d1-fxcm-australia-pty.png



EA Logic:

 

Indicator to use:Zig Zag,ATR, Timeframe to trade (1hr/1 day,1 week etc) - Drop down, Volume to trade .


Trade initiation


Sell Trade :

 

Last Closed candle should be  traded in trade zone and closed below trade zone.

Last closed candle should be bearish pin bar candle or sell price action candle.

Risk (current trade price to Stoploss)< n times of reward (reward = absolute(current price - previous zig zag low))


https://charts.mql5.com/25/247/gbpusd-mn1-fxcm-australia-pty.png

 

Stop loss line:

We draw two stop loss as per below logic:

When a Sell price action candle or bearish pin bar is formed, high of that candle is marked as stoploss. This line needs to be checked at close of each candle and need to redraw till trade is active. This stoploss line is called End of day stoploss.

When a Sell  price action candle or bearish pin bar is formed, Intraday stoploss is calculated as “High of bullish pin bar candle or high of sell price action candle” + n times of ATR value of last closed candle) n here is input

 


Stoploss logic Execution.

When a candle is closed above End of day stoploss or when a price reach is intraday stoploss , whichever happens first is stoploss.

 

 

Trade closure.

 

Risk is calculated when trade is opened , only once for a trade

Risk = Absolute ( trade open price -Stoploss price )

Tarde closure Price =trade price - n times of risk

 




Buy Trade :

 

Last Closed candle be  traded in trade zone and   closed above trade zone.

Last closed candle should be bullish pin bar candle or Buy price action candle.

Risk (current trade price to Stoploss)< n times of reward (reward = current price - previous zig zag high)



current price to buy target price). 

Stop loss line:

We draw two stop loss as per below logic:

When a Buy price action candle or bullish pin bar is formed, Low of that candle is marked as stoploss. This line needs to be checked at close of each candle and need to redraw till trade is active. This stoploss line is called End of day stoploss.

When a Buy price action candle or bullish pin bar is formed, Intraday stoploss is calculated as “Low of bullish pin bar candle or Buy price action candle” - n times of ATR value of last closed candle) n here is input

 

 

Stoploss logic Execution.

When a candle is closed below End of day stoploss or when a price reach is intraday stoploss , whichever happens first is stoploss.

 

 

Trade closure.

 

Risk is calculated when trade is opened , only once for a trade

Risk = Absolute ( trade open price -Stoploss price )

Tarde closure Price =trade price + n times of risk

 


Responded

1
Developer 1
Rating
(71)
Projects
103
20%
Arbitration
6
0% / 83%
Overdue
3
3%
Free
2
Developer 2
Rating
(182)
Projects
291
65%
Arbitration
4
100% / 0%
Overdue
65
22%
Free
3
Developer 3
Rating
(169)
Projects
204
30%
Arbitration
25
40% / 44%
Overdue
12
6%
Free
4
Developer 4
Rating
(412)
Projects
543
75%
Arbitration
9
44% / 0%
Overdue
24
4%
Free
5
Developer 5
Rating
(27)
Projects
43
7%
Arbitration
18
6% / 78%
Overdue
26
60%
Free
6
Developer 6
Rating
(3)
Projects
1
100%
Arbitration
1
0% / 0%
Overdue
0
Free
7
Developer 7
Rating
(26)
Projects
34
26%
Arbitration
7
14% / 43%
Overdue
7
21%
Free
8
Developer 8
Rating
(65)
Projects
71
30%
Arbitration
8
0% / 88%
Overdue
5
7%
Free
9
Developer 9
Rating
(117)
Projects
138
41%
Arbitration
30
7% / 77%
Overdue
17
12%
Free
10
Developer 10
Rating
(84)
Projects
149
31%
Arbitration
32
34% / 41%
Overdue
43
29%
Free
11
Developer 11
Rating
(221)
Projects
369
66%
Arbitration
10
50% / 0%
Overdue
46
12%
Free
12
Developer 12
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
Similar orders
Titolo: Cerco sviluppatore per EA su XAUUSD M1 per conto reale Cerco uno sviluppatore MQL5 per creare un Expert Advisor per MetaTrader 5 su XAUUSD M1, da utilizzare su conto reale con deposito iniziale di 100–200 €. La strategia prevede un Buy Stop a 1,00 sopra l’Ask e un Sell Stop a 1,00 sotto il Bid, entrambi con stop loss iniziale di 1,00 e senza take profit fisso. I pendenti devono restare fermi: quando uno viene
// Meta Scalper EA - RSI + Breakout + Lot Management #property strict #include <Trade\Trade.mqh> CTrade trade; input int RSI_Period=14; input double RSI_Overbought=70; input double RSI_Oversold=30; input int Breakout_Period=20; input int ATR_Period=14; input double ATR_Multiplier_SL=1.5; input double ATR_Multiplier_TP=3.0; input bool UseRiskPercent=true; input double RiskPercent=2.0; input double FixedLot=0.1; input
BUDGET: 100-120 USD - FIXED - includes source code .mq5 + .ex5 I will test demo first on 100$ demo account. If good, I pay. WHAT I WANT: 1. SIGNAL STRENGTH LOGIC: - WEAK SIGNAL = 1 position only. - STRONG SIGNAL = 2,3,4,5 positions (more positions because signal is strong). - Signal strength calculated by indicators. 2. ADAPTIVE TO CAPITAL: - Lot auto = Balance / 100 * 0.01. Example 100$ = 0.01 lot, 300$ = 0.03 lot
Project: MT5 Expert Advisor — Dual-Sided Hedging Grid with Fibonacci Lot Progression I need a custom Expert Advisor (EA) developed in MQL5 for MetaTrader 5. 1. Trading Strategy The EA must open both Buy and Sell market positions when a new trading cycle starts, provided the broker account supports hedging. The EA must manage the Buy and Sell directions independently. When the market moves downward against the Buy
I currently use nt8 trading platform. I trade with kelterband channel indicator and 80sma. Would like a custom indicator added to chart trader to get into trade manually when band crosses sma, 3 separate buttons for buy sell close of yellow band, mid band (blue) and 80 sma (purple). also need contract size button and tick offset button. when i enter a trade i want it to trail the band until price hits it and gets me
Hello lovies, I’m reaching out because I’m working on a specialized macroeconomic intelligence service focused on major economic releases and their potential impact on gold (XAUUSD), the US dollar, and the wider financial markets. My approach goes beyond simply following the economic calendar. I focus on understanding the information behind upcoming events, market expectations, and the potential implications for
Platform: MT5 only (no MT4 needed). Deliverable: an MT5 Expert Advisor with full source code (.mq5) that replicates the attached TradingView strategy (Pine Script v6, based on LuxAlgo's "ICT Killzones Toolkit" order blocks) as exactly as possible. Pasting the code into TradingView shows how it operates. I normally trade GBPUSD on the 5-minute chart Expected behavior: - Order block detection must match the Pine code
Requirements Specification: Debug & Error Fixing: Review the entire source code of the MQL expert advisor. Identify and fix all logical errors, bugs, and performance issues that cause trades to close prematurely or yield extremely low profits. Strategy Restructuring & Optimization: Fully analyze and optimize the current entry and exit strategy for USDJPY and GBPUSD. Modify, upgrade, or completely rewrite the entry
I am looking for an MQL5 developer to independently review an existing EA’s execution and position management logic. The review should focus on duplicate orders, trade isolation by symbol and magic number, broker price and volume constraints, error handling, and recovery after a terminal restart. This order is for an audit report. Please do not modify the source or change the trading strategy. For each finding
I have an existing compiled MetaTrader 5 Expert Advisor (EX5) designed for automated XAUUSD scalping. I want an experienced developer to assess and implement a solution to execute the EA’s original trading strategy through my broker’s FIX API. Requirements: Confirm the technical feasibility of connecting an existing MT5 EA to a broker FIX API. Explain how to obtain FIX API access and credentials from the broker

Project information

Budget
30 - 80 USD
Deadline
from 4 to 10 day(s)