Trabalho concluído
Termos de Referência
I need a simple indicator in native MQL4 code without dll, yes. since I must pass this indicator to another testing software (ForexTester) and it only supports MQL4 or MQL5 and my broker only supports MQL4, so in native MQL5 it cannot be. Below I indicate the needs of the indicator:
1st The indicator is to create a Fibonacci from a button on the screen.
2nd This would be fibonacci with a performance equal to that of MT4 itself.
3º The fibonacci when created by selecting two points with the mouse (like that of MT4), would be created the same but with these levels: 0%, 100%, 38.2%, 61.8%, 80.9% and 161.8% momentarily, being able to add more in a future or eliminate any.
4th When the Fibonacci is created, it will have an area or rectangle between levels 61.8 and 80.9 starting from the end point of the Fibonacci and a length of 50-80 candles, this rectangle must adapt to the Fibo as one of its points of origin is modified .
5º When eliminating the Fibonacci, the rectangle created with the last Fibonacci state will remain on the screen, erasing only the Fibonacci.
Y
6th And finally, a horizontal line will be created at level 38.2 that will adapt its position equal to the rectangle as the Fibo adapts to the screen, equal to the previous rectangle, if the Fibo is eliminated, it will remain on the screen in the last position of the Fibo .
It is not a complicated indicator, it is simply to be able to create the MT4 Fibo but with the particularity of having the rectangle and the horizontal line immersed and activate its creation by pressing a button on the screen. The Fibo colors should be the MT4 STD, the solid black level lines and the diagonal of the start and end points red and traces like the original MT4. The horizontal line of 38.2 and the rectangle of color clrGold and the line of maximum thickness.
Thanks a lot
+------------------------------------------------------------------------------------------------------------+
Necesito un indicador simple en código MQL4 nativo sin dll,s. ya que debo pasar este indicador a otro software deTesteo (ForexTester) y solo soporta MQL4 o MQL5 y mi broker solo soporta MQL4, por lo que en nativo MQL5 no puede ser. A continuación indico las necesidades del indicador:
1º El indicador es para crear un Fibonacci a partir de un botón en la pantalla.
2º Esto sería fibonacci con un rendimiento igual al del propio MT4.
3º El fibonacci al crearse seleccionando dos puntos con el mouse (como el de MT4), se crearía igual pero con estos niveles: 0%, 100%, 38.2%, 61.8%, 80.9% y 161.8% momentáneamente, pudiendo agregar más en un futuro o eliminar alguno.
4º Cuando se crea el Fibonacci, tendrá un área o rectángulo entre los niveles 61.8 y 80.9 comenzando desde el punto final del Fibonacci y una longitud de 50-80 velas, este rectángulo debe adaptarse al Fibo a medida de modificar uno de sus puntos de origen.
5º Al eliminar el Fibonacci quedará en pantalla el rectángulo creado con el último estado Fibonacci, borrando únicamente el Fibonacci.
Y
6º Y por último, se creará una línea horizontal en el nivel 38.2 que adaptará su posición igual al rectángulo a medida que el Fibo se adapta a la pantalla, igual al rectángulo anterior si se elimina el Fibo permanecerá en pantalla en la última posición del Fibo.
No es un indicador complicado, es simplemente poder crear el Fibo de MT4 pero con la particularidad de tener el rectángulo y la línea horizontal inmersos y activar su creacion pulsando un botón en pantalla. Los colores de Fibo deben ser el STD del MT4,las lineas de nivel continuas color negro y la diagonal de los puntos de inicio y fin rojo y trazos como la MT4 original. La linea horizontal del 38.2 y el rectangulo de color clrGold y la linea de maximo grosor.
Muchas gracias