Market Multi-Timeframe Pattern Detection & Alert System — Development Brief

Python 컨설팅 Python

명시

1. Project Overview

I would like to develop a market-monitoring and notification system that automatically analyses historical price action on a higher timeframe, identifies a specific price level according to a predefined rule, and then monitors a corresponding lower timeframe for a confirmation/breakout condition.

The system should allow multiple timeframe combinations and multiple financial instruments to be monitored simultaneously.

The initial pattern logic is based on identifying a bullish candle that is immediately followed by a bearish candle, selecting the qualifying bullish candle with the highest closing price, and then monitoring the corresponding lower timeframe for a bullish close above that level.

The system should automatically:

  1. Obtain historical OHLC data.

  2. Analyse the previous completed candle/day/week/month/year on the selected higher timeframe.

  3. Identify the qualifying bullish → bearish pattern.

  4. Determine the relevant resistance level.

  5. Switch to the corresponding lower monitoring timeframe.

  6. Monitor the current price action on that lower timeframe.

  7. Detect when the defined breakout/confirmation condition occurs.

  8. Send a notification via mobile and/or email.

  9. Record the setup and alert in the dashboard/history.

The initial objective is a functional MVP, preferably using free or very low-cost data sources and infrastructure where possible.


2. Multi-Timeframe Architecture

A key requirement is that the system must support a higher timeframe (HTF) for identifying the setup and a corresponding lower timeframe (LTF) for monitoring the confirmation/breakout.

The timeframe relationship should initially be:

Higher Timeframe Monitoring Timeframe
Yearly Monthly
Monthly Daily
Weekly H4
Daily H1
H1 M5

Therefore:

Yearly → Monthly

Monthly → Daily

Weekly → H4

Daily → H1

H1 → M5

The purpose is to use the higher timeframe to establish the important price level and then use the lower timeframe to identify a more precise confirmation/breakout.


3. Higher-Timeframe Setup Identification

The system should analyse the previous completed period on the selected higher timeframe.

For example:

If HTF = Daily

Analyse the previous trading day's H1 candles to establish the setup.

If HTF = H1

Analyse the previous H1 candle's M5 price action.

If HTF = Weekly

Analyse the previous week's H4 candles.

If HTF = Monthly

Analyse the previous month's Daily candles.

If HTF = Yearly

Analyse the previous year's Monthly candles.

The exact implementation should preserve the same underlying pattern logic across these timeframe combinations.

In other words, the system should use the higher timeframe as the reference period and the associated lower timeframe to analyse the price action contained within that reference period.


4. Core Pattern Logic

Within the relevant higher-timeframe period, the system must analyse the corresponding lower-timeframe candles.

A bullish candle is defined as:

Close > Open

A bearish candle is defined as:

Close < Open

The system must identify every instance where:

A bullish lower-timeframe candle is immediately followed by a bearish lower-timeframe candle.

For example, for a Daily → H1 setup:

PREVIOUS DAY — H1 09:00 Bullish 10:00 Bearish ← qualifying pair 11:00 Bullish 12:00 Bullish ← does not qualify 13:00 Bullish 14:00 Bearish ← qualifying pair

The same principle applies to all timeframe combinations.


5. Selecting the Relevant Bullish Candle

After identifying all qualifying bullish → bearish pairs within the relevant higher-timeframe period, the system must compare the closing prices of the qualifying bullish candles.

The system must select:

The qualifying bullish candle with the highest closing price.

The system should NOT select based on:

  • Highest wick/high;

  • Largest candle body;

  • Largest percentage move;

  • Most recent qualifying candle.

It must specifically select the qualifying bullish candle with the highest closing price.


6. Resistance Level

The closing price of the selected bullish candle becomes the resistance level for the subsequent monitoring period.

For example:

Daily HTF

Previous day contains several H1 bullish → bearish pairs.

The highest qualifying bullish H1 candle closes at:

24,150

Therefore:

24,150 becomes the resistance level for today's monitoring.

The system then monitors the corresponding lower timeframe according to the configured timeframe relationship.


7. Lower-Timeframe Monitoring

Once the resistance level has been established, the system monitors the corresponding lower timeframe.

The monitoring timeframe depends on the selected higher timeframe:

Setup Timeframe Confirmation Timeframe
Yearly Monthly
Monthly Daily
Weekly H4
Daily H1
H1 M5

The system waits for a bullish candle on the monitoring timeframe to close above the resistance level.

The breakout condition is:

Monitoring candle Close > Monitoring candle Open

AND

Monitoring candle Close > Resistance Level

If both conditions are satisfied:

TRIGGER ALERT.


8. Example — Daily → H1

Suppose the selected higher timeframe is Daily.

The system analyses the previous trading day's H1 candles.

It finds:

09:00 Bullish → 10:00 Bearish
13:00 Bullish → 14:00 Bearish
15:00 Bullish → 16:00 Bearish

The qualifying bullish candle closing prices are:

24,050 24,100 24,150

Therefore:

Resistance = 24,150

The system then monitors today's H1 candles.

09:00 H1
Open: 24,100
Close: 24,120
→ Bullish but below resistance
→ No alert

10:00 H1
Open: 24,120
Close: 24,140
→ Bullish but below resistance
→ No alert

11:00 H1
Open: 24,140
Close: 24,185
→ Bullish
→ Close above 24,150
→ ALERT

9. Example — Weekly → H4

If the selected higher timeframe is Weekly:

  1. Take the previous completed trading week.

  2. Analyse its H4 candles.

  3. Identify bullish H4 candles immediately followed by bearish H4 candles.

  4. Find the qualifying bullish H4 candle with the highest closing price.

  5. Use that closing price as the resistance level.

  6. During the current week, monitor H4 candles.

  7. Alert when an H4 bullish candle closes above that level.


10. Example — Monthly → Daily

If the selected higher timeframe is Monthly:

  1. Take the previous completed month.

  2. Analyse its Daily candles.

  3. Identify bullish Daily candles immediately followed by bearish Daily candles.

  4. Find the qualifying bullish Daily candle with the highest closing price.

  5. Use that closing price as the resistance level.

  6. During the current month, monitor Daily candles.

  7. Alert when a Daily bullish candle closes above that level.


11. Example — Yearly → Monthly

If the selected higher timeframe is Yearly:

  1. Take the previous completed year.

  2. Analyse its Monthly candles.

  3. Identify bullish Monthly candles immediately followed by bearish Monthly candles.

  4. Find the qualifying bullish Monthly candle with the highest closing price.

  5. Use that closing price as the resistance level.

  6. During the current year, monitor Monthly candles.

  7. Alert when a Monthly bullish candle closes above that level.


12. Timeframe Configuration

The timeframe relationships should ideally be configurable rather than hard-coded.

The initial default mapping should be:

Yearly → Monthly Monthly → Daily Weekly → H4 Daily → H1 H1 → M5

I would like the architecture to allow additional timeframe relationships to be added later.


13. Multiple Instruments + Multiple Timeframes

The system should be capable of monitoring multiple instruments and multiple timeframe combinations simultaneously.

For example:

Instrument HTF Monitoring TF Status
NAS100 Daily H1 Watching
XAUUSD Daily H1 Triggered
EURUSD H1 M5 Watching
BTCUSD Weekly H4 Watching
US30 Monthly Daily Watching

Each instrument/timeframe combination should operate independently.


14. Dashboard

The remotely accessible dashboard should display the active setups.

Ideally:

Instrument HTF Monitor TF Resistance Status
NAS100 Daily H1 24,150 🟢 Watching
XAUUSD Daily H1 3,742 🔴 Triggered
BTCUSD Weekly H4 112,500 🟢 Watching

The dashboard should ideally allow me to:

  • Add/remove instruments;

  • Select the higher timeframe;

  • See the automatically selected monitoring timeframe;

  • View the resistance level;

  • See the qualifying source candle;

  • See when the setup was created;

  • See whether the alert has triggered;

  • View previous alerts;

  • Enable/disable alerts.


15. Remote Access

The dashboard should preferably be cloud-hosted and accessible remotely via a web browser.

I do not want the system to depend on my personal computer being switched on.

Ideally:

  • Accessible from desktop;

  • Accessible from mobile browser;

  • Secure login;

  • Data stored remotely;

  • Monitoring continues 24/7 without my computer being online;

  • Dashboard updates automatically;

  • Mobile-friendly interface;

  • Potentially installable as a PWA/home-screen web app in the future.


16. Alert Logic

The alert should only trigger when the monitoring-timeframe candle has fully closed.

It should NOT trigger merely because price trades above the resistance intrabar.

For example:

Resistance = 108.

Monitoring candle:

  • Open = 105

  • High = 110

  • Close = 107

No alert.

Even though price traded above 108, the candle closed below the resistance.

Instead:

  • Open = 105

  • High = 110

  • Close = 109

Alert.

Because:

Close > Open

and

Close > Resistance


17. Duplicate Alerts

By default, there should be one initial breakout alert per instrument/timeframe setup.

Once the setup has triggered:

Resistance = 108

Candle 1 closes 109 → ALERT
Candle 2 closes 111 → No second alert
Candle 3 closes 115 → No second alert

This should ideally be configurable in the future.


18. Alert Message

A notification should contain enough information to understand the setup without opening the dashboard.

For example:

H1 BREAKOUT ALERT — NAS100

HTF: Daily
Monitoring TF: H1
Previous-day resistance: 24,150
Breakout candle: 11:00 H1
Open: 24,140
Close: 24,185
Status: Bullish close above resistance

For a different timeframe:

H4 BREAKOUT ALERT — BTCUSD

HTF: Weekly
Monitoring TF: H4
Previous-week resistance: 112,500
Breakout candle: 12:00 H4
Close: 113,100


19. Future Expansion

The architecture should ideally allow additional pattern rules to be added later.

For example:

  • Bearish equivalent of the current setup;

  • Support identification;

  • Previous-day high/low;

  • Previous-week high/low;

  • Daily pivots;

  • Asia session levels;

  • London session levels;

  • Multiple candle patterns;

  • Different confirmation conditions;

  • Additional timeframe combinations;

  • Multiple rules running simultaneously.

The current bullish → bearish → highest qualifying close → lower-timeframe bullish breakout rule should therefore be treated as Rule #1.

The ultimate objective is to create a general market-condition alert engine rather than a single-purpose indicator.


20. Core Logic — Developer Summary

The system should operate according to the following general framework:

Step 1 — Select HTF

User selects:

  • Yearly

  • Monthly

  • Weekly

  • Daily

  • H1

Step 2 — Automatically select monitoring timeframe

Yearly → Monthly Monthly → Daily Weekly → H4 Daily → H1 H1 → M5

Step 3 — Analyse the previous completed HTF period

Within that period, analyse the associated lower timeframe candles.

Step 4 — Identify qualifying candle pairs

Find every:

Bullish candle ( C > O )

immediately followed by:

Bearish candle ( C < O )

Step 5 — Select the highest closing bullish candle

Compare the Close of every qualifying bullish candle.

Select the one with the highest Close.

Step 6 — Establish resistance

The selected bullish candle's Close = Resistance Level.

Step 7 — Monitor the current period

Watch the corresponding lower timeframe.

Step 8 — Detect confirmation

Trigger when:

Current monitoring candle Close > Current monitoring candle Open

AND

Current monitoring candle Close > Resistance

Step 9 — Notify

Send mobile/email notification.

Step 10 — Record

Store the setup and alert in the database/dashboard for future analysis.


21. MVP Requirement

For the MVP, I would like the developer to focus on getting the following working reliably:

Multiple instruments + multiple HTF/LTF combinations + automatic previous-period analysis + resistance identification + lower-timeframe breakout detection + notification + remotely accessible dashboard.

The initial timeframe mapping is:

Yearly → Monthly

Monthly → Daily

Weekly → H4

Daily → H1

H1 → M5

The system should be designed so that additional rules, instruments and timeframe combinations can be added later without having to rebuild the entire application.


응답함

1
개발자 1
등급
(642)
프로젝트
750
35%
중재
50
52% / 38%
기한 초과
14
2%
작업중
2
개발자 2
등급
(111)
프로젝트
184
25%
중재
25
16% / 76%
기한 초과
16
9%
무료
3
개발자 3
등급
(17)
프로젝트
21
19%
중재
5
40% / 40%
기한 초과
0
무료
4
개발자 4
등급
(22)
프로젝트
28
7%
중재
9
33% / 33%
기한 초과
1
4%
작업중
5
개발자 5
등급
(319)
프로젝트
574
35%
중재
84
31% / 44%
기한 초과
207
36%
작업중
6
개발자 6
등급
(3)
프로젝트
3
0%
중재
1
0% / 100%
기한 초과
0
무료
7
개발자 7
등급
(408)
프로젝트
527
24%
중재
62
58% / 24%
기한 초과
60
11%
작업중
8
개발자 8
등급
(7)
프로젝트
6
0%
중재
4
25% / 75%
기한 초과
2
33%
무료
9
개발자 9
등급
(22)
프로젝트
29
3%
중재
4
25% / 0%
기한 초과
3
10%
무료
10
개발자 10
등급
(3)
프로젝트
4
75%
중재
0
기한 초과
0
무료
11
개발자 11
등급
(64)
프로젝트
145
46%
중재
21
38% / 24%
기한 초과
32
22%
무료
12
개발자 12
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
13
개발자 13
등급
(24)
프로젝트
35
40%
중재
9
22% / 33%
기한 초과
5
14%
로드됨
게재됨: 9 기고글, 35 코드
14
개발자 14
등급
(19)
프로젝트
22
18%
중재
9
33% / 44%
기한 초과
3
14%
작업중
게재됨: 2 코드
15
개발자 15
등급
(469)
프로젝트
823
49%
중재
76
21% / 51%
기한 초과
143
17%
작업중
16
개발자 16
등급
(1)
프로젝트
1
0%
중재
0
기한 초과
0
무료
게재됨: 4 코드
17
개발자 17
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
18
개발자 18
등급
(60)
프로젝트
96
43%
중재
4
0% / 100%
기한 초과
4
4%
무료
19
개발자 19
등급
(31)
프로젝트
39
46%
중재
4
50% / 50%
기한 초과
3
8%
무료
20
개발자 20
등급
(20)
프로젝트
29
3%
중재
4
0% / 100%
기한 초과
5
17%
무료
21
개발자 21
등급
(13)
프로젝트
23
39%
중재
8
0% / 50%
기한 초과
4
17%
무료
22
개발자 22
등급
(2)
프로젝트
2
0%
중재
1
0% / 100%
기한 초과
0
무료
23
개발자 23
등급
(81)
프로젝트
112
56%
중재
6
83% / 17%
기한 초과
5
4%
작업중
24
개발자 24
등급
(16)
프로젝트
30
40%
중재
3
33% / 67%
기한 초과
7
23%
작업중
25
개발자 25
등급
(2354)
프로젝트
2960
63%
중재
125
44% / 26%
기한 초과
429
14%
작업중
26
개발자 26
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
27
개발자 27
등급
(6)
프로젝트
12
67%
중재
1
0% / 0%
기한 초과
5
42%
로드됨
게재됨: 6 코드
28
개발자 28
등급
(4)
프로젝트
11
55%
중재
1
100% / 0%
기한 초과
0
무료
29
개발자 29
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
30
개발자 30
등급
(13)
프로젝트
14
64%
중재
0
기한 초과
0
무료
31
개발자 31
등급
(190)
프로젝트
204
47%
중재
4
50% / 25%
기한 초과
1
0%
작업중
32
개발자 32
등급
(2)
프로젝트
2
0%
중재
1
0% / 0%
기한 초과
1
50%
무료
33
개발자 33
등급
(20)
프로젝트
26
38%
중재
6
33% / 50%
기한 초과
0
무료
34
개발자 34
등급
(372)
프로젝트
464
56%
중재
24
58% / 17%
기한 초과
32
7%
작업중
35
개발자 35
등급
(216)
프로젝트
284
20%
중재
28
61% / 14%
기한 초과
0
작업중
36
개발자 36
등급
(2680)
프로젝트
3432
68%
중재
78
49% / 14%
기한 초과
343
10%
작업중
게재됨: 1 코드
37
개발자 37
등급
(15)
프로젝트
15
33%
중재
1
0% / 100%
기한 초과
1
7%
무료
38
개발자 38
등급
(55)
프로젝트
92
24%
중재
8
75% / 13%
기한 초과
44
48%
무료
39
개발자 39
등급
(1)
프로젝트
1
0%
중재
0
기한 초과
0
무료
40
개발자 40
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
41
개발자 41
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
42
개발자 42
등급
(1)
프로젝트
1
0%
중재
0
기한 초과
0
무료
게재됨: 4 코드
43
개발자 43
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
44
개발자 44
등급
(83)
프로젝트
100
34%
중재
9
22% / 56%
기한 초과
5
5%
무료
45
개발자 45
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
46
개발자 46
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
47
개발자 47
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
48
개발자 48
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
49
개발자 49
등급
(1)
프로젝트
1
0%
중재
0
기한 초과
1
100%
무료
50
개발자 50
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
51
개발자 51
등급
(8)
프로젝트
8
0%
중재
2
50% / 0%
기한 초과
1
13%
작업중
52
개발자 52
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
53
개발자 53
등급
(6)
프로젝트
8
38%
중재
1
0% / 100%
기한 초과
0
무료
54
개발자 54
등급
(78)
프로젝트
248
74%
중재
7
100% / 0%
기한 초과
1
0%
무료
게재됨: 2 기고글, 1 코드
55
개발자 55
등급
(25)
프로젝트
33
18%
중재
6
50% / 33%
기한 초과
4
12%
무료
56
개발자 56
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
57
개발자 57
등급
(25)
프로젝트
31
13%
중재
14
0% / 79%
기한 초과
9
29%
무료
58
개발자 58
등급
(1)
프로젝트
1
0%
중재
1
0% / 100%
기한 초과
0
작업중
59
개발자 59
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
60
개발자 60
등급
(55)
프로젝트
69
42%
중재
16
31% / 56%
기한 초과
1
1%
작업중
61
개발자 61
등급
(1)
프로젝트
1
0%
중재
0
기한 초과
0
무료
62
개발자 62
등급
(1)
프로젝트
1
0%
중재
0
기한 초과
0
무료
게재됨: 5 코드
63
개발자 63
등급
(10)
프로젝트
12
0%
중재
3
33% / 33%
기한 초과
0
무료
64
개발자 64
등급
(24)
프로젝트
32
38%
중재
4
50% / 25%
기한 초과
5
16%
작업중
65
개발자 65
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
66
개발자 66
등급
(45)
프로젝트
53
57%
중재
2
100% / 0%
기한 초과
1
2%
무료
게재됨: 5 코드
67
개발자 67
등급
프로젝트
0
0%
중재
1
0% / 100%
기한 초과
0
무료
68
개발자 68
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
69
개발자 69
등급
(3)
프로젝트
3
0%
중재
0
기한 초과
0
무료
게재됨: 3 코드
70
개발자 70
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
71
개발자 71
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
72
개발자 72
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
73
개발자 73
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
74
개발자 74
등급
(574)
프로젝트
945
47%
중재
309
58% / 27%
기한 초과
125
13%
무료
75
개발자 75
등급
(298)
프로젝트
478
40%
중재
105
40% / 24%
기한 초과
82
17%
로드됨
게재됨: 2 코드
비슷한 주문
Hello, I'm looking for a developer who can build an automated trading bot (Expert Advisor) for MetaTrader 5 (MT5). I want a smart trading robot that can scan the markets, identify high-probability trading opportunities, and automatically execute trades. Strategies and indicators I'd like included: RSI (75 overbought / 25 oversold). MACD crossover with strong momentum. 9/21 EMA crossover. 20/50 SMA crossover. Smart
I’m looking for someone who can develop and optimize high-quality strategies/setfiles for my existing, custom-built Martingale EA. I will be selecting a developer within the next few hours. I immediately reject applicants who don’t clearly explain their approach and what they plan to do. I want to know your strategy, your methodology, and exactly how you intend to tackle this. Please explain your plans in detail
🚀 THE AIRAK PHASE 3: SUBSCRIPTION, PAYMENT, LICENSING & AFFILIATE SYSTEM Project: THE AIRAK Trading Assistant Development Phase: Phase 3 Project Owner: Kayemba Joseph Platform: MetaTrader 5 (MT5) 1. PROJECT OBJECTIVE Phase 3 is intended to transform THE AIRAK into a subscription-based trading software business. The system should allow customers to register, purchase subscriptions, receive automatically activated
Robert for life money's cash maximum 16mb the jobs future linuox Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event . When the event occurs, the robot checks the emergence of trading signals and acts
Okay, this is a big one for MT5 traders. Let's do it properly. In Python, the "Merge Tool" usually means 2 things: 1. *Merge MT5 data from different symbols / timeframes into one DataFrame* 2. *Plot it as a clean graph* Here is a complete working setup: *Step 1: Install* pip install MetaTrader5 pandas matplotlib mplfinance *Step 2: Full Code - Get MT5 Data + Merge + Plot* import MetaTrader5 as mt5 import pandas as pd
I need an independent review of an existing MT5 EA and Python AI bridge. Fixed budget: USD 50 for an initial audit only, not a complete rewrite or profitability guarantee. Please prioritize: 1. Duplicate/stale commands and account/group isolation. 2. Shared position limits and cross-group closing, including partial failures. 3. Restart recovery, stale status, deployment failures and credential protection. Deliver a
I am looking for a quantitative strategy researcher and MQL5 developer to help research, validate and prototype a fast automated XAUUSD trading system for MT5. The target is tick-level trading with positions typically held for seconds, closely spaced entries, and configurable bursts of multiple positions during a qualifying opportunity. IMPORTANT: We do not yet have a validated profitable strategy. I need someone who
un écosystème logiciel asynchrone multi-comptes dopé par un module de supervision par Intelligence Artificielle (Guardian AI). La solution assure le pilotage automatisé, le filtrage de marché en temps réel et le contrôle des risques pour 20+ comptes MetaTrader 4/5 (via MetaApi) et Deriv sur VPS Equinix NY4. vous aurez plus de detail dans les échanges
Specification 1. Objective To acquire or develop a technological solution that allows the generation of temporary “FLASH” USDT on the TRON (TRC20) network, with an on-chain lifespan equal to or greater than 180 days . 2. Functional Scope 2.1 FLASH USDT Generation Creation of temporary USDT tokens visible on the TRON TRC20 blockchain. Minimum lifespan: 180 days (or higher, depending on configuration). 2.2
RA_BOT 2.0 36+ USD
//@version=4 study(title="UT Bot Alerts", overlay = true) // Inputs a = input(1, title = "Key Vaule. 'This changes the sensitivity'") c = input(10, title = "ATR Period") h = input(false, title = "Signals from Heikin Ashi Candles") xATR = atr(c) nLoss = a * xATR src = h ? security(heikinashi(syminfo.tickerid), timeframe.period, close, lookahead = false) : close xATRTrailingStop = 0.0 xATRTrailingStop := iff(src >

프로젝트 정보

예산
30 - 150 USD