Create period break indicator to represent S/R levels

MQL4 Indicators

Job finished

Execution time 1 day
Feedback from customer
Coder did an excellent and fast job. Very talented. Will hire again.
Feedback from employee
Clear specifications, fast checking & payment. Thanks!

Specification

Imagine the indicator placed on a H4 chart showing the weekly (10080) breaks as white vertical dotted lines, similar to “show period separators” in properties tab of MT4 chart. 

Solid Support/Resistance Lines#1:  

At period end (ex: at end of week), indicator will draw a solid horizontal line (red support line#1) across the length of the period, at the lowest price point of the period – if trend is UP (see below);
moreover, draw a solid horizontal line (blue resistance line#1), at the highest price point of the period – if trend is DWN (see below). 

Note#1: If chart candlestick is in current period (ex: any H4 in this current week), indicator will wait till end of period before drawing the above line. 

Note#2: There should be no simultaneous support and resistance lines visible on prior periods; instead, indicator will only show the support line if the trend is UP, or resistance line if trend is DWN. 

Dotted Support/Resistance Lines#2:  

At period beginning, draw a dotted horizontal line (red support line#2) across the length of the period, as an extension of the prior period’s red support line#1; moreover, draw a dotted horizontal line (blue resistance line#2) across the length of the period, as an extension of the prior period’s blue resistance line#1. 

Note#1: If chart candlestick is in current period (ex: any H4 in this current week), the indicator will draw the dotted lines, just as it does with all prior periods. 

Note#2: There should be no simultaneous support and resistance lines#2 visible on prior or current periods; instead, there will only show the dotted support line if the trend is UP, or will show the dotted resistance line if trend is DWN. 

Trend Direction

If at week end (period end), the chart candlestick (H4) at the end of the week ends lower than red support line#2, the trend has reversed to DWN; RED ARROW appears at this point, and only the blue resistance lines start to appear on succeeding charts, till another reversal (like below) occurs.  

If at week end (period end), the chart candlestick (H4) at the end of the week ends higher than blue resistance line #1, the trend has reversed to UP; BLUE ARROW appears at this point, and only the red support lines start to appear on succeeding charts, till another reversal (like above) occurs. 

Pip Distance Comments from S/R#2 Line and from Trend Reversal Arrow 

Chart will comment a dynamic field of pips distance from current candlestick close (H4) and dotted support line#2, if trend is UP; or from dotted resistance line#2, if trend is DWN. 

Pip Distance Comments from Trend Reversal Arrow  

Chart will comment a dynamic field of pips distance from reversal point, the red arrow marking when the chart candlestick ends the week lower than support line#2, or the blue arrow marking when the candlestick ends the week higher than resistance line#2. 

 /////

An example of a period break indicator is attached, though it does not have the S/R lines, Arrows, and Comments that I wish for.  

You may modify the attached indicator or create your own. 

 

Responded

1
Developer 1
Rating
(852)
Projects
1466
72%
Arbitration
123
28% / 47%
Overdue
359
24%
Working
Published: 3 articles
2
Developer 2
Rating
(41)
Projects
160
45%
Arbitration
16
13% / 50%
Overdue
48
30%
Free
3
Developer 3
Rating
(34)
Projects
80
34%
Arbitration
13
31% / 54%
Overdue
19
24%
Free
4
Developer 4
Rating
(564)
Projects
845
73%
Arbitration
15
53% / 13%
Overdue
193
23%
Free
5
Developer 5
Rating
(30)
Projects
93
49%
Arbitration
18
56% / 17%
Overdue
38
41%
Free
6
Developer 6
Rating
(556)
Projects
850
61%
Arbitration
33
27% / 45%
Overdue
24
3%
Free
Published: 1 code
7
Developer 7
Rating
(12)
Projects
17
35%
Arbitration
1
0% / 100%
Overdue
3
18%
Free
Similar orders
‎A trending candle followed by a smaller trending candle which is the second candle with no 5EMA ‎ ‎The 3rd candle is a reversal candle in which it and it's immidiate previous candle must be at least 70% of each other's body or equal body, with no 5EMA touch ‎ ‎the 3rd candle candle is followed immediately by the 4th candle which is the signal candle in which it and the 1st cabdle must be also at least 70% of
LynxMT5algo 30 - 100 USD
An mt5 add on indicator like gainalgo style to show entrance and exit areas for gold silver and Btc scalping. It will be used to make trading more easy for beginners
I have the Fisher Indicator shown below the chart. I need an alert added for when the Fisher Indicator hits the 50 point at the end of each period. GBPUSD and EURUSD 4H charts are provided and I can provide additional
Hello here, I need someone who can work on pinescript and also with Renko charts. My entries for my strategy would be based on stop orders Kindly let me know if you can work on this for me and i will send necessary file and quote in the chat
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
# SNRZ BOT — SESSION PROGRESS LOG Last updated: 2026-09-16 (local late-evening session) ## SAN BOT (new — cloned from SNRZ) - `MQL5\Experts\AutomatedOrderBot_SAN.mq5` / `.ex5` — v1.0, compiled 0 errors/0 warnings - Signal source: custom indicator "SAN" (InpSANName, buy buf 0 / sell buf 1, target bar 1), same SNRZ-style read, MA fallback if missing - Magic number 234567 (separate from SNRZ 123456 so both bots can run
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference
I need a custom MQL5 indicator for MetaTrader 5. The indicator must automatically print entry, stop loss, and take profit zones on the chart using dots. A critical requirement is that these dots must be non-lagging and absolutely non-repainting. Additionally, the indicator needs to identify and display current supply and demand zones. Please provide the mq5 source code and the ex5 file upon completion
I need an experienced trading-data specialist who can help me obtain 3–4 years of historical market data compatible with NinjaTrader 8 . The data will be used for trading strategy development, backtesting, and analysis

Project information

Budget
75- USD
Deadline
to 7 day(s)