Hello, I have a simple indior I left in easylanguage and I would love to interpret it into mt4. The easylanguage resembles that:
vars: mmoment(0);
mmoment=maxlist(pos(momentum(h,2)),pos(momentum(l, 2)),
pos(momentum(l,6)),pos(momentum(l,5)),
pos(momentum(l,3)),pos(momentum(h,6)),
pos(momentum(h,5)),pos(momentum(h,3)));
if mmomentlt;percentile(0.05,mmoment,100) subsequently plot1(l,xxx)
it plots a sign when all those momentums are in the lowest 5% of the momentums in a 100 period.
Can anybody help me with this?