hey guys, just wondering if anyone can convert the rainbow oscillator in the VT trading platform to the Mt4 platform?? here is the indicator code from the VT trading platform...
r1:= Mov(prc,periods,mat);
r2:= Mov(r1,2,S);
r3:= Mov(r2,2,S);
r4:= Mov(r3,2,S);
r5:= Mov(r4,2,S);
r6:= Mov(r5,2,S);
r7:= Mov(r6,2,S);
r8:= Mov(r7,2,S);
r9:= Mov(r8,2,S);
r10:= Mov(r9,2,S);
RMin:= Min(R1,Min((R2),Min((R3),Min((R4),Min((R5),Min((R6),
Min((R7),Min((R8),Min((R9),R10)))))))));
RMax:= Max(R1,Max((R2),Max((R3),Max((R4),Max((R5),Max((R6),
Max((R7),Max((R8),Max((R9),R10)))))))));
RBLowerBand:= -100 * (RMin-RMax) / (HHV(prc,rbop)-LLV(prc,rbop));
RBUpperBand:= 100 * (RMin-RMax) / (HHV(prc,rbop)-LLV(prc,rbop));
RBOsc:= 100 * (prc-((R1+R2+R3+R4+R5+R6+R7+R8+R9+R10)/rbop)) / (HHV(Prc,rbop) - LLV(Prc,rbop));
thankyou....
r1:= Mov(prc,periods,mat);
r2:= Mov(r1,2,S);
r3:= Mov(r2,2,S);
r4:= Mov(r3,2,S);
r5:= Mov(r4,2,S);
r6:= Mov(r5,2,S);
r7:= Mov(r6,2,S);
r8:= Mov(r7,2,S);
r9:= Mov(r8,2,S);
r10:= Mov(r9,2,S);
RMin:= Min(R1,Min((R2),Min((R3),Min((R4),Min((R5),Min((R6),
Min((R7),Min((R8),Min((R9),R10)))))))));
RMax:= Max(R1,Max((R2),Max((R3),Max((R4),Max((R5),Max((R6),
Max((R7),Max((R8),Max((R9),R10)))))))));
RBLowerBand:= -100 * (RMin-RMax) / (HHV(prc,rbop)-LLV(prc,rbop));
RBUpperBand:= 100 * (RMin-RMax) / (HHV(prc,rbop)-LLV(prc,rbop));
RBOsc:= 100 * (prc-((R1+R2+R3+R4+R5+R6+R7+R8+R9+R10)/rbop)) / (HHV(Prc,rbop) - LLV(Prc,rbop));
thankyou....