Trabajo finalizado
Tarea técnica
1) I have two indicators created by the famous mladen from years ago for MT4 (.mq4). He created an MT5 version for one of them (.mq5) but not the other. So I need that other indicator converted into a .mq5 too. I have the bottom histo indicator but need the top indicator that adds colour to the bars and arrows on the chart. I will give you the two mq4's that are working so that you can see how they function together. When the ma's crossover on the histo indicator the arrows appear on the chart. And when the histo crosses over the zero line the bars on the chart change colour. I have provided the histo .mq5 indicator that is looking for it's "missing companion".
======================================
2)
I have tried to recreate the CCI Equis from Metastock. But I don't think it's quite right. It should behave something like the Commodity
Channel Index, but it's a little erratic. I've provided the Metastock code and the .mq4/.mq5 files that need a touch up. If you can't fix it up
that's OK. The RMO above is the most important.
Background:
In an old version of MetaStock equis made a mistake in the CCI calculation, but people like it so much that they decided to
leave it in the software and called it CCI-Equis. So CCI-Standard is the original and CCI-Equis is a version that people like.
Here is the METASTOCK formula:
{CCI-EquisCustom} Prd:=Input("Periods",2,250,14); X:=Typ(); Y:=X-Mov(X,Prd,S); Yad:=Mov(Abs(Y),Prd,S); Z:=Y/Yad; ZZIe:=(Z/3)*200; ZZIe{end} {CCI-STD cs} {written by Corey Saxe} V1:=Input("Periods",2,250,14); x:=Typical(); y:=Mov(x,V1,S); z:=Sum(Abs(x-LastValue(y+PREV-PREV)),V1)/V1; A1:=z*0.015; ZZI:=(x-y)/A1; ZZI{end}