An EA for indices based on 4x1-hr candles

Specification

I trade the G40 and Ws30 indices markets.  I trade them at the German open, and again at the Ws open.  I use a set of 4x 1-hour candles to determine the Hi and Lo for the European 'session', but only the 1st 1-hr candles for the open of the Ws session.

With regards to the morning session. if the close of the 4th 1-hr candle is higher than the open of the 1st 1-hr candle, this indicates a LONG market might be developing.  If the close of the 4th 1-hr candle is lower than the open of the 1st 1-hr candle, it suggests the market is trending lower.  (The actual direction isn't important so long as they are both the same.)

My method consists of comparing the direction of the 4x 1-hr candles for both indices.  If they are both travelling in the same direction, then entries can be ordered.  I refer to this as =Col(oured). If they are travelling in opposite directions, then it suggest confusion in those markets, there is no set-up and orders are not placed.  I refer to this a xCol(oured). 

Assuming the two indices are =Col then BUY orders are placed at the highest point in the 4x 1-hr candles for each index.  At the same time, SELL orders are placed at the lowest of the 4x 1-hr candles.  Limits are +200pips or -200pips respectively.  Stops are the breach of the opposite end.  In other words if the HI of the 4x 1-hr series is breached, then a BUY trade is triggered.  However, if the market reverses, the trade stays valid until the reversal breaches the LO, at which point the BUY is stopped out, but a SELL is entered.  Should the market reverse again, back along its original direction, this second trade remains valid until the reversal breaches the original HI.  As the market has reversed 2x, trading is then closed for the session.  {statistically, there may be an argument for a 3rd entry and allowance should be made for this.  So, in the above example the entries would be Breach of HI = BUY.  Subsequent breach of LO = Stop out of BUY and enter a SELL.  Subsequent 2nd reversal breach of the original HI = Stop out SELL and enter BUY once again.  Same Limits and Stops apply.  In all cases, any open trades should be closed and orders cancelled at the close of the 1st 1-hr candle of the Ws session.

The exact same method applies to the Ws session, except only the 1st 1-hr candle is used to determine if the G40 and Ws30 are =Col.  The other rules apply for entries, exits, etc.

I need an Expert Advisor to manage the Method, the entries and exits. 

Ideally an 'enter box' system would be good.  I could then manually determine the price, the limits, etc.  I may wish to change these from time to time as the Method evolves.

Responded

1
Developer 1
Rating
(219)
Projects
370
42%
Arbitration
145
17% / 41%
Overdue
124
34%
Free
Published: 38 codes
2
Developer 2
Rating
(25)
Projects
29
34%
Arbitration
3
67% / 0%
Overdue
1
3%
Free
3
Developer 3
Rating
(306)
Projects
550
35%
Arbitration
79
32% / 42%
Overdue
198
36%
Loaded
4
Developer 4
Rating
(94)
Projects
190
66%
Arbitration
8
25% / 50%
Overdue
2
1%
Free
5
Developer 5
Rating
(176)
Projects
227
19%
Arbitration
21
38% / 24%
Overdue
0
Working
6
Developer 6
Rating
(74)
Projects
73
47%
Arbitration
2
50% / 50%
Overdue
2
3%
Free
7
Developer 7
Rating
(45)
Projects
91
13%
Arbitration
34
26% / 59%
Overdue
37
41%
Free
8
Developer 8
Rating
(2293)
Projects
2887
63%
Arbitration
122
44% / 25%
Overdue
428
15%
Working
9
Developer 9
Rating
(2629)
Projects
3341
67%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
10
Developer 10
Rating
(511)
Projects
549
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
Similar orders
Project Title: MT5 Algo Trading EA (Single Strategy + License Panel + Ownership + Manual Trade) --- Project Description I am looking for an experienced MT5 (MQL5) developer to create a clean, stable and professional Algo Trading EA for my company and future clients. This is a long-term business project, not a one-time personal EA. --- 1. Strategy Requirements - Only 1 single trading strategy - No martingale - No grid
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
For only developer who understand Chaos/ Profiunity trading system by Bill WIlliams, Create The Profitunity System Trading based on Bill Williams Chaos theory, Trade based on Trend Affirmation in Daily, entry in H4, using Williams Fractal, Williams Alligator, Awesome Oscillator, Accelerator Oscillator, Market Facilitation Index. Balance Line, entry on Reversal, add on while market show continuation sign. Please quote
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
specification High-Frequency Candle Momentum Scalper 1. Strategy Overview Core Logic: The EA identifies the current color of the active candle (Bullish or Bearish). Entry Trigger: It opens positions only after a specific duration of the candle has passed (e.g., after 30 seconds on a 1-minute candle) to confirm the direction. 2. Entry Logic (The "Half-Candle" Rule) Timeframe: M1 (Default, but adjustable). Time Filter

Project information

Budget
100 - 300 USD
Deadline
to 30 day(s)