Create a custom MQL4 indicator that draws a sine wave on a price chart

MQL5 Uzman Danışmanlar

İş Gereklilikleri


Create a custom MQL4 indicator that draws a sine wave aligned to a fixed anchor bar on the main chart window as per the screen shot below. The wave should maintain its position across chart updates and platform restarts.

Inputs
BarsOnTheChartAtAnchor Number of bars from bar 0
Amplitude Amplitude of the sine wave (e.g. 0.0005 for 5 pips)
CycleLength Length (in bars) of one full sine wave cycle
PastColor Colour of the sine wave before the anchor bar
FutureColor Colour of the sine wave after the anchor bar

Behavior
The sine wave is centered on the midpoint (average of high and low) of the anchor bar. If BarsOnTheChartAtAnchor = 19300, and the chart currently has 19500 bars, the anchor is at index 19300 so 200 bars less than the current gars on the chart.
The wave must be calculated consistently across chart updates and platform restarts.
It should not shift as new bars arrive — it must stay anchored at the same bar index from bar 0.

The wave must draw:
Backwards in time (past) using PastColor
Forwards into the future using FutureColor
Draw directly in the main chart window, not a separate indicator window.
Draw full sine cycles extending backward and forward from the anchor bar, with the anchor at the cycle’s midpoint 




Yanıtlandı

1
Geliştirici 1
Derecelendirme
(25)
Projeler
33
24%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
4
12%
Serbest
2
Geliştirici 2
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(7)
Projeler
7
29%
Arabuluculuk
0
Süresi dolmuş
0
Yüklendi
4
Geliştirici 4
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
0
Çalışıyor
5
Geliştirici 5
Derecelendirme
(15)
Projeler
34
24%
Arabuluculuk
3
0% / 33%
Süresi dolmuş
2
6%
Çalışıyor
6
Geliştirici 6
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
7
Geliştirici 7
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
8
Geliştirici 8
Derecelendirme
(839)
Projeler
1433
72%
Arabuluculuk
117
29% / 47%
Süresi dolmuş
356
25%
Çalışıyor
Yayınlandı: 3 makale
9
Geliştirici 9
Derecelendirme
(2)
Projeler
2
50%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Çalışıyor
10
Geliştirici 10
Derecelendirme
(450)
Projeler
560
26%
Arabuluculuk
22
41% / 36%
Süresi dolmuş
85
15%
Serbest
Yayınlandı: 6 kod
11
Geliştirici 11
Derecelendirme
Projeler
0
0%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
0
Çalışıyor
12
Geliştirici 12
Derecelendirme
(5)
Projeler
8
13%
Arabuluculuk
0
Süresi dolmuş
0
Çalışıyor
13
Geliştirici 13
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
14
Geliştirici 14
Derecelendirme
(11)
Projeler
16
31%
Arabuluculuk
3
67% / 0%
Süresi dolmuş
0
Serbest
15
Geliştirici 15
Derecelendirme
(270)
Projeler
550
49%
Arabuluculuk
55
40% / 36%
Süresi dolmuş
227
41%
Çalışıyor
16
Geliştirici 16
Derecelendirme
(238)
Projeler
253
52%
Arabuluculuk
0
Süresi dolmuş
5
2%
Çalışıyor
17
Geliştirici 17
Derecelendirme
(1)
Projeler
1
100%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
18
Geliştirici 18
Derecelendirme
(75)
Projeler
231
73%
Arabuluculuk
6
100% / 0%
Süresi dolmuş
1
0%
Serbest
19
Geliştirici 19
Derecelendirme
(66)
Projeler
73
5%
Arabuluculuk
33
15% / 36%
Süresi dolmuş
6
8%
Çalışıyor
20
Geliştirici 20
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
I need to build an EA based on MA and Heikenashi and Chandelier exit ..All details will be shared with developer, EA is required early. EA need to have start and end time and daily profit setup
Description: Looking for a professional developer to build a smart trading bot for MT5 called AZIZ EA , based on my custom indicator logic (full logic provided), including: Pairs: XAUUSD, EURUSD, USDJPY 5 trading modes (Safe, Profit, Manual, Unlimited, Target) Free AI tools (news filter, momentum analysis, smart exit) Safe money management with dynamic lot sizing Alerts & push notifications 📄 Full specifications
Hello expert developer i need profitable ready made MT5 EA and i want to purchase it do let me know how much you want to sell the EA there must be backtesting with high win rate i need very profitable arbitrage EA I'll be looking forward to expert developer only please if you know you have zero idea about what am saying don't come and waste my time thank you very much
Project Overview: I need a trading bot that automatically detects and buys newly listed currencies from the Surge tab on Axiom Pro within milliseconds of listing, based on user-defined parameters. Axiom Pro has no API or websocket, but it uses TradingView as its chart/data source, so the bot must integrate via TradingView alerts or another viable method to achieve real-time execution. Core Requirements: Data Source &
hello great developer I’m looking for a skilled ProRealTime developer to replicate my TradingView “Master Pattern” indicator exactly (see Loom video and attached Pine Script). The final ProRealTime version must match TradingView visually and functionally, with an added table showing higher timeframe ATR, minor trend, and major trend
A Grid EA with a hedge that closes losing trades with current profits utilizes a grid trading strategy combined with hedging techniques to mitigate risk and potentially lock in profits. It involves placing buy and sell orders at predetermined price intervals, forming a grid. When a trade within the grid moves against the initial direction, a hedge (opposite position) is opened. If the market reverses, the losing
Posiada dostęp do oprogramowania Pine Script z platformą TradingView, która jest w pełni dostępna na MetaTrader 5 (MQL5) oraz MetaTrader 4 (MQL4). Dodanie dwa etapy: Tworzenie identycznego wskaźnika w MQL5 (z tymi samymi oznaczeniami, logiką i parametrami co w oryginalnym Pine Script). Na podstawie tego rozwiązania Expert Advisora (EA) w wersji MQL5 i MQL4, który będzie otwierał i zamykał znaczenie z sygnałami
Hello Great developer i have one existing work on trade station that i just need to correct two line and send me the correct code back i will be looking for a great developer that will build for it Thank Best regards
Modification 80+ USD
hello great developer This NT8 strategy is already coded but has issues: FVG interface not showing Position sizing mode 1 and 2 not calculating correctly Very few trades triggered (14 in 2 months) Logic might skip valid setups. Please review and fix Thanks
Hello Great Developer I need someone to automate my trading strategy to streamline operations and improve efficiency. Scope of work - Develop and implement an automated trading system based on my strategy. - Ensure compatibility with my current trading platform. - Provide ongoing support and updates as needed. Ideal Candidate - Experience in trading automation and algorithm development. - Proficient with trading

Proje bilgisi

Bütçe
30 - 200 USD
Son teslim tarihi
from 1 to 10 gün

Müşteri

Verilmiş siparişler1
Arabuluculuk sayısı0