Convert this AFL to mql4 code

MQL4 Convertir C++ C# Python

Tâche terminée

Temps d'exécution 2 minutes
Commentaires du client
He is very responsive and Prompt in his project. he has very good understanding and skilled person. I can trust on him on every project. I recommend him to you guys for any indicator or EA...
Commentaires de l'employé
Very nice working experience. Clear specification

Spécifications

_SECTION_BEGIN("SMART TRADE ZONES"); 
x=BarIndex();
rightStrength=Param("Fractal Pivot Right side Strength",3,0,50,1); 
leftStrength=Param("Fractal Pivot Left side Strength",4,0,50,1); 
pk=H>Ref(HHV(H,leftStrength),-1) AND Ref(HHV(H,rightStrength),-rightStrength)<=H;
tr=L<Ref(LLV(L,leftStrength),-1) AND Ref(LLV(L,rightStrength),-rightStrength)>=L;
PHigh = PK;
PHighPrice0 = ValueWhen(PHigh,H);
PHighPrice1 = IIf(PHighPrice0 AND BarsSince(PHigh) > rightStrength,PHighPrice0,Null);
PHighPrice2 = IIf(PHighPrice0 AND BarsSince(PHigh) <= rightStrength,PHighPrice0,Null);
PLow = TR;
PLowPrice0 = ValueWhen(PLow,L); 
PLowPrice1 = IIf(PLowPrice0 AND BarsSince(Plow) > rightStrength,PLowPrice0,Null);
PLowPrice2 = IIf(PLowPrice0 AND BarsSince(Plow) <= rightStrength,PLowPrice0,Null);

//pk=ExRem(pk,tr);
//tr=ExRem(tr,pk);

px0=ValueWhen(pk,x,0); tx0=ValueWhen(tr,x,0);
px1=ValueWhen(pk,x,1); tx1=ValueWhen(tr,x,1);
px2=ValueWhen(pk,x,2); tx2=ValueWhen(tr,x,2);
ph0=ValueWhen(pk,H,0); tl0=ValueWhen(tr,L,0);
ph1=ValueWhen(pk,H,1); tl1=ValueWhen(tr,L,1);
ph2=ValueWhen(pk,H,2); tl2=ValueWhen(tr,L,2);

ll=tr AND tl1<tl2;
hl=tr AND tl1>tl2;
hh=pk AND ph1>ph2;
lh=pk AND ph1<ph2;
dt=pk AND ph1==ph2;
db=tr AND tl1==tl2;

ll_h=IIf(ll,1,0);
hl_h=IIf(hl,2,0);
hh_h=IIf(hh,3,0);
lh_h=IIf(lh,4,0);
dt_h=IIf(dt,5,0);
db_h=IIf(db,6,0);
combi=ll_h+hl_h+lh_h+hh_h;

t0=ValueWhen(combi,combi,0);
t1=ValueWhen(combi,combi,1);
t2=ValueWhen(combi,combi,2);
t3=ValueWhen(combi,combi,3);
t4=ValueWhen(combi,combi,4);

GraphXSpace = 5;
SetChartOptions(0, chartShowDates);
Plot(C,"\nLast",colorWhite,64);

Plot(PHighPrice1,"\nPHighPrice",colorOrange,styleLine);
Plot(PHighPrice2,"",colorOrange,styleDots | styleNoLine);
Plot(PLowPrice1,"\nPLowPrice",colorBrightGreen,styleLine);
Plot(PLowPrice2,"",colorBrightGreen,styleDots | styleNoLine);


PH =Phigh- Ref(Phigh,-1) != 0; 
PHprice = ValueWhen(PH, H,1);
Pvalid = C > ValueWhen(PH, PHighPrice2,1 ) ;
Pvalid = ExRem(Pvalid, PH);
Sell = Pvalid ; 

PL= Plow - Ref(Plow,-1) != 0;
PLPrice = ValueWhen(PL,L,1);
TValid = C < ValueWhen(PL, PLowPrice2,1) ;
TValid = ExRem(TValid, PL);
Buy = TValid ;


Buy = ExRem(Buy,Sell);
Sell = ExRem(Sell,Buy);



shape = Buy * shapeUpArrow + Sell * shapeDownArrow;
PlotShapes( shape, IIf( Buy, colorWhite, colorWhite ),0, IIf( Buy, Low, High ) );

Répondu

1
Développeur 1
Évaluation
(298)
Projets
443
64%
Arbitrage
5
40% / 0%
En retard
4
1%
Travail
2
Développeur 2
Évaluation
(140)
Projets
205
80%
Arbitrage
18
33% / 44%
En retard
10
5%
Travail
Commandes similaires
Hi, if I drag my indicator into a chart it works perfectly. I added the indicator into an EA with iCustom and now the indicator is completely weird in the chart! The colors are different and the line are different. I used copybuffer and everything else correctly but I have no idea what‘s the issue :-( Can someone help me what I do wrong? In addition, the indicator is shown in the chart without using
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
I WRITE a code i want to conect this for automatic trading through vps .and als advanced features for this code .i attached afile please watch .and give me perfect ea
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA. THREE TYPES OF ENTRIES 1: AGGRESSIVE 2: DIVERGENCE 3
I need a simple panel to execute both buy and sell operations with very basic things like stopp loss take profit that functions for both market orders such as buy stop sell stop buy limit sell limit I don't care about colors or design I just want how you can do it what interests me most are the functions
I want to create an EA that can take bids according to information of a logic I have developed to give indication of a BUY or SELL opportunity. The EA will then be able to activate the BUY at the lowest possible position once the indicator clears it for a BUY and take bid upwards or identify the highest point and clears it for a SELL and take bids downwards. As you can see from example of JULY 2024 data to see how
Hello, I‘m interested in an indicator to predict the next candles probability (bullish or bearish). But honestly I have no idea how to do this. Would be interested in your opinion how we can create such an indicator. Please let me know if you‘ve done similar work
Hey greetings. Am in need of a developer that has already made profitable MT4 or MT5 EA that I can buy with the backtesting and proven result. How is the draw down ? What is the winning rate ? Kindly reply and let proceed
I need a TradingView script (not mine) converted to an Mt5 EA. There is some specifications for the robots on when to be able to take a trade. Attached bellow is the file of the script I want translated and converted to MT5 then EA

Informations sur le projet

Budget
30 - 40 USD
Pour le développeur
27 - 36 USD