Convert Pinescript indicator into MQL5

MQL5 Indicateurs Autre

Tâche terminée

Temps d'exécution 3 jours
Commentaires de l'employé
5-stars customer. It was a pleasure to work with him ;)

Spécifications

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


Répondu

1
Développeur 1
Évaluation
(38)
Projets
50
10%
Arbitrage
1
0% / 0%
En retard
8
16%
Gratuit
2
Développeur 2
Évaluation
(94)
Projets
190
66%
Arbitrage
8
25% / 50%
En retard
2
1%
Gratuit
3
Développeur 3
Évaluation
(27)
Projets
43
7%
Arbitrage
18
6% / 78%
En retard
26
60%
Gratuit
4
Développeur 4
Évaluation
(317)
Projets
355
72%
Arbitrage
7
43% / 29%
En retard
20
6%
Travail
5
Développeur 5
Évaluation
(132)
Projets
178
39%
Arbitrage
4
25% / 50%
En retard
14
8%
Gratuit
6
Développeur 6
Évaluation
(2)
Projets
4
0%
Arbitrage
0
En retard
0
Gratuit
7
Développeur 7
Évaluation
Projets
0
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
Commandes similaires
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

Informations sur le projet

Budget
50+ USD