Triple fast ema Hull

Download script
Author: © mladen, 2018
2 Views
1 Downloads
0 Favorites
Triple fast ema Hull
ÿþ/�/�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�
�
�#�p�r�o�p�e�r�t�y� �c�o�p�y�r�i�g�h�t� �"�©� �m�l�a�d�e�n�,� �2�0�1�8�"�
�
�#�p�r�o�p�e�r�t�y� �l�i�n�k� � � � � � �"�m�l�a�d�e�n�f�x�@�g�m�a�i�l�.�c�o�m�"�
�
�/�/�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�c�h�a�r�t�_�w�i�n�d�o�w�
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�b�u�f�f�e�r�s� �6�
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�p�l�o�t�s� � � �3�
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�l�a�b�e�l�1� � �"�F�a�s�t� �e�m�a� �H�u�l�l� �h�i�g�h�"�
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�t�y�p�e�1� � � �D�R�A�W�_�C�O�L�O�R�_�L�I�N�E�
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�c�o�l�o�r�1� � �c�l�r�D�a�r�k�G�r�a�y�,�c�l�r�D�e�e�p�P�i�n�k�,�c�l�r�G�r�e�e�n�
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�w�i�d�t�h�1� � �2�
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�l�a�b�e�l�2� � �"�F�a�s�t� �e�m�a� �H�u�l�l� �c�l�o�s�e�"�
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�t�y�p�e�2� � � �D�R�A�W�_�C�O�L�O�R�_�L�I�N�E�
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�c�o�l�o�r�2� � �c�l�r�D�a�r�k�G�r�a�y�,�c�l�r�D�e�e�p�P�i�n�k�,�c�l�r�G�r�e�e�n�
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�w�i�d�t�h�2� � �2�
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�l�a�b�e�l�3� � �"�F�a�s�t� �e�m�a� �H�u�l�l� �l�o�w�"�
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�t�y�p�e�3� � � �D�R�A�W�_�C�O�L�O�R�_�L�I�N�E�
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�c�o�l�o�r�3� � �c�l�r�D�a�r�k�G�r�a�y�,�c�l�r�D�e�e�p�P�i�n�k�,�c�l�r�G�r�e�e�n�
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�w�i�d�t�h�3� � �2�
�
�/�/�-�-�-� �i�n�p�u�t� �p�a�r�a�m�e�t�e�r�s�
�
�i�n�p�u�t� �d�o�u�b�l�e� �i�n�p�H�u�l�l�P�e�r�i�o�d�=�2�7�;� � �/�/� �F�a�s�t� �e�m�a� �H�u�l�l� �p�e�r�i�o�d�
�
�/�/�-�-�-� �i�n�d�i�c�a�t�o�r� �b�u�f�f�e�r�s�
�
�d�o�u�b�l�e� �h�u�l�l�u�[�]�,�h�u�l�l�u�c�[�]�,�h�u�l�l�c�[�]�,�h�u�l�l�c�c�[�]�,�h�u�l�l�d�[�]�,�h�u�l�l�d�c�[�]�;�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+� �
�
�/�/�|� �C�u�s�t�o�m� �i�n�d�i�c�a�t�o�r� �i�n�i�t�i�a�l�i�z�a�t�i�o�n� �f�u�n�c�t�i�o�n� � � � � � � � � � � � � � � � � � � � � � � � � �|� �
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+� �
�
�i�n�t� �O�n�I�n�i�t�(�)�
�
� � �{�
�
�/�/�-�-�-� �i�n�d�i�c�a�t�o�r� �b�u�f�f�e�r�s� �m�a�p�p�i�n�g�
�
� � � �S�e�t�I�n�d�e�x�B�u�f�f�e�r�(�0�,�h�u�l�l�u�,�I�N�D�I�C�A�T�O�R�_�D�A�T�A�)�;�
�
� � � �S�e�t�I�n�d�e�x�B�u�f�f�e�r�(�1�,�h�u�l�l�u�c�,�I�N�D�I�C�A�T�O�R�_�C�O�L�O�R�_�I�N�D�E�X�)�;�
�
� � � �S�e�t�I�n�d�e�x�B�u�f�f�e�r�(�2�,�h�u�l�l�c�,�I�N�D�I�C�A�T�O�R�_�D�A�T�A�)�;�
�
� � � �S�e�t�I�n�d�e�x�B�u�f�f�e�r�(�3�,�h�u�l�l�c�c�,�I�N�D�I�C�A�T�O�R�_�C�O�L�O�R�_�I�N�D�E�X�)�;�
�
� � � �S�e�t�I�n�d�e�x�B�u�f�f�e�r�(�4�,�h�u�l�l�d�,�I�N�D�I�C�A�T�O�R�_�D�A�T�A�)�;�
�
� � � �S�e�t�I�n�d�e�x�B�u�f�f�e�r�(�5�,�h�u�l�l�d�c�,�I�N�D�I�C�A�T�O�R�_�C�O�L�O�R�_�I�N�D�E�X�)�;�
�
�/�/�-�-�-� �i�n�d�i�c�a�t�o�r� �s�h�o�r�t� �n�a�m�e� �a�s�s�i�g�n�m�e�n�t�
�
� � � �I�n�d�i�c�a�t�o�r�S�e�t�S�t�r�i�n�g�(�I�N�D�I�C�A�T�O�R�_�S�H�O�R�T�N�A�M�E�,�"�T�r�i�p�l�e� �f�a�s�t� �e�m�a� �H�u�l�l� �(�"�+�(�s�t�r�i�n�g�)�i�n�p�H�u�l�l�P�e�r�i�o�d�+�"�)�"�)�;�
�
�/�/�-�-�-�
�
� � � �r�e�t�u�r�n� �(�I�N�I�T�_�S�U�C�C�E�E�D�E�D�)�;�
�
� � �}�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�/�/�|� �C�u�s�t�o�m� �i�n�d�i�c�a�t�o�r� �d�e�-�i�n�i�t�i�a�l�i�z�a�t�i�o�n� �f�u�n�c�t�i�o�n� � � � � � � � � � � � � � � � � � � � � � �|�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�v�o�i�d� �O�n�D�e�i�n�i�t�(�c�o�n�s�t� �i�n�t� �r�e�a�s�o�n�)�
�
� � �{�
�
� � �}�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�/�/�|� �C�u�s�t�o�m� �i�n�d�i�c�a�t�o�r� �i�t�e�r�a�t�i�o�n� �f�u�n�c�t�i�o�n� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �|�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�i�n�t� �O�n�C�a�l�c�u�l�a�t�e�(�c�o�n�s�t� �i�n�t� �r�a�t�e�s�_�t�o�t�a�l�,�c�o�n�s�t� �i�n�t� �p�r�e�v�_�c�a�l�c�u�l�a�t�e�d�,�c�o�n�s�t� �d�a�t�e�t�i�m�e� �&�t�i�m�e�[�]�,�
�
� � � � � � � � � � � � � � � � �c�o�n�s�t� �d�o�u�b�l�e� �&�o�p�e�n�[�]�,�
�
� � � � � � � � � � � � � � � � �c�o�n�s�t� �d�o�u�b�l�e� �&�h�i�g�h�[�]�,�
�
� � � � � � � � � � � � � � � � �c�o�n�s�t� �d�o�u�b�l�e� �&�l�o�w�[�]�,�
�
� � � � � � � � � � � � � � � � �c�o�n�s�t� �d�o�u�b�l�e� �&�c�l�o�s�e�[�]�,�
�
� � � � � � � � � � � � � � � � �c�o�n�s�t� �l�o�n�g� �&�t�i�c�k�_�v�o�l�u�m�e�[�]�,�
�
� � � � � � � � � � � � � � � � �c�o�n�s�t� �l�o�n�g� �&�v�o�l�u�m�e�[�]�,�
�
� � � � � � � � � � � � � � � � �c�o�n�s�t� �i�n�t� �&�s�p�r�e�a�d�[�]�)�
�
�{�
�
� � � �i�n�t� �i�=�(�i�n�t�)�M�a�t�h�M�a�x�(�p�r�e�v�_�c�a�l�c�u�l�a�t�e�d�-�1�,�0�)�;� �f�o�r�(�;� �i�<�r�a�t�e�s�_�t�o�t�a�l� �&�&� �!�_�S�t�o�p�F�l�a�g�;� �i�+�+�)�
�
� � � � � �{�
�
� � � � � � �h�u�l�l�u�[�i�]� �=� �i�H�u�l�l�e�(�h�i�g�h�[�i�]� �,�i�n�p�H�u�l�l�P�e�r�i�o�d�,�i�,�0�)�;�
�
� � � � � � �h�u�l�l�c�[�i�]� �=� �i�H�u�l�l�e�(�c�l�o�s�e�[�i�]�,�i�n�p�H�u�l�l�P�e�r�i�o�d�,�i�,�1�)�;�
�
� � � � � � �h�u�l�l�d�[�i�]� �=� �i�H�u�l�l�e�(�l�o�w�[�i�]� � �,�i�n�p�H�u�l�l�P�e�r�i�o�d�,�i�,�2�)�;�
�
� � � � � � �h�u�l�l�u�c�[�i�]� �=� �(�i�>�0�)� �?� �(�h�u�l�l�u�[�i�]�>�h�u�l�l�u�[�i�-�1�]�)� �?� �2� �:� �(�h�u�l�l�u�[�i�]�<�h�u�l�l�u�[�i�-�1�]�)� �?� �1� �:� �h�u�l�l�u�c�[�i�-�1�]� �:� �0�;�
�
� � � � � � �h�u�l�l�c�c�[�i�]� �=� �(�i�>�0�)� �?� �(�h�u�l�l�c�[�i�]�>�h�u�l�l�c�[�i�-�1�]�)� �?� �2� �:� �(�h�u�l�l�c�[�i�]�<�h�u�l�l�c�[�i�-�1�]�)� �?� �1� �:� �h�u�l�l�c�c�[�i�-�1�]� �:� �0�;�
�
� � � � � � �h�u�l�l�d�c�[�i�]� �=� �(�i�>�0�)� �?� �(�h�u�l�l�d�[�i�]�>�h�u�l�l�d�[�i�-�1�]�)� �?� �2� �:� �(�h�u�l�l�d�[�i�]�<�h�u�l�l�d�[�i�-�1�]�)� �?� �1� �:� �h�u�l�l�d�c�[�i�-�1�]� �:� �0�;�
�
� � � � � �}�
�
� � � �r�e�t�u�r�n�(�i�)�;�
�
�}�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�/�/�|� �C�u�s�t�o�m� �f�u�n�c�t�i�o�n�s� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �|�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�#�d�e�f�i�n�e� �_�e�h�u�l�l�I�n�s�t�a�n�c�e�s� �3�
�
�#�d�e�f�i�n�e� �_�e�h�u�l�l�I�n�s�t�a�n�c�e�s�S�i�z�e� �3�
�
�#�d�e�f�i�n�e� �_�e�h�u�l�l�R�i�n�g�S�i�z�e� �5�
�
�d�o�u�b�l�e� �w�o�r�k�H�u�l�l�e�[�_�e�h�u�l�l�R�i�n�g�S�i�z�e�]�[�_�e�h�u�l�l�I�n�s�t�a�n�c�e�s�*�_�e�h�u�l�l�I�n�s�t�a�n�c�e�s�S�i�z�e�]�;�
�
�/�/�
�
�/�/�-�-�-�
�
�/�/�
�
�d�o�u�b�l�e� �i�H�u�l�l�e�(�d�o�u�b�l�e� �p�r�i�c�e�,�d�o�u�b�l�e� �p�e�r�i�o�d�,�i�n�t� �i�,� �i�n�t� �i�n�s�t�a�n�c�e�=�0�)�
�
�{�
�
� � � �i�n�t� �_�i�n�d�P� �=� �(�i�-�1�)�%�_�e�h�u�l�l�R�i�n�g�S�i�z�e�;�
�
� � � �i�n�t� �_�i�n�d�C� �=� �(�i� � �)�%�_�e�h�u�l�l�R�i�n�g�S�i�z�e�;�
�
� � � �i�n�t� �_�i�n�s�t� �=� �i�n�s�t�a�n�c�e�*�_�e�h�u�l�l�I�n�s�t�a�n�c�e�s�S�i�z�e�;�
�
� � � �
�
� � � �/�/�
�
� � � �/�/�-�-�-�
�
� � � �/�/�
�
� � � �
�
� � � �i�f�(�i�>�0� �&�&� �p�e�r�i�o�d�>�1�)�
�
� � � �{�
�
� � � � � � �#�d�e�f�i�n�e� �_�a�l�p�h�a�(�_�p�e�r�i�o�d�)� �(�2�.�0�/�(�2�.�0�+�(�_�p�e�r�i�o�d�-�1�.�0�)�/�2�.�0�)�)�
�
� � � � � � � � � �w�o�r�k�H�u�l�l�e�[�_�i�n�d�C�]�[�_�i�n�s�t� � �]� �=� �(�i�>�0�)� �?� �w�o�r�k�H�u�l�l�e�[�_�i�n�d�P�]�[�_�i�n�s�t� � �]�+�_�a�l�p�h�a�(� � � � � � � � � �p�e�r�i�o�d�/�2�.�0�)�*�(�p�r�i�c�e� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �-�w�o�r�k�H�u�l�l�e�[�_�i�n�d�P�]�[�_�i�n�s�t� � �]�)� �:� �p�r�i�c�e�;�
�
� � � � � � � � � �w�o�r�k�H�u�l�l�e�[�_�i�n�d�C�]�[�_�i�n�s�t�+�1�]� �=� �(�i�>�0�)� �?� �w�o�r�k�H�u�l�l�e�[�_�i�n�d�P�]�[�_�i�n�s�t�+�1�]�+�_�a�l�p�h�a�(� � � � � � � � � �p�e�r�i�o�d� � � � �)�*�(�p�r�i�c�e� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �-�w�o�r�k�H�u�l�l�e�[�_�i�n�d�P�]�[�_�i�n�s�t�+�1�]�)� �:� �p�r�i�c�e�;�
�
� � � � � � � � � �w�o�r�k�H�u�l�l�e�[�_�i�n�d�C�]�[�_�i�n�s�t�+�2�]� �=� �(�i�>�0�)� �?� �w�o�r�k�H�u�l�l�e�[�_�i�n�d�P�]�[�_�i�n�s�t�+�2�]�+�_�a�l�p�h�a�(�M�a�t�h�S�q�r�t�(�p�e�r�i�o�d�)� � � �)�*�(�2�*�w�o�r�k�H�u�l�l�e�[�_�i�n�d�C�]�[�_�i�n�s�t�]�-�w�o�r�k�H�u�l�l�e�[�_�i�n�d�C�]�[�_�i�n�s�t�+�1�]�-�w�o�r�k�H�u�l�l�e�[�_�i�n�d�P�]�[�_�i�n�s�t�+�2�]�)� �:� �p�r�i�c�e�;�
�
� � � �}� � � � � � �
�
� � � �e�l�s�e� �f�o�r�(�i�n�t� �k�=�0�;� �k�<�_�e�h�u�l�l�I�n�s�t�a�n�c�e�s�S�i�z�e�;� �k�+�+�)� �w�o�r�k�H�u�l�l�e�[�_�i�n�d�C�]�[�k�+�_�i�n�s�t�]� �=� �(�i�>�0�)� �?� �w�o�r�k�H�u�l�l�e�[�_�i�n�d�P�]�[�k�+�_�i�n�s�t�]�:� �p�r�i�c�e�;� � � � � � �
�
� � � �r�e�t�u�r�n�(�w�o�r�k�H�u�l�l�e�[�_�i�n�d�C�]�[�_�i�n�s�t�+�2�]�)�;�
�
� � � �
�
� � � �/�/�
�
� � � �/�/�-�-�-�
�
� � � �/�/�
�
� � � �
�
� � � �#�u�n�d�e�f� �_�a�l�p�h�a�
�
�}�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�

Comments