2 TF Heiken Ashi EA, with trailing stop

MQL4 전문가

작업 종료됨

실행 시간 2 일

명시

I'd like an MT4 EA created using a 2 time frame heiken ashi smoothed chart as baseline.  In the simplest terms, I want to take one trade at the close of a bar, that is contrary/inverse to the two-time-frame heiken ashi candles. So if the trend of TF1 and TF2 HA candles are both up, and the actual close price < open price then it would place a buy order, and visa versa for down TF1/TF2 HA bars.

I'd like it to open multiple total orders, in the same trade direction, but only one trade per new bar close.  

As far as SL/TP, I'd really like to have a trailing stop activated, based on the price movement during that bar.  I'm trying to catch a price surge.  So if the lastprice(bid/ask) is x# of pips from the bar open, a trailing stop would be activated.  The standard trailing stop movement of MT4 is fine.  I'm with a US broker, so I think putting the trailing stop on one open order, puts it on all, which is what I want.  So for a long position, it'd have this general logic.  "If positionprofit>0 and lastpbid>open+.0015, then activate trailingstop at bid - .0002".     The input variables for that would be like::::     Bar_Move : .00150, and TS_Start: .00020 

I did have someone do a job for me on here and while using an EA builder is fine, please just do the code to accomplish these things.  The job that person did had over 10,000 lines of code, most of it not needed.  And I do like to play with the code, so just try and keep it simple and clean to get the job done. thanks.  

I think that is pretty straightforward, but please message me if anything unclear.    I am on a 5 digit broker if that matters, and assume both mql and ex4 file will be included.

Here is a summary:

  1. EA for MT4, based on 2 time frame SMOOTHED Heiken Ashi, TF1(M15),TF2(H4) is ok to start
  2. TF1 & TF2 agree, to set trend, Place 1 order when the bar close is inverse of trend. .
  3. Multiple open entries in the same direction
  4. SL/TP - I don't normally do automatic SL/TP, so this is mostly for testing/optimizing)
  5. Trailing Stop Trigger - If the price moves x# of pips during the current bar, and the total position profit is positive, activate a trailing SL for all open orders on that chart.

Inputs:  This is my best guess of inputs, use whatever names you want and just add any others you think necessary. 

  • Ma Method1: 2
  • Ma Period1: 3
  • MA Method2: 2
  • MA Period2: 6
  • TF1: M15
  • TF2: H1
  • Lot: .01 
  • Maximum_Spread: 3    (Want to filter out wide spread events, so if the spread is move then this, do not take the trade)
  • SL: 0                      (don't use much, but good to have for testing)
  • TP: 0              (same)
  • Trailing_Stop_Move: 10 (if the last bid/ask is more than this number of pips away from the current bar open price, and the open account profit>0, activate a trailing stop for all open orders on the chart. Maybe a 0 will make the TS not active)
  • Trailing_Stop: 3     (this will be the starting point for the trailing stop, Pips away from the current price)  The trailing stop can move at the minimum increments after activation.


응답함

1
개발자 1
등급
(77)
프로젝트
241
73%
중재
7
100% / 0%
기한 초과
1
0%
무료
2
개발자 2
등급
(390)
프로젝트
416
30%
중재
74
19% / 70%
기한 초과
52
13%
작업중
3
개발자 3
등급
(7)
프로젝트
14
21%
중재
1
0% / 100%
기한 초과
3
21%
무료
4
개발자 4
등급
(1)
프로젝트
2
0%
중재
1
0% / 100%
기한 초과
0
무료
5
개발자 5
등급
(305)
프로젝트
548
35%
중재
79
32% / 42%
기한 초과
197
36%
로드됨
6
개발자 6
등급
(11)
프로젝트
18
28%
중재
4
50% / 50%
기한 초과
1
6%
무료
7
개발자 7
등급
(36)
프로젝트
45
2%
중재
6
33% / 17%
기한 초과
1
2%
무료
비슷한 주문
Company is looking for a reliable trading strategy for long-term use. We are only interested in algorithmic systems with logical and transparent entry/exit reasoning. Critical Condition: The use of any form of Martingale , Grid , averaging , or " sitting out " losses is strictly prohibited. Every trade must be accompanied by a fixed or calculated Stop Loss. Requirements for the Proposal: 1. Delivery Format: Full
need an trading expert advisor with full source code for supporting any timeframe, based on multiple indicator and condition (can be imported or built in), Requirment- EA must protected by password or Account number or date-time limit indicator used- EMA, SUPER TREND, VWAP, ATR ( maybe add more) optimized for high number of trading at a time one or more trade (custom number or till limit) fast execution
🔹 Project Description I need a very simple MT4 (MQL4) Expert Advisor to be used on a DEMO account . Main Purpose: When enabled, the EA must prevent opening any NEW trades , while allowing existing open trades to be managed and closed normally . Required Behavior: Do NOT close any open trades. Do NOT modify TP or SL. Prevent opening of: New initial trades New trade cycles Existing trades must continue until they
Salom, Menda allaqachon ishlaydigan MQL5 ekspert maslahatchisi bor . EA to'liq ishlaydi , savdolarni to'g'ri ochadi va boshqaradi hamda qat'iy qoidalarga asoslangan mantiqqa amal qiladi . Men noldan yangi EA yaratmoqchi emasman . 🔹 Allaqachon bajarilgan ishlar: EA MQL5 da yozilgan Strategiya mantig'i to'liq va barqaror Kundalik zona mantig'i to'g'ri ishlaydi Keyingi M5 shamida yozuv bajariladi O'zgartirish (teskari)
We are looking to acquire an existing, profitable EA that trades using price action–based logic . The EA must operate as a day-trading system with proper Stop Loss and Take Profit , and must NOT use grid, martingale, or high-frequency scalping . This is a buyout request — we want to purchase the complete strategy along with the full source code . We are not looking to develop a new EA from scratch. Therefore, if you
I want a reliable and broker-independent copy-trading solution that copies trades from a master MT5 account to multiple MT4 and/or MT5 client accounts. The system is designed for stable live trading and works with any broker, handling common differences in symbols, pricing, and execution. The copier supports full trade synchronization, including trade opening, closing, partial closes, and SL/TP modifications, with
EA for mt4 30+ USD
I'm looking for an experience developer that can help develop an EA based Strategy below into EA itself no issues if used martingale & fix lot . Symbol: XAUUSD i will explain to the developer more datils before doing the EA. i will send the indicator and the set point. 1- indicator extreme 2- stochastic Oscillator can you add lots of features to your EA which will be so much useful such as 1- Trailing stop 2-Break
Looking for an ea that pass prop firm accounts. Can be any instrument forex or indices. Proof must be provided either with an account it’s running on or a trial period EA. No screenshots
HFT MT5 EA - US30 150 - 250 USD
Job Offer: MQL5 Developer Needed for Prop Firm Challenge MT5 EA (US30 I am looking for an experienced MQL5 programmer to build a high-performance trading bot for MT5, designed to pass prop firm challenges with selected providers. The EA should be focused on index trading , specifically US30 (Dow Jones) Requirements: Proven expertise in MQL5 and algorithmic trading Development of a fast, automated
PAIR : EURUSD ONLY TIMEFRAME: M1 SESSION:LONDON SESSION ONLY(CONFIGURABLE START / END TIME) TREND FILTER: - USE VWAP AS MAIN TREND FILTER - BUY ONLY WHEN PRICE IS ABOVE VWAP - SELL ONLY WHEN PRICEIS IS BELLOW VWAP STRUCTURE CONDITION : - TRADE ONLY AFTER A VALID BOS (BREAK OF STRUCTURE) - BOS MUST BE IN THE SAME DIRECTION AS VWAP TREND -IGNORE COUNTER-TREND BOS ENTERY CONDITION (ORDER BLOCK ): - AFTER BOS , WAIT FOR

프로젝트 정보

예산
60+ USD
기한
에서 1  3 일