Convert Pinescript indicator into MQL5

MQL5 Indicatori Altro

Lavoro terminato

Tempo di esecuzione 3 giorni
Feedback del dipendente
5-stars customer. It was a pleasure to work with him ;)

Specifiche

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!')


Con risposta

1
Sviluppatore 1
Valutazioni
(38)
Progetti
50
10%
Arbitraggio
1
0% / 0%
In ritardo
8
16%
Gratuito
2
Sviluppatore 2
Valutazioni
(94)
Progetti
190
66%
Arbitraggio
8
25% / 50%
In ritardo
2
1%
Gratuito
3
Sviluppatore 3
Valutazioni
(27)
Progetti
43
7%
Arbitraggio
18
6% / 78%
In ritardo
26
60%
Gratuito
4
Sviluppatore 4
Valutazioni
(317)
Progetti
355
72%
Arbitraggio
7
43% / 29%
In ritardo
20
6%
In elaborazione
5
Sviluppatore 5
Valutazioni
(132)
Progetti
178
39%
Arbitraggio
4
25% / 50%
In ritardo
14
8%
Gratuito
6
Sviluppatore 6
Valutazioni
(2)
Progetti
4
0%
Arbitraggio
0
In ritardo
0
Gratuito
7
Sviluppatore 7
Valutazioni
Progetti
0
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
Ordini simili
Download the file below to see the job description . If you look for the attached file you'll find all the jobs description . This place has been a great experience to purchase all materials i use and I thinking that someone will write the program for me. Download the file and you will understand the job
I run an institutional-grade, high-frequency XAUUSD (Gold) algorithmic trading system deployed on a Vantage Live Account. The entire trade copier infrastructure is fully tested, automated, and ready for immediate deployment. We are currently looking for a high-caliber performance marketing partner (Media Buyer, Introducing Broker, or Financial Affiliate) to achieve a highly specific target: Acquire our next 10
I am looking for an experienced MQL5 or MQL4 developer with a strong background in low-latency algorithmic trading, market data integration, arbitrage and execution optimization. The project involves developing a high-performance HFT Expert Advisor (EA) for XAUUSD or US30 on IC Markets that is designed for robust execution in both demo and live environments. The EA may use market data feeds (such as lmax,one zero or

Informazioni sul progetto

Budget
50+ USD