GannZIGZAG_HTF_Fibo

Download script
Author: Copyright © 2018, Nikolay Kositsin
Price Data Components
5 Views
0 Downloads
0 Favorites
GannZIGZAG_HTF_Fibo
ÿþ/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�/�/�|� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �G�a�n�n�Z�I�G�Z�A�G�_�H�T�F�_�F�i�b�o�.�m�q�5� �|�
�
�/�/�|� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �C�o�p�y�r�i�g�h�t� �©� �2�0�1�8�,� �N�i�k�o�l�a�y� �K�o�s�i�t�s�i�n� �|�
�
�/�/�|� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �K�h�a�b�a�r�o�v�s�k�,� � � �f�a�r�r�i�a�@�m�a�i�l�.�r�e�d�c�o�m�.�r�u� �|�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�/�/�|� �;O �@01>BK �8=48:0B>@0 �D09; �G�a�n�n�Z�I�G�Z�A�G�_�A�r�r�o�w�s�.�m�q�5� �A;54C5B �?>;>68BL � � �|�
�
�/�/�|� �2 �?0?:5:� �:0B0;>3_�40==KE_�B5@<8=0;0\�M�Q�L�5�\�I�n�d�i�c�a�t�o�r�s� �8 �>B:><?8;8@>20BL �|�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+� �
�
�#�p�r�o�p�e�r�t�y� �c�o�p�y�r�i�g�h�t� �"�C�o�p�y�r�i�g�h�t� �©� �2�0�1�8�,� �N�i�k�o�l�a�y� �K�o�s�i�t�s�i�n�"�
�
�#�p�r�o�p�e�r�t�y� �l�i�n�k� �"�f�a�r�r�i�a�@�m�a�i�l�.�r�e�d�c�o�m�.�r�u�"�
�
�/�/�-�-�-�-� �=><5@ �25@A88 �8=48:0B>@0
�
�#�p�r�o�p�e�r�t�y� �v�e�r�s�i�o�n� � � �"�1�.�6�1�"�
�
�/�/�-�-�-�-� �>B@8A>2:0 �8=48:0B>@0 �2 �3;02=>< �>:=5
�
�#�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�
�
�/�/�-�-�-�-� �4;O �@0AGQB0 �8 �>B@8A>2:8 �8=48:0B>@0 �8A?>;L7>20=> �2� �1CD5@0
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�b�u�f�f�e�r�s� �2�
�
�/�/�-�-�-�-� �8A?>;L7>20=> �2A53> �>4=> �3@0D8G5A:>5 �?>AB@>5=85
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�p�l�o�t�s� � � �1�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�/�/�|� � �1JO2;5=85 �:>=AB0=B � � � � � � � � � � � � � � � � � � � � � � � � �|�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�#�d�e�f�i�n�e� �R�E�S�E�T� �0� � � � � � � � � � � � � � � � � � � � � � � � � � � � �/�/� �:>=AB0=B0 �4;O �2>72@0B0 �B5@<8=0;C �:><0=4K �=0 �?5@5AG5B �8=48:0B>@0
�
�#�d�e�f�i�n�e� �I�N�D�I�C�A�T�O�R�_�N�A�M�E� �"�G�a�n�n�Z�I�G�Z�A�G�"� � � � � � � � �/�/� �:>=AB0=B0 �4;O �8<5=8 �8=48:0B>@0
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�/�/�|� � �0@0<5B@K �>B@8A>2:8 �25@E=53> �8=48:0B>@0 � � � � �|�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�/�/�-�-�-�-� �>B@8A>2:0 �8=48:0B>@0 �1� �2 �2845 �7837030
�
�#�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�_�Z�I�G�Z�A�G�
�
�/�/�-�-�-�-� �2 �:0G5AB25 �F25B0 �;8=88 �8=48:0B>@0 �8A?>;L7>20= �A5@>-�3>;C1>9 �F25B
�
�#�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�M�e�d�i�u�m�S�l�a�t�e�B�l�u�e�
�
�/�/�-�-�-�-� �;8=8O �8=48:0B>@0 �1� �-� �=5?@5@K2=0O �:@820O
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�s�t�y�l�e�1� � �S�T�Y�L�E�_�S�O�L�I�D�
�
�/�/�-�-�-�-� �B>;I8=0 �;8=88 �8=48:0B>@0 �1� �@02=0 �4�
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�w�i�d�t�h�1� � �4�
�
�/�/�-�-�-�-� �>B>1@065=85 �1KG59 �<5B:8 �8=48:0B>@0
�
�#�p�r�o�p�e�r�t�y� �i�n�d�i�c�a�t�o�r�_�l�a�b�e�l�1� � �"�G�a�n�n�Z�I�G�Z�A�G�"�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�/�/�|� �E>4=K5 �?0@0<5B@K �8=48:0B>@0 � � � � � � � � � � � � � � � � �|�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�i�n�p�u�t� �E�N�U�M�_�T�I�M�E�F�R�A�M�E�S� �T�i�m�e�F�r�a�m�e�=�P�E�R�I�O�D�_�H�4�;� � � � � � � � � � � � � � � � � � � � �/�/�5@8>4 �3@0D8:0
�
�i�n�p�u�t� �u�i�n�t� �G�S�v�_�r�a�n�g�e�=�2�;�
�
�i�n�p�u�t� �i�n�t� �S�h�i�f�t�=�0�;� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �/�/�A4283 �8=48:0B>@0 �?> �3>@87>=B0;8 �2 �10@0E
�
�/�/�-�-�-�-� �A2>9AB20 �F�i�b�o� �=0 �?>A;54=59 �25@H8=5
�
�s�i�n�p�u�t� �s�t�r�i�n�g� �l�a�s�t�=�"�A2>9AB20 �F�i�b�o� �=0 �?>A;54=59 �25@H8=5"�;� � � � � � �/�/�A2>9AB20 �F�i�b�o� �=0 �?>A;54=59 �25@H8=5
�
�i�n�p�u�t� �b�o�o�l� �D�i�n�a�m�i�c�F�i�b�o�F�l�a�g�=�t�r�u�e�;� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �/�/�D;03 �>B>1@065=8O �D�i�n�a�m�i�c�F�i�b�o� �
�
�i�n�p�u�t� �c�o�l�o�r� �D�i�n�a�m�i�c�F�i�b�o�_�c�o�l�o�r�=�c�l�r�M�e�d�i�u�m�S�p�r�i�n�g�G�r�e�e�n�;� � � � � � � � � � � �/�/�F25B �48=0<8G5A:>9 �D81K
�
�i�n�p�u�t� �E�N�U�M�_�L�I�N�E�_�S�T�Y�L�E� �D�i�n�a�m�i�c�F�i�b�o�_�s�t�y�l�e�=�S�T�Y�L�E�_�S�O�L�I�D�;� � � � � � � � � � �/�/�AB8;L �48=0<8G5A:>9 �D81K
�
�i�n�p�u�t� �i�n�t� �D�i�n�a�m�i�c�F�i�b�o�_�w�i�d�t�h�=�3�;� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �/�/�B>;I8=0 �;8=88 �48=0<8G5A:>9 �D81K
�
�i�n�p�u�t� �b�o�o�l� �D�i�n�a�m�i�c�F�i�b�o�_�A�s�R�a�y�=�t�r�u�e�;� � � � � � � � � � � � � � � � � � � � � � � � � � � � �/�/�;CG �48=0<8G5A:>9 �D81K
�
�/�/�-�-�-�-� �A2>9AB20 �F�i�b�o� �=0 �?@54?>A;54=59 �25@H8=5
�
�s�i�n�p�u�t� �s�t�r�i�n�g� �p�r�e�v�=�"�A2>9AB20 �F�i�b�o� �=0 �?@54?>A;54=59 �25@H8=5"�;� � �/�/�A2>9AB20 �F�i�b�o� �=0 �?@54?>A;54=59 �25@H8=5
�
�i�n�p�u�t� �b�o�o�l� �S�t�a�t�i�c�F�i�b�o�F�l�a�g�=�t�r�u�e�;� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �/�/�D;03 �>B>1@065=8O �S�t�a�t�i�c�F�i�b�o�
�
�i�n�p�u�t� �c�o�l�o�r� �S�t�a�t�i�c�F�i�b�o�_�c�o�l�o�r�=�c�l�r�D�e�e�p�P�i�n�k�;� � � � � � � � � � � � � � � � � � � � � �/�/�F25B �AB0B8G5A:>9 �D81K
�
�i�n�p�u�t� �E�N�U�M�_�L�I�N�E�_�S�T�Y�L�E� �S�t�a�t�i�c�F�i�b�o�_�s�t�y�l�e�=�S�T�Y�L�E�_�S�O�L�I�D�;� � � � � � � � � � � �/�/�AB8;L �AB0B8G5A:>9 �D81K
�
�i�n�p�u�t� �i�n�t� �S�t�a�t�i�c�F�i�b�o�_�w�i�d�t�h�=�2�;� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �/�/�B>;I8=0 �;8=88 �AB0B8G5A:>9 �D81K
�
�i�n�p�u�t� �b�o�o�l� �S�t�a�t�i�c�F�i�b�o�_�A�s�R�a�y�=�f�a�l�s�e�;� � � � � � � � � � � � � � � � � � � � � � � � � � � � �/�/�;CG �AB0B8G5A:>9 �D81K
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�/�/�-�-�-�-� �>1JO2;5=85 �48=0<8G5A:8E �<0AA82>2,� �:>B>@K5 �2 �40;L=59H5<
�
�/�/�-�-�-�-� �1C4CB �8A?>;L7>20=K �2 �:0G5AB25 �8=48:0B>@=KE �1CD5@>2
�
�d�o�u�b�l�e� �H�i�g�h�B�u�f�f�e�r�[�]�;�
�
�d�o�u�b�l�e� �L�o�w�B�u�f�f�e�r�[�]�;�
�
�/�/�-�-�-�-� �>1JO2;5=85 �F5;>G8A;5==KE �?5@5<5==KE �=0G0;0 �>BAG5B0 �40==KE
�
�i�n�t� �m�i�n�_�r�a�t�e�s�_�t�o�t�a�l�,�L�i�m�i�t�S�h�i�f�t�;�
�
�/�/�-�-�-�-� �>1JO2;5=85 �F5;>G8A;5==KE �?5@5<5==KE �4;O �E5=4;>2 �8=48:0B>@>2
�
�i�n�t� �Z�i�g�Z�a�g�_�H�a�n�d�l�e�;�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�/�/�|� � �>;CG5=85 �B09<D@59<0 �2 �2845 �AB@>:8 � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �|�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�s�t�r�i�n�g� �G�e�t�S�t�r�i�n�g�T�i�m�e�f�r�a�m�e�(�E�N�U�M�_�T�I�M�E�F�R�A�M�E�S� �t�i�m�e�f�r�a�m�e�)�
�
� � �{�r�e�t�u�r�n�(�S�t�r�i�n�g�S�u�b�s�t�r�(�E�n�u�m�T�o�S�t�r�i�n�g�(�t�i�m�e�f�r�a�m�e�)�,�7�,�-�1�)�)�;�}�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+� � � � �
�
�/�/�|� �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�(�)�
�
� � �{�
�
�/�/�-�-�-�-� �8=8F80;870F8O �?5@5<5==KE �
�
� � � �d�o�u�b�l�e� �t�i�m�e�r�a�t�i�o�=�P�e�r�i�o�d�S�e�c�o�n�d�s�(�T�i�m�e�F�r�a�m�e�)�/�P�e�r�i�o�d�S�e�c�o�n�d�s�(�P�E�R�I�O�D�_�C�U�R�R�E�N�T�)�;�
�
� � � �m�i�n�_�r�a�t�e�s�_�t�o�t�a�l�=�i�n�t�(�2�*�t�i�m�e�r�a�t�i�o�)�;�
�
� � � �L�i�m�i�t�S�h�i�f�t�=�m�i�n�_�r�a�t�e�s�_�t�o�t�a�l�;�
�
�
�
�/�/�-�-�-�-� �?>;CG5=85 �E5=4;0 �8=48:0B>@0 �G�a�n�n�Z�I�G�Z�A�G�_�A�r�r�o�w�s�
�
� � � �Z�i�g�Z�a�g�_�H�a�n�d�l�e�=�i�C�u�s�t�o�m�(�N�U�L�L�,�T�i�m�e�F�r�a�m�e�,�"�G�a�n�n�Z�I�G�Z�A�G�_�A�r�r�o�w�s�"�,�G�S�v�_�r�a�n�g�e�,�0�,�1�7�0�,�1�7�0�)�;�
�
� � � �i�f�(�Z�i�g�Z�a�g�_�H�a�n�d�l�e�=�=�I�N�V�A�L�I�D�_�H�A�N�D�L�E�)�
�
� � � � � �{�
�
� � � � � � �P�r�i�n�t�(�"� �5 �C40;>AL �?>;CG8BL �E5=4; �8=48:0B>@0 �G�a�n�n�Z�I�G�Z�A�G�_�A�r�r�o�w�s�"�)�;�
�
� � � � � � �r�e�t�u�r�n�(�I�N�I�T�_�F�A�I�L�E�D�)�;�
�
� � � � � �}�
�
�/�/�-�-�-�-� �?@52@0I5=85 �48=0<8G5A:>3> �<0AA820 �L�o�w�B�u�f�f�e�r�[�]� �2 �8=48:0B>@=K9 �1CD5@
�
� � � �S�e�t�I�n�d�e�x�B�u�f�f�e�r�(�0�,�L�o�w�B�u�f�f�e�r�,�I�N�D�I�C�A�T�O�R�_�D�A�T�A�)�;�
�
�/�/�-�-�-�-� �8=45:A0F8O �M;5<5=B>2 �2 �1CD5@5,� �:0: �2 �B09<A5@88
�
� � � �A�r�r�a�y�S�e�t�A�s�S�e�r�i�e�s�(�L�o�w�B�u�f�f�e�r�,�t�r�u�e�)�;�
�
� � � �
�
�/�/�-�-�-�-� �?@52@0I5=85 �48=0<8G5A:>3> �<0AA820 �H�i�g�h�B�u�f�f�e�r�[�]� �2 �8=48:0B>@=K9 �1CD5@
�
� � � �S�e�t�I�n�d�e�x�B�u�f�f�e�r�(�1�,�H�i�g�h�B�u�f�f�e�r�,�I�N�D�I�C�A�T�O�R�_�D�A�T�A�)�;�
�
�/�/�-�-�-�-� �8=45:A0F8O �M;5<5=B>2 �2 �1CD5@5,� �:0: �2 �B09<A5@88
�
� � � �A�r�r�a�y�S�e�t�A�s�S�e�r�i�e�s�(�H�i�g�h�B�u�f�f�e�r�,�t�r�u�e�)�;�
�
� � � �
�
�/�/�-�-�-�-� �70?@5B �=0 �>B@8A>2:C �8=48:0B>@>< �?CABKE �7=0G5=89
�
� � � �P�l�o�t�I�n�d�e�x�S�e�t�D�o�u�b�l�e�(�0�,�P�L�O�T�_�E�M�P�T�Y�_�V�A�L�U�E�,�N�U�L�L�)�;�
�
�/�/�-�-�-�-� �CAB0=>2:0 �?>78F88,� �A �:>B>@>9 �=0G8=05BAO �>B@8A>2:0 �C@>2=59 �>;;8=465@0
�
� � � �P�l�o�t�I�n�d�e�x�S�e�t�I�n�t�e�g�e�r�(�0�,�P�L�O�T�_�D�R�A�W�_�B�E�G�I�N�,�m�i�n�_�r�a�t�e�s�_�t�o�t�a�l�)�;�
�
�/�/�-�-�-�-� �>ACI5AB2;5=85 �A42830 �8=48:0B>@0 �?> �3>@87>=B0;8 �=0 �S�h�i�f�t�
�
� � � �P�l�o�t�I�n�d�e�x�S�e�t�I�n�t�e�g�e�r�(�0�,�P�L�O�T�_�S�H�I�F�T�,�S�h�i�f�t�)�;�
�
� � � �
�
�/�/�-�-�-�-� �A>740=85 �8<5=8 �4;O �>B>1@065=8O �2 �>B45;L=>< �?>4>:=5 �8 �2> �2A?;K20NI59 �?>4A:07:5
�
� � � �s�t�r�i�n�g� �s�h�o�r�t�n�a�m�e�;�
�
� � � �S�t�r�i�n�g�C�o�n�c�a�t�e�n�a�t�e�(�s�h�o�r�t�n�a�m�e�,�I�N�D�I�C�A�T�O�R�_�N�A�M�E�,�"�(�"�,�S�y�m�b�o�l�(�)�,�G�e�t�S�t�r�i�n�g�T�i�m�e�f�r�a�m�e�(�_�P�e�r�i�o�d�)�,�"�)�"�)�;�
�
� � � �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�,�s�h�o�r�t�n�a�m�e�)�;�
�
�/�/�-�-�-�-� �>?@545;5=85 �B>G=>AB8 �>B>1@065=8O �7=0G5=89 �8=48:0B>@0
�
� � � �I�n�d�i�c�a�t�o�r�S�e�t�I�n�t�e�g�e�r�(�I�N�D�I�C�A�T�O�R�_�D�I�G�I�T�S�,�_�D�i�g�i�t�s�)�;�
�
�/�/�-�-�-� �7025@H5=85 �8=8F80;870F88
�
� � � �r�e�t�u�r�n�(�I�N�I�T�_�S�U�C�C�E�E�D�E�D�)�;�
�
� � �}�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+� � � � �
�
�/�/�|� �>8A: �?5@2>3> �M:AB@5<C<0 �?> �53> �7=0G5=8N �2 �B09<A5@88 � � � � � � � � � � � � �|� �
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+� � �
�
�i�n�t� �F�i�n�d�M�a�x�(�d�o�u�b�l�e� �V�a�l�u�e�,�i�n�t� �s�t�a�r�t�,�i�n�t� �e�n�d�,�c�o�n�s�t� �d�o�u�b�l�e� �&�A�r�r�a�y�[�]�)�
�
� � �{�
�
�/�/�-�-�-�-�
�
� � � �f�o�r�(�i�n�t� �b�a�r�=�s�t�a�r�t�;� �b�a�r�>�=�e�n�d�;� �b�a�r�-�-�)� �i�f�(�A�r�r�a�y�[�b�a�r�]�>�=�V�a�l�u�e�)� �r�e�t�u�r�n�(�b�a�r�)�;�
�
�/�/�-�-�-�-�
�
� � � �r�e�t�u�r�n�(�A�r�r�a�y�M�a�x�i�m�u�m�(�A�r�r�a�y�,�e�n�d�,�s�t�a�r�t�-�e�n�d�)�)�;�
�
� � �}�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+� � � � �
�
�/�/�|� �>8A: �?5@2>3> �M:AB@5<C<0 �?> �53> �7=0G5=8N �2 �B09<A5@88 � � � � � � � � � � � � �|� �
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+� � �
�
�i�n�t� �F�i�n�d�M�i�n�(�d�o�u�b�l�e� �V�a�l�u�e�,�i�n�t� �s�t�a�r�t�,�i�n�t� �e�n�d�,�c�o�n�s�t� �d�o�u�b�l�e� �&�A�r�r�a�y�[�]�)�
�
� � �{�
�
�/�/�-�-�-�-�
�
� � � �f�o�r�(�i�n�t� �b�a�r�=�s�t�a�r�t�;� �b�a�r�>�=�e�n�d�;� �b�a�r�-�-�)� �i�f�(�A�r�r�a�y�[�b�a�r�]�<�=�V�a�l�u�e�)� �r�e�t�u�r�n�(�b�a�r�)�;�
�
�/�/�-�-�-�-�
�
� � � �r�e�t�u�r�n�(�A�r�r�a�y�M�i�n�i�m�u�m�(�A�r�r�a�y�,�e�n�d�,�s�t�a�r�t�-�e�n�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�)�
�
� � �{�
�
�/�/�-�-�-�-�
�
� � � �O�b�j�e�c�t�D�e�l�e�t�e�(�0�,�"�D�i�n�a�m�i�c�F�i�b�o�"�)�;�
�
� � � �O�b�j�e�c�t�D�e�l�e�t�e�(�0�,�"�S�t�a�t�i�c�F�i�b�o�"�)�;�
�
�/�/�-�-�-�-�
�
� � � �C�h�a�r�t�R�e�d�r�a�w�(�0�)�;�
�
� � �}�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+� � �
�
�/�/�|� �C�u�s�t�o�m� �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�,� � � � �/�/� �:>;8G5AB2> �8AB>@88 �2 �10@0E �=0 �B5:CI5< �B8:5
�
� � � � � � � � � � � � � � � � �c�o�n�s�t� �i�n�t� �p�r�e�v�_�c�a�l�c�u�l�a�t�e�d�,�/�/� �:>;8G5AB2> �8AB>@88 �2 �10@0E �=0 �?@54K4CI5< �B8:5
�
� � � � � � � � � � � � � � � � �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�[�]�)�
�
� � �{�
�
�/�/�-�-�-�-� �?@>25@:0 �:>;8G5AB20 �10@>2 �=0 �4>AB0B>G=>ABL �4;O �@0AG5B0
�
� � � �i�f�(�r�a�t�e�s�_�t�o�t�a�l�<�m�i�n�_�r�a�t�e�s�_�t�o�t�a�l�)� �r�e�t�u�r�n�(�R�E�S�E�T�)�;�
�
� � � �i�f�(�B�a�r�s�C�a�l�c�u�l�a�t�e�d�(�Z�i�g�Z�a�g�_�H�a�n�d�l�e�)�<�B�a�r�s�(�S�y�m�b�o�l�(�)�,�T�i�m�e�F�r�a�m�e�)�)� �r�e�t�u�r�n�(�p�r�e�v�_�c�a�l�c�u�l�a�t�e�d�)�;�
�
�
�
�/�/�-�-�-�-� �>1JO2;5=8O �;>:0;L=KE �?5@5<5==KE �
�
� � � �d�o�u�b�l�e� �U�p�Z�i�g�Z�a�g�[�1�]�,�D�n�Z�i�g�Z�a�g�[�1�]�;�
�
� � � �d�a�t�e�t�i�m�e� �Z�i�g�Z�a�g�T�i�m�e�[�1�]�;�
�
� � � �i�n�t� �l�i�m�i�t�,�b�a�r�;�
�
� � � �s�t�a�t�i�c� �i�n�t� �m�a�x�b�a�r�,�m�i�n�b�a�r�;�
�
�
�
�/�/�-�-�-�-� �@0AG5BK �=5>1E>48<>3> �:>;8G5AB20 �:>?8@C5<KE �40==KE
�
�/�/�-�-�-�-� �8 �AB0@B>2>3> �=><5@0 �l�i�m�i�t� �4;O �F8:;0 �?5@5AG5B0 �10@>2
�
� � � �i�f�(�p�r�e�v�_�c�a�l�c�u�l�a�t�e�d�>�r�a�t�e�s�_�t�o�t�a�l� �|�|� �p�r�e�v�_�c�a�l�c�u�l�a�t�e�d�<�=�0�)�/�/� �?@>25@:0 �=0 �?5@2K9 �AB0@B �@0AG5B0 �8=48:0B>@0
�
� � � � � �{�
�
� � � � � � �l�i�m�i�t�=�r�a�t�e�s�_�t�o�t�a�l�-�m�i�n�_�r�a�t�e�s�_�t�o�t�a�l�-�1�;� � � � � � � � � � � � �/�/� �AB0@B>2K9 �=><5@ �4;O �@0AG5B0 �2A5E �10@>2
�
� � � � � � �m�a�x�b�a�r�=�0�;�
�
� � � � � � �m�i�n�b�a�r�=�0�;�
�
� � � � � �}�
�
� � � �e�l�s�e� �l�i�m�i�t�=�L�i�m�i�t�S�h�i�f�t�+�r�a�t�e�s�_�t�o�t�a�l�-�p�r�e�v�_�c�a�l�c�u�l�a�t�e�d�;� �/�/� �AB0@B>2K9 �=><5@ �4;O �@0AG5B0 �=>2KE �10@>2 �
�
�
�
�/�/�-�-�-�-� �8=45:A0F8O �M;5<5=B>2 �2 �<0AA820E,� �:0: �2 �B09<A5@8OE � �
�
� � � �A�r�r�a�y�S�e�t�A�s�S�e�r�i�e�s�(�t�i�m�e�,�t�r�u�e�)�;�
�
� � � �A�r�r�a�y�S�e�t�A�s�S�e�r�i�e�s�(�h�i�g�h�,�t�r�u�e�)�;�
�
� � � �A�r�r�a�y�S�e�t�A�s�S�e�r�i�e�s�(�l�o�w�,�t�r�u�e�)�;�
�
�
�
�/�/�-�-�-�-� �>1=C;8< �A>45@68<>5 �8=48:0B>@=KE �1CD5@>2 �4> �@0AG5B0
�
� � � �f�o�r�(�b�a�r�=�l�i�m�i�t�;� �b�a�r�>�=�0� �&�&� �!�I�s�S�t�o�p�p�e�d�(�)�;� �b�a�r�-�-�)�
�
� � � � � �{�
�
� � � � � � �L�o�w�B�u�f�f�e�r�[�b�a�r�]�=�N�U�L�L�;�
�
� � � � � � �H�i�g�h�B�u�f�f�e�r�[�b�a�r�]�=�N�U�L�L�;�
�
� � � � � �}�
�
�
�
�/�/�-�-�-�-� �>A=>2=>9 �F8:; �@0AG5B0 �8=48:0B>@0
�
� � � �f�o�r�(�b�a�r�=�l�i�m�i�t�;� �b�a�r�>�=�0� �&�&� �!�I�s�S�t�o�p�p�e�d�(�)�;� �b�a�r�-�-�)�
�
� � � � � �{�
�
� � � � � � �/�/�-�-�-�-� �:>?8@C5< �2=>2L �?>O282H85AO �40==K5 �2 �<0AA82K
�
� � � � � � �i�f�(�C�o�p�y�T�i�m�e�(�N�U�L�L�,�T�i�m�e�F�r�a�m�e�,�t�i�m�e�[�b�a�r�]�,�1�,�Z�i�g�Z�a�g�T�i�m�e�)�<�=�0�)� �r�e�t�u�r�n�(�R�E�S�E�T�)�;�
�
�
�
� � � � � � �i�f�(�t�i�m�e�[�b�a�r�+�1�]�<�Z�i�g�Z�a�g�T�i�m�e�[�0�]� �&�&� �t�i�m�e�[�b�a�r�]�>�=�Z�i�g�Z�a�g�T�i�m�e�[�0�]�)�
�
� � � � � � � � �{�
�
� � � � � � � � � �/�/�-�-�-�-� �:>?8@C5< �2=>2L �?>O282H85AO �40==K5 �2 �<0AA82K
�
� � � � � � � � � �i�f�(�C�o�p�y�B�u�f�f�e�r�(�Z�i�g�Z�a�g�_�H�a�n�d�l�e�,�1�,�t�i�m�e�[�b�a�r�]�,�1�,�U�p�Z�i�g�Z�a�g�)�<�=�0�)� �r�e�t�u�r�n�(�R�E�S�E�T�)�;�
�
� � � � � � � � � �i�f�(�C�o�p�y�B�u�f�f�e�r�(�Z�i�g�Z�a�g�_�H�a�n�d�l�e�,�0�,�t�i�m�e�[�b�a�r�]�,�1�,�D�n�Z�i�g�Z�a�g�)�<�=�0�)� �r�e�t�u�r�n�(�R�E�S�E�T�)�;�
�
�
�
� � � � � � � � � �i�f�(�U�p�Z�i�g�Z�a�g�[�0�]�)�
�
� � � � � � � � � � � �{�
�
� � � � � � � � � � � � �m�a�x�b�a�r�=�F�i�n�d�M�a�x�(�U�p�Z�i�g�Z�a�g�[�0�]�,�b�a�r�,�0�,�h�i�g�h�)�;�
�
� � � � � � � � � � � � �H�i�g�h�B�u�f�f�e�r�[�m�a�x�b�a�r�]�=�U�p�Z�i�g�Z�a�g�[�0�]�;�
�
� � � � � � � � � � � � �L�i�m�i�t�S�h�i�f�t�=�b�a�r�;�
�
� � � � � � � � � � � �}�
�
� � � � � � � � � �i�f�(�D�n�Z�i�g�Z�a�g�[�0�]�)�
�
� � � � � � � � � � � �{�
�
� � � � � � � � � � � � �m�i�n�b�a�r�=�F�i�n�d�M�i�n�(�D�n�Z�i�g�Z�a�g�[�0�]�,�b�a�r�,�0�,�l�o�w�)�;�
�
� � � � � � � � � � � � �L�o�w�B�u�f�f�e�r�[�m�i�n�b�a�r�]�=�D�n�Z�i�g�Z�a�g�[�0�]�;�
�
� � � � � � � � � � � � �L�i�m�i�t�S�h�i�f�t�=�b�a�r�;�
�
� � � � � � � � � � � �}�
�
� � � � � � � � �}�
�
� � � � � �}�
�
�/�/�-�-�-�-� �>1JO2;5=8O �;>:0;L=KE �?5@5<5==KE �4;O �?>AB@>5=8O �D81
�
� � � �i�n�t� �b�a�r�1�,�b�a�r�2�,�b�a�r�3�,�s�i�g�n�;�
�
� � � �d�o�u�b�l�e� �p�r�i�c�e�1�,�p�r�i�c�e�2�,�p�r�i�c�e�3�;�
�
�/�/�-�-�-�-� �>AB@>5=85 �$81
�
� � � �i�f�(�S�t�a�t�i�c�F�i�b�o�F�l�a�g� �|�|� �D�i�n�a�m�i�c�F�i�b�o�F�l�a�g�)�
�
� � � � � �{�
�
� � � � � � �b�a�r�1�=�F�i�n�d�F�i�r�s�t�E�x�t�r�e�m�u�m�(�0�,�r�a�t�e�s�_�t�o�t�a�l�,�H�i�g�h�B�u�f�f�e�r�,�L�o�w�B�u�f�f�e�r�,�s�i�g�n�,�p�r�i�c�e�1�)�;�
�
� � � � � � �b�a�r�2�=�F�i�n�d�S�e�c�o�n�d�E�x�t�r�e�m�u�m�(�s�i�g�n�,�b�a�r�1�,�r�a�t�e�s�_�t�o�t�a�l�,�H�i�g�h�B�u�f�f�e�r�,�L�o�w�B�u�f�f�e�r�,�s�i�g�n�,�p�r�i�c�e�2�)�;�
�
�
�
� � � � � � �i�f�(�D�i�n�a�m�i�c�F�i�b�o�F�l�a�g�)�
�
� � � � � � � � �{�
�
� � � � � � � � � �S�e�t�F�i�b�o�(�0�,�"�D�i�n�a�m�i�c�F�i�b�o�"�,�0�,�t�i�m�e�[�b�a�r�2�]�,�p�r�i�c�e�2�,�t�i�m�e�[�b�a�r�1�]�,�p�r�i�c�e�1�,�
�
� � � � � � � � � � � � � � � � � � � � �D�i�n�a�m�i�c�F�i�b�o�_�c�o�l�o�r�,�D�i�n�a�m�i�c�F�i�b�o�_�s�t�y�l�e�,�D�i�n�a�m�i�c�F�i�b�o�_�w�i�d�t�h�,�D�i�n�a�m�i�c�F�i�b�o�_�A�s�R�a�y�,�"�D�i�n�a�m�i�c�F�i�b�o�"�)�;�
�
� � � � � � � � �}�
�
�
�
� � � � � � �i�f�(�S�t�a�t�i�c�F�i�b�o�F�l�a�g�)�
�
� � � � � � � � �{�
�
� � � � � � � � � �b�a�r�3�=�F�i�n�d�S�e�c�o�n�d�E�x�t�r�e�m�u�m�(�s�i�g�n�,�b�a�r�2�,�r�a�t�e�s�_�t�o�t�a�l�,�H�i�g�h�B�u�f�f�e�r�,�L�o�w�B�u�f�f�e�r�,�s�i�g�n�,�p�r�i�c�e�3�)�;�
�
� � � � � � � � � �S�e�t�F�i�b�o�(�0�,�"�S�t�a�t�i�c�F�i�b�o�"�,�0�,�t�i�m�e�[�b�a�r�3�]�,�p�r�i�c�e�3�,�t�i�m�e�[�b�a�r�2�]�,�p�r�i�c�e�2�,�
�
� � � � � � � � � � � � � � � � � � � � �S�t�a�t�i�c�F�i�b�o�_�c�o�l�o�r�,�S�t�a�t�i�c�F�i�b�o�_�s�t�y�l�e�,�S�t�a�t�i�c�F�i�b�o�_�w�i�d�t�h�,�S�t�a�t�i�c�F�i�b�o�_�A�s�R�a�y�,�"�S�t�a�t�i�c�F�i�b�o�"�)�;�
�
� � � � � � � � �}�
�
� � � � � �}�
�
�/�/�-�-�-�-�
�
� � � �C�h�a�r�t�R�e�d�r�a�w�(�0�)�;� � � � �
�
� � � �r�e�t�u�r�n�(�r�a�t�e�s�_�t�o�t�a�l�)�;�
�
� � �}�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�/�/�|� � �!>740=85 �$81> � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �|�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�v�o�i�d� �C�r�e�a�t�e�F�i�b�o�
�
�(�
�
� �l�o�n�g� � � � � �c�h�a�r�t�_�i�d�,� � � � � � �/�/� �845=B8D8:0B>@ �3@0D8:0
�
� �s�t�r�i�n�g� � � �n�a�m�e�,� � � � � � � � � � �/�/� �8<O �>1J5:B0
�
� �i�n�t� � � � � � �n�w�i�n�,� � � � � � � � � � �/�/� �8=45:A �>:=0
�
� �d�a�t�e�t�i�m�e� �t�i�m�e�1�,� � � � � � � � � �/�/� �2@5<O �1� �F5=>2>3> �C@>2=O
�
� �d�o�u�b�l�e� � � �p�r�i�c�e�1�,� � � � � � � � �/�/� �1� �F5=>2>9 �C@>25=L
�
� �d�a�t�e�t�i�m�e� �t�i�m�e�2�,� � � � � � � � � �/�/� �2@5<O �2� �F5=>2>3> �C@>2=O
�
� �d�o�u�b�l�e� � � �p�r�i�c�e�2�,� � � � � � � � �/�/� �2� �F5=>2>9 �C@>25=L
�
� �c�o�l�o�r� � � � �C�o�l�o�r�,� � � � � � � � � �/�/� �F25B �;8=88
�
� �i�n�t� � � � � � �s�t�y�l�e�,� � � � � � � � � �/�/� �AB8;L �;8=88
�
� �i�n�t� � � � � � �w�i�d�t�h�,� � � � � � � � � �/�/� �B>;I8=0 �;8=88
�
� �i�n�t� � � � � � �r�a�y�,� � � � � � � � � � � �/�/� �=0?@02;5=85 �;CG0:� �-�1� �-� �2;52>,� �+�1� �-� �2?@02>,� �>AB0;L=K5 �7=0G5=8O �-� �=5B �;CG0
�
� �s�t�r�i�n�g� � � �t�e�x�t� � � � � � � � � � � �/�/� �B5:AB
�
� �)�
�
�/�/�-�-�-�-� �
�
� � �{�
�
�/�/�-�-�-�-�
�
� � � �O�b�j�e�c�t�C�r�e�a�t�e�(�c�h�a�r�t�_�i�d�,�n�a�m�e�,�O�B�J�_�F�I�B�O�,�n�w�i�n�,�t�i�m�e�1�,�p�r�i�c�e�1�,�t�i�m�e�2�,�p�r�i�c�e�2�)�;�
�
� � � �O�b�j�e�c�t�S�e�t�I�n�t�e�g�e�r�(�c�h�a�r�t�_�i�d�,�n�a�m�e�,�O�B�J�P�R�O�P�_�C�O�L�O�R�,�C�o�l�o�r�)�;�
�
� � � �O�b�j�e�c�t�S�e�t�I�n�t�e�g�e�r�(�c�h�a�r�t�_�i�d�,�n�a�m�e�,�O�B�J�P�R�O�P�_�S�T�Y�L�E�,�s�t�y�l�e�)�;�
�
� � � �O�b�j�e�c�t�S�e�t�I�n�t�e�g�e�r�(�c�h�a�r�t�_�i�d�,�n�a�m�e�,�O�B�J�P�R�O�P�_�W�I�D�T�H�,�w�i�d�t�h�)�;�
�
� � � �
�
� � � �i�f�(�r�a�y�>�0�)�O�b�j�e�c�t�S�e�t�I�n�t�e�g�e�r�(�c�h�a�r�t�_�i�d�,�n�a�m�e�,�O�B�J�P�R�O�P�_�R�A�Y�_�R�I�G�H�T�,�t�r�u�e�)�;�
�
� � � �i�f�(�r�a�y�<�0�)�O�b�j�e�c�t�S�e�t�I�n�t�e�g�e�r�(�c�h�a�r�t�_�i�d�,�n�a�m�e�,�O�B�J�P�R�O�P�_�R�A�Y�_�L�E�F�T�,�t�r�u�e�)�;�
�
� �
�
� � � �i�f�(�r�a�y�=�=�0�)�
�
� � � � �{�
�
� � � � � �O�b�j�e�c�t�S�e�t�I�n�t�e�g�e�r�(�c�h�a�r�t�_�i�d�,�n�a�m�e�,�O�B�J�P�R�O�P�_�R�A�Y�_�R�I�G�H�T�,�f�a�l�s�e�)�;�
�
� � � � � �O�b�j�e�c�t�S�e�t�I�n�t�e�g�e�r�(�c�h�a�r�t�_�i�d�,�n�a�m�e�,�O�B�J�P�R�O�P�_�R�A�Y�_�L�E�F�T�,�f�a�l�s�e�)�;�
�
� � � � �}�
�
� � � �
�
� � � �O�b�j�e�c�t�S�e�t�S�t�r�i�n�g�(�c�h�a�r�t�_�i�d�,�n�a�m�e�,�O�B�J�P�R�O�P�_�T�E�X�T�,�t�e�x�t�)�;�
�
� � � �O�b�j�e�c�t�S�e�t�I�n�t�e�g�e�r�(�c�h�a�r�t�_�i�d�,�n�a�m�e�,�O�B�J�P�R�O�P�_�B�A�C�K�,�t�r�u�e�)�;�
�
�
�
� � � �f�o�r�(�i�n�t� �n�u�m�b�=�0�;� �n�u�m�b�<�1�0�;� �n�u�m�b�+�+�)�
�
� � � � � �{�
�
� � � � � � �O�b�j�e�c�t�S�e�t�I�n�t�e�g�e�r�(�c�h�a�r�t�_�i�d�,�n�a�m�e�,�O�B�J�P�R�O�P�_�L�E�V�E�L�C�O�L�O�R�,�n�u�m�b�,�C�o�l�o�r�)�;�
�
� � � � � � �O�b�j�e�c�t�S�e�t�I�n�t�e�g�e�r�(�c�h�a�r�t�_�i�d�,�n�a�m�e�,�O�B�J�P�R�O�P�_�L�E�V�E�L�S�T�Y�L�E�,�n�u�m�b�,�s�t�y�l�e�)�;�
�
� � � � � � �O�b�j�e�c�t�S�e�t�I�n�t�e�g�e�r�(�c�h�a�r�t�_�i�d�,�n�a�m�e�,�O�B�J�P�R�O�P�_�L�E�V�E�L�W�I�D�T�H�,�n�u�m�b�,�w�i�d�t�h�)�;�
�
� � � � � �}�
�
�/�/�-�-�-�-�
�
� � �}�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�/�/�|� � �5@5CAB0=>2:0 �$81> � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �|�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�v�o�i�d� �S�e�t�F�i�b�o�
�
�(�
�
� �l�o�n�g� � � � � �c�h�a�r�t�_�i�d�,� � � � � � �/�/� �845=B8D8:0B>@ �3@0D8:0
�
� �s�t�r�i�n�g� � � �n�a�m�e�,� � � � � � � � � � �/�/� �8<O �>1J5:B0
�
� �i�n�t� � � � � � �n�w�i�n�,� � � � � � � � � � �/�/� �8=45:A �>:=0
�
� �d�a�t�e�t�i�m�e� �t�i�m�e�1�,� � � � � � � � � �/�/� �2@5<O �1� �F5=>2>3> �C@>2=O
�
� �d�o�u�b�l�e� � � �p�r�i�c�e�1�,� � � � � � � � �/�/� �1� �F5=>2>9 �C@>25=L
�
� �d�a�t�e�t�i�m�e� �t�i�m�e�2�,� � � � � � � � � �/�/� �2@5<O �2� �F5=>2>3> �C@>2=O
�
� �d�o�u�b�l�e� � � �p�r�i�c�e�2�,� � � � � � � � �/�/� �2� �F5=>2>9 �C@>25=L
�
� �c�o�l�o�r� � � � �C�o�l�o�r�,� � � � � � � � � �/�/� �F25B �;8=88
�
� �i�n�t� � � � � � �s�t�y�l�e�,� � � � � � � � � �/�/� �AB8;L �;8=88
�
� �i�n�t� � � � � � �w�i�d�t�h�,� � � � � � � � � �/�/� �B>;I8=0 �;8=88
�
� �i�n�t� � � � � � �r�a�y�,� � � � � � � � � � � �/�/� �=0?@02;5=85 �;CG0:� �-�1� �-� �2;52>,� �0� �-� �=5B �;CG0,� �+�1� �-� �2?@02>
�
� �s�t�r�i�n�g� � � �t�e�x�t� � � � � � � � � � � �/�/� �B5:AB
�
� �)�
�
�/�/�-�-�-�-� �
�
� � �{�
�
�/�/�-�-�-�-�
�
� � � �i�f�(�O�b�j�e�c�t�F�i�n�d�(�c�h�a�r�t�_�i�d�,�n�a�m�e�)�=�=�-�1�)� �C�r�e�a�t�e�F�i�b�o�(�c�h�a�r�t�_�i�d�,�n�a�m�e�,�n�w�i�n�,�t�i�m�e�1�,�p�r�i�c�e�1�,�t�i�m�e�2�,�p�r�i�c�e�2�,�C�o�l�o�r�,�s�t�y�l�e�,�w�i�d�t�h�,�r�a�y�,�t�e�x�t�)�;�
�
� � � �e�l�s�e�
�
� � � � � �{�
�
� � � � � � �O�b�j�e�c�t�S�e�t�S�t�r�i�n�g�(�c�h�a�r�t�_�i�d�,�n�a�m�e�,�O�B�J�P�R�O�P�_�T�E�X�T�,�t�e�x�t�)�;�
�
� � � � � � �O�b�j�e�c�t�M�o�v�e�(�c�h�a�r�t�_�i�d�,�n�a�m�e�,�0�,�t�i�m�e�1�,�p�r�i�c�e�1�)�;�
�
� � � � � � �O�b�j�e�c�t�M�o�v�e�(�c�h�a�r�t�_�i�d�,�n�a�m�e�,�1�,�t�i�m�e�2�,�p�r�i�c�e�2�)�;�
�
� � � � � �}�
�
�/�/�-�-�-�-�
�
� � �}�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�/�/�|� �>8A: �A0<>9 �?5@2>9 �25@H8=K �837030 �2 �1CD5@0E �B09<A5@8OE � � � � � � � � � �|�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+� � � � � �
�
�i�n�t� �F�i�n�d�F�i�r�s�t�E�x�t�r�e�m�u�m�(�i�n�t� �S�t�a�r�t�P�o�s�,�i�n�t� �R�a�t�e�s�_�t�o�t�a�l�,�d�o�u�b�l�e� �&�U�p�A�r�r�a�y�[�]�,�d�o�u�b�l�e� �&�D�n�A�r�r�a�y�[�]�,�i�n�t� �&�S�i�g�n�,�d�o�u�b�l�e� �&�E�x�t�r�e�m�u�m�)�
�
� � �{�
�
�/�/�-�-�-�-�
�
� � � �i�f�(�S�t�a�r�t�P�o�s�>�=�R�a�t�e�s�_�t�o�t�a�l�)�S�t�a�r�t�P�o�s�=�R�a�t�e�s�_�t�o�t�a�l�-�1�;�
�
�
�
� � � �f�o�r�(�i�n�t� �b�a�r�=�S�t�a�r�t�P�o�s�;� �b�a�r�<�R�a�t�e�s�_�t�o�t�a�l�;� �b�a�r�+�+�)�
�
� � � � � �{�
�
� � � � � � �i�f�(�U�p�A�r�r�a�y�[�b�a�r�]�!�=�0�.�0� �&�&� �U�p�A�r�r�a�y�[�b�a�r�]�!�=�E�M�P�T�Y�_�V�A�L�U�E�)�
�
� � � � � � � � �{�
�
� � � � � � � � � �S�i�g�n�=�+�1�;�
�
� � � � � � � � � �E�x�t�r�e�m�u�m�=�U�p�A�r�r�a�y�[�b�a�r�]�;�
�
� � � � � � � � � �r�e�t�u�r�n�(�b�a�r�)�;�
�
� � � � � � � � � �b�r�e�a�k�;�
�
� � � � � � � � �}�
�
�
�
� � � � � � �i�f�(�D�n�A�r�r�a�y�[�b�a�r�]�!�=�0�.�0� �&�&� �D�n�A�r�r�a�y�[�b�a�r�]�!�=�E�M�P�T�Y�_�V�A�L�U�E�)�
�
� � � � � � � � �{�
�
� � � � � � � � � �S�i�g�n�=�-�1�;�
�
� � � � � � � � � �E�x�t�r�e�m�u�m�=�D�n�A�r�r�a�y�[�b�a�r�]�;�
�
� � � � � � � � � �r�e�t�u�r�n�(�b�a�r�)�;�
�
� � � � � � � � � �b�r�e�a�k�;�
�
� � � � � � � � �}�
�
� � � � � �}�
�
�/�/�-�-�-�-�
�
� � � �r�e�t�u�r�n�(�-�1�)�;�
�
� � �}�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�/�/�|� �>8A: �2B>@>9 �25@H8=K �837030 �2 �1CD5@0E �B09<A5@8OE � � � � � � � � � � � � � � � �|�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+� � � � � �
�
�i�n�t� �F�i�n�d�S�e�c�o�n�d�E�x�t�r�e�m�u�m�(�i�n�t� �D�i�r�e�c�t�,�i�n�t� �S�t�a�r�t�P�o�s�,�i�n�t� �R�a�t�e�s�_�t�o�t�a�l�,�d�o�u�b�l�e� �&�U�p�A�r�r�a�y�[�]�,�d�o�u�b�l�e� �&�D�n�A�r�r�a�y�[�]�,�i�n�t� �&�S�i�g�n�,�d�o�u�b�l�e� �&�E�x�t�r�e�m�u�m�)�
�
� � �{�
�
�/�/�-�-�-�-�
�
� � � �i�f�(�S�t�a�r�t�P�o�s�>�=�R�a�t�e�s�_�t�o�t�a�l�)�S�t�a�r�t�P�o�s�=�R�a�t�e�s�_�t�o�t�a�l�-�1�;�
�
�
�
� � � �i�f�(�D�i�r�e�c�t�=�=�-�1�)�
�
� � � � � � �f�o�r�(�i�n�t� �b�a�r�=�S�t�a�r�t�P�o�s�;� �b�a�r�<�R�a�t�e�s�_�t�o�t�a�l�;� �b�a�r�+�+�)�
�
� � � � � � � � �{�
�
� � � � � � � � � �i�f�(�U�p�A�r�r�a�y�[�b�a�r�]�!�=�0�.�0� �&�&� �U�p�A�r�r�a�y�[�b�a�r�]�!�=�E�M�P�T�Y�_�V�A�L�U�E�)�
�
� � � � � � � � � � � �{�
�
� � � � � � � � � � � � �S�i�g�n�=�+�1�;�
�
� � � � � � � � � � � � �E�x�t�r�e�m�u�m�=�U�p�A�r�r�a�y�[�b�a�r�]�;�
�
� � � � � � � � � � � � �r�e�t�u�r�n�(�b�a�r�)�;�
�
� � � � � � � � � � � � �b�r�e�a�k�;�
�
� � � � � � � � � � � �}�
�
�
�
� � � � � � � � �}�
�
�
�
� � � �i�f�(�D�i�r�e�c�t�=�=�+�1�)�
�
� � � � � � �f�o�r�(�i�n�t� �b�a�r�=�S�t�a�r�t�P�o�s�;� �b�a�r�<�R�a�t�e�s�_�t�o�t�a�l�;� �b�a�r�+�+�)�
�
� � � � � � � � �{�
�
� � � � � � � � � �i�f�(�D�n�A�r�r�a�y�[�b�a�r�]�!�=�0�.�0� �&�&� �D�n�A�r�r�a�y�[�b�a�r�]�!�=�E�M�P�T�Y�_�V�A�L�U�E�)�
�
� � � � � � � � � � � �{�
�
� � � � � � � � � � � � �S�i�g�n�=�-�1�;�
�
� � � � � � � � � � � � �E�x�t�r�e�m�u�m�=�D�n�A�r�r�a�y�[�b�a�r�]�;�
�
� � � � � � � � � � � � �r�e�t�u�r�n�(�b�a�r�)�;�
�
� � � � � � � � � � � � �b�r�e�a�k�;�
�
� � � � � � � � � � � �}�
�
� � � � � � � � �}�
�
�/�/�-�-�-�-�
�
� � � �r�e�t�u�r�n�(�-�1�)�;�
�
� � �}�
�
�/�/�+�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�+�
�
�

Comments