Convert small Amibroker AFL to MQL4

MQL4 Indicators

Job finished

Execution time 2 days
Feedback from employee
Perfect understanding, fast response, recommended.

Specification

I need a small Amibroker code to be converted into MQ4 - code is below, a snapshot of the indicator (as it looks in Amibroker) is attahced (ref the bottom pane - price bars and a red line and a grey line). Job is urgent - will appreciate a quick turnaround.


Amibroker code:

_SECTION_BEGIN("Unnamed 5");
EnableScript("vbscript");
<%
function jMA(jH,jL,A2,A2m,k)
dim result()
redim result(UBound(jH))

for i=k to UBound(jH)
n=i+1
if A2(i)<= A2m(i) then
do until n=0
n=n-1
if A2(n)>= A2m(i) then exit do
Loop
result(i)=jH(n)
else
do until n=0
n=n-1
if A2(n)<= A2m(i) then exit do
Loop
result(i)=jL(n)
end if
next
jMA=result
end function
%>

script=GetScriptObject();

n=60;
Graph0=script.jMA(H,L,AccDist(),EMA(AccDist(),n),n);

Graph1=C;
Graph1Style=128;
Graph2=IIf(C<MA(C,n),MA(H,n),MA(L,n));Graph2Style=1;
_SECTION_END();



Responded

1
Developer 1
Rating
(15)
Projects
65
58%
Arbitration
6
17% / 33%
Overdue
39
60%
Free
Similar orders
Hello I'm trying to fix a indicator that I have, It's a .ex4 file, Can I just code a new indicator because I only have a failed version of it in a ex4 file. Here are the three files. They are EX4 files. So i wanted to have a trade panel that can fill up the whole screen where it shows all the pair symbols. MTF_TMA_Harmonic ex4 file is exactly what I'm looking for however the ex4 file for some reason doesn't work
I have a machine learning library in MT5 that I want to make an indicator with… You think you can help me? My strategy is simple... Predicting the Daily, Weekly, and Monthly High, Low, and Close prices... Then BUY @ LOW and SELL @ HIGH
My EA places orders when an arrow appears according to the pz day-trading indicator. 1) I need to change the indicator, so that it places orders when the stock indicator arrow appears. All other EA conditions remain the same. 2) I need it to place orders when the candle turns colored according to the Pvsar indicator. The only change is that for pvsra I need a buy order to be placed above the high of the candle that
Hello there, I'm trying to fix a indicator that I have, It's a .ex4 file, Can I just code a new indicator because I only have a failed version of it in a ex4 file. Here are the three files. They are EX4 files. So i wanted to have a trade panel that can fill up the whole screen where it shows all the pair symbols. MTF_TMA_Harmonic ex4 file is exactly what I'm looking for however the ex4 file for some reason doesn't
Hello I'm trying to fix a indicator that I have, It's a .ex4 file or Can I just code a new indicator because I only have a failed version of it in a ex4 file. Here are the three files. They are EX4 files. So i wanted to have a trade panel that can fill up the whole screen where it shows all the pair symbols. MTF_TMA_Harmonic ex4 file is exactly what I'm looking for however the ex4 file for some reason doesn't work
Hi everyone I have a question, is there anyone who can rewrite the code from tradinvivew pineditor to mql5 meta trader? It is about 150 line. My strategy has 50% success rate with RR 2,6. Tested for last one year, strategy works only in bull market. This is trading on gold, unfortunately I am not in the best financial position, in return I would send you the code, if you don't like it I understand that you will stop
Editing of strategy 30 - 60 USD
I have a strategy that i would like edited. I have a strategy where right now it takes profit at the next high or low. That can be removed if necessary. The SL is set using the current RSI Band Gap. I'd like the same to be done for the TP. You'll see in the settings that I have a SL and TP buffer. I would also like for those to be kept the same but again I just want the TP to be the RSI Band Gap. It'll make more
need a professional developer to modify my current indicator. Need to add time frame parameter with true .false option. Which i set true show only those TF signal and when all signal match with the current TF ( to enter trade). Alert get generated. Price is non negotiable .please don't respond if you don't agree to price. Thank you
create a scanner for find bos and choch indicator on the chart, I want the indicator based on line charts rather than candlesticks .the indicator can scanner all symbols and all timefimes when i want. Create a panel that displays symbols, time and indicates whether it is bos or choch. the scanner can alert to my phone terminal. If you are interested please contact me
I'm looking for a skilled developer who can produce an indicator and trading bot for the following specification: Input parameters Parameter Data type Range start time Time Range end time Time Range buffer Number pips Range colour Colour EMA Cross EMA 1 EMA 2 Period 50 200 Days to include Mon Tue Wed Thur Fri Tick box to select Entry on close TF Time Frame 5, 10, 15, 30 Mins 1hr, 4hr Max time to enter Time

Project information

Budget
10 - 15 USD
For the developer
9 - 13.5 USD
Deadline
from 1 to 2 day(s)