Convert Pinescript indicator into MQL5

Работа завершена

Время выполнения 3 дня
Отзыв от исполнителя
5-stars customer. It was a pleasure to work with him ;)

Техническое задание

I have the following Tradingview pinescript code that i would like to convert to MQ5 indicator 
I would like to keep all the pinescript settings and add the following
1. alert notification and push alert

2. option to change the SHAPE, SIZE and color of the buy sell arrows

                             

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © paka nyeusi
//@version=4

study("KAMA", overlay=true, max_bars_back=5000)

Price = input(hl2, title = "Price")
PeriodF = input(13, title = "PeriodF")
PeriodS = input(55, title = "PeriodS")
EnableSmooth = input(false, title = "EnableSmooth")

AMA(Period, Price) =>
        //Vars: 
        Noise = 0.00
        Signal = 0.00
        Diff = 0.00
        efRatio = 0.00 
        Smooth = 1.00
        Fastest = 0.6667
        Slowest = 0.0645 
        AdaptMA = 0.00
        AMA = 0.00
        
        Diff := abs(Price - nz(Price[1]))
        if bar_index <= Period
                AdaptMA := Price
        if bar_index > Period
                Signal := abs(Price - nz(Price[Period]))
                Noise := sum(Diff, Period)
                efRatio := Signal / Noise
                Smooth := pow(efRatio * (Fastest - Slowest) + Slowest, 2)
                AdaptMA := nz(AdaptMA[1]) + Smooth * (Price - nz(AdaptMA[1]))
        AMA := AdaptMA
        AMA

AMAF(Period, Pcnt, Price) =>
        //Vars: 
        Noise = 0.00 
        Signal = 0.00
        Diff = 0.00
        efRatio = 0.00 
        Smooth = 1.00
        Fastest = 0.6667
        Slowest  = 0.0645
        AdaptMA = 0.00
        AMAFltr = 0.00
        AMAF  = 0.00
        
        Diff := abs(Price - nz(Price[1]))
        if bar_index <= Period
                AdaptMA := Price
        
        if bar_index > Period
                Signal := abs(Price - nz(Price[Period]))
                Noise := sum(Diff, Period)      
                efRatio := Signal / Noise       
                Smooth := pow(efRatio * (Fastest - Slowest) + Slowest, 2)
                AdaptMA := nz(AdaptMA[1]) + Smooth * (Price - nz(AdaptMA[1]))
                AMAFltr := stdev(AdaptMA-nz(AdaptMA[1]), Period) * Pcnt
        AMAF := AMAFltr

//Vars: 
AMAValF = 0.00  
AMAValS = 0.00  

AMAValF := EnableSmooth ? linreg(AMA(PeriodF, Price), PeriodF, 0) :AMA(PeriodF, Price)
AMAValS := EnableSmooth ? linreg(AMA(PeriodS, Price), PeriodS, 0) :AMA(PeriodS, Price)

Plot1 = plot(AMAValF, "AMAValF", color=color.yellow, linewidth =2)
Plot2 = plot(AMAValS, "AMAValS", color=color.fuchsia, linewidth =2)
fill(Plot1, Plot2, color=AMAValF>AMAValS ? color.yellow : color.fuchsia, transp=60)

long = crossover(AMAValF, AMAValS)
short = crossunder(AMAValF, AMAValS)

// Plots labels
l = short ? 
       label.new (bar_index, AMAValF, "SELL", color=color.red, textcolor=color.white, style=label.style_labeldown, yloc=yloc.price, size=size.small) :
       long ?
           label.new (bar_index, AMAValF, "BUY", color=color.green, textcolor=color.white, style=label.style_labelup, yloc=yloc.price, size=size.small) :
           na

//Add Alerts
alertcondition(long, title='Alert on LONG', message='BUY!')
alertcondition(short, title='Alert on SHORT', message='SELL!')


Откликнулись

1
Разработчик 1
Оценка
(38)
Проекты
50
10%
Арбитраж
1
0% / 0%
Просрочено
8
16%
Свободен
2
Разработчик 2
Оценка
(94)
Проекты
190
66%
Арбитраж
8
25% / 50%
Просрочено
2
1%
Свободен
3
Разработчик 3
Оценка
(27)
Проекты
43
7%
Арбитраж
18
6% / 78%
Просрочено
26
60%
Свободен
4
Разработчик 4
Оценка
(317)
Проекты
355
72%
Арбитраж
7
43% / 29%
Просрочено
20
6%
Работает
5
Разработчик 5
Оценка
(132)
Проекты
178
39%
Арбитраж
4
25% / 50%
Просрочено
14
8%
Свободен
6
Разработчик 6
Оценка
(2)
Проекты
4
0%
Арбитраж
0
Просрочено
0
Свободен
7
Разработчик 7
Оценка
Проекты
0
0%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
Похожие заказы
I Have an existing Mql5 Expert advisor (source code), I want a professional programmer to help me Modify the EA... so that it can stop taking new trades once it Gets to a Pacific Lots Size or Floating loss
We are a forex/CFD brokerage rebuilding our public website into a modern, professional financial-services site. This order covers the marketing website only — our client portal and trading area are separate existing systems the site will link to. Scope: Homepage plus core pages: About, Account Types (comparison table), Trading Instruments, Deposits & Withdrawals, Partners/IB page, Education/Blog, Contact, Legal pages
Algo quant expertise 3000 - 6000 USD
Built and beta FSM designed algo with TS-Easy Language. Order requires optimizing FSM OEX entry/exit state change logic sequencing, so... First considering platforms and expertise to launch with $100k (now in TS futures/equity accts).. Please advise. dR

Информация о проекте

Бюджет
50+ USD