Transformation eines Indikators von PineScript in Mql5

MQL5 Indicators

Job finished

Execution time 21 hours
Feedback from customer
Well done! Good work, very fast!
Feedback from employee
Everything's fine. Thanks!

Specification

Hallo zusammen,


ich würde gerne die Berechnungslogik eines Indikators von Trading View in MQL5 haben. Ähnlicher Indikator in MQL5 ist vorhanden, jedoch passt die Berechnung nicht ganz überein.


//@version=4

study(title="Fisher Transform", shorttitle="Fisher", format=format.price, precision=2, resolution="")

len = input(9, minval=1, title="Length")

high_ = highest(hl2, len)

low_ = lowest(hl2, len)

round_(val) => val > .99 ? .999 : val < -.99 ? -.999 : val

value = 0.0

value := round_(.66 * ((hl2 - low_) / (high_ - low_) - .5) + .67 * nz(value[1]))

fish1 = 0.0

fish1 := .5 * log((1 + value) / (1 - value)) + .5 * nz(fish1[1])

fish2 = fish1[1]

hline(1.5, "1.5", color=#FFC5B5)

hline(0.75,"0.75", color=#C6C6C6)

hline(0, "0", color=#FFC5B5)

hline(-0.75, "-0.75", color=#C6C6C6)

hline(-1.5, "-1.5", color=#FFC5B5)

plot(fish1, color=#0094FF, title="Fisher")

plot(fish2, color=#FF6A00, title="Trigger")

Responded

1
Developer 1
Rating
(851)
Projects
1458
72%
Arbitration
122
29% / 48%
Overdue
356
24%
Working
Published: 3 articles
2
Developer 2
Rating
(361)
Projects
644
26%
Arbitration
92
72% / 14%
Overdue
12
2%
Working
Published: 1 code
3
Developer 3
Rating
(38)
Projects
50
10%
Arbitration
1
0% / 0%
Overdue
8
16%
Free

Project information

Budget
30+ USD
Deadline
from 1 to 3 day(s)