Нужно перенести индикатор с сайта TradingView

MQL5 Göstergeler Dönüştürme

İş tamamlandı

Tamamlanma süresi: 7 dakika
Müşteri tarafından geri bildirim
Все отлично. Спасибо!
Geliştirici tarafından geri bildirim
Благодарен за заказ и за отзыв. Обращайтесь. Любую вашу задачу выполню качественно.

Şartname

Нужно перенести индикатор с сайта TradingView на MQL5 - BB% of MFI/RSI [Modified from LazyBear].

Исходный код:

 @author LazyBear

 RSIMFI with Bollinger Bands. Dynamic OversoldOverbought levels, yayy!

 I add the BB period setting as told by John Bollinger's Book. 

study(title = BB% of MFIRSI [Modified from LazyBear], shorttitle=BB%MFIRSI[LB])

source = hlc3

length = input(14, minval=1), mult = input(2.0, minval=0.001, maxval=50), bblength = input(50, minval=1, title=BB Period)

DrawRSI_f=input(true, title=Draw RSI, type=bool)

DrawMFI_f=input(false, title=Draw MFI, type=bool)

HighlightBreaches=input(true, title=Highlight OversoldOverbought, type=bool)


DrawMFI = (not DrawMFI_f) and (not DrawRSI_f)  true  DrawMFI_f

DrawRSI = (DrawMFI_f and DrawRSI_f)  false  DrawRSI_f

 RSI

rsi_s = DrawRSI  rsi(source, length)  na

plot(DrawRSI  rsi_s  na, color=maroon, linewidth=2)


 MFI

upper_s = DrawMFI  sum(volume  (change(source) = 0  0  source), length)  na

lower_s = DrawMFI  sum(volume  (change(source) = 0  0  source), length)  na

mf = DrawMFI  rsi(upper_s, lower_s)  na

plot(DrawMFI  mf  na, color=green, linewidth=2)



 Draw BB on indices

bb_s = DrawRSI  rsi_s  DrawMFI  mf  na

basis = sma(bb_s, length)

dev = mult  stdev(bb_s, bblength)

upper = basis + dev

lower = basis - dev

plot(basis, color=red)

p1 = plot(upper, color=blue)

p2 = plot(lower, color=blue)

fill(p1,p2, blue)


b_color = (bb_s  upper)  red  (bb_s  lower)  green  na

bgcolor(HighlightBreaches  b_color  na)

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(267)
Projeler
599
35%
Arabuluculuk
64
20% / 58%
Süresi dolmuş
147
25%
Çalışıyor
Yayınlandı: 1 makale, 22 kod
2
Geliştirici 2
Derecelendirme
(574)
Projeler
945
47%
Arabuluculuk
309
58% / 27%
Süresi dolmuş
125
13%
Serbest
3
Geliştirici 3
Derecelendirme
(54)
Projeler
102
23%
Arabuluculuk
12
25% / 17%
Süresi dolmuş
13
13%
Serbest
4
Geliştirici 4
Derecelendirme
(298)
Projeler
477
40%
Arabuluculuk
105
40% / 24%
Süresi dolmuş
81
17%
Yüklendi
Yayınlandı: 2 kod

Proje bilgisi

Bütçe
50+ USD
Son teslim tarihi
to 3 gün