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)
프로젝트
243
74%
중재
7
100% / 0%
기한 초과
1
0%
무료
게재됨: 1 기고글
2
개발자 2
등급
(390)
프로젝트
416
30%
중재
74
19% / 72%
기한 초과
52
13%
작업중
3
개발자 3
등급
(7)
프로젝트
14
21%
중재
1
0% / 100%
기한 초과
3
21%
무료
4
개발자 4
등급
(1)
프로젝트
2
0%
중재
1
0% / 100%
기한 초과
0
무료
5
개발자 5
등급
(308)
프로젝트
552
35%
중재
79
32% / 42%
기한 초과
199
36%
로드됨
6
개발자 6
등급
(11)
프로젝트
18
28%
중재
4
50% / 50%
기한 초과
1
6%
무료
7
개발자 7
등급
(36)
프로젝트
45
2%
중재
6
33% / 17%
기한 초과
1
2%
무료
비슷한 주문
Trailing Stop Based on Thresholds . Other Necessary Filters already Coded . Live Chart Only . The strategy already coded - needs a fresh new draft . To Start from Signal Trigger
MT5 backtestest helper 30 - 200 USD
Sure 😊 — here’s a simple file-style write-up about your robot that you ordered on MetaTrader 4. You can copy it into Word or save it as a document. Title: My Trading Robot on MetaTrader 4 Introduction I recently ordered a trading robot on MetaTrader 4 to help me trade in the financial markets. A trading robot, also known as an Expert Advisor (EA), is a program that automatically analyzes the market and places trades
I am looking for a partner to invest in a Forex robot. The robot works well in the live market and has a very good profit. A friend who has a large capital, please send a message for cooperation
I am looking for a professional MQL5 developer to build a structured MT5 Expert Advisor. This is NOT a martingale or high-risk grid bot. Platform: • MT5 only (MQL5 source code required) Symbols: • XAUUSD • GBPUSD • GBPJPY Timeframe: • M5 Risk Management: • Adjustable risk per trade (default 0.5% equity) • Daily drawdown protection (max 3%, auto-lock trading for the day) • Maximum 2 open trades • Minimum 120 seconds
hello great developer ’m looking for an experienced NinjaTrader developer to help set up software on my VPS, create custom chart templates with multiple indicators, and build an arbitrage dashboard/trade copier system. The project includes multi-account management and integration with Bookmap. I need a custom dashboard to monitor and control multiple accounts efficiently. Please message me if you have strong
I want to modify my NT8 indicator to change its arrow printing logic so that arrows appear on the first candled dot, not after the series. no repaint and no back painting. all in real time. This will help me get timely signals. Scope of work - Modify NT8 indicator logic to print arrows on the first candled dot. - Ensure arrow print matches 90%+ accuracy compared to the current functionality. - Adjust the indicator to
What informtion would you need for Ninjatrader futures automated trading and how long would it take ? if anyone can give me answer i will be happy to discuss more about the project thanks fill free to bid to the project thanks
Hello, I need a MetaTrader 5 manual trading assistant panel (NOT an auto trading EA). MAIN IDEA This tool should work like the TradingView long/short position tool inside MT5. Trader workflow: 1) Enter Risk % 2) Enter RR ratio 3) Click SET ENTRY 4) Drag Stop Loss line on chart 5) Lot size and Take Profit calculate automatically 6) Press BUY or SELL to execute trade No trailing stop, no breakeven, no automatic trade
MT5 DEV NEEDED 60+ USD
Hello I'm looking to develop an Expert Advisor (EA) based on my existing indicator EA that uses TrendX600 on the 1-minute timeframe. My objective is to create a scalping bot that can successfully capture one box (60-second candle movement) at a time. If the EA can consistently capture one clean 60-second box without spikes, and repeat this process 4 to 5 times within 24 hours, that would meet my trading goal. To work
I have an existing MT4 MACD Convergence\Divergence indicator that I would like converted to a MT5 expert that will execute orders once a trigger is met. The existing indicator draws lines on the chart and provides a MACD indicator window. At a minimum I would like the existing MT4 indicator convert to a MT5 indicator

프로젝트 정보

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