1110101101100110001101111011010011101110011110111110100111100111010111100010000110111000100011101000111101000110001110010101000101110101010001110110110110011101101111111100010011010100000110011110010111001101111000100110111111010001000101001001001110100111101101001100101010000110000010110110111100110011010010111101010111010110000111110110001000101001101001001000011100001101011101011010100011110001 0001000011001101111010010010001001010011101000100101101001000001011100110110111001000010111011110011100000101000010111011010101100011000110100110001111100011110111010101110010001100000110110111110011100100111000000100000011110001101110000101001101011111100001101110101011100010010000011000010101011010100110101110000001111001001000111110101111110100110110001111010001000001011110101010001111110011010 1010111111100010111010010010101100010111010100111101001110101000110100111101001001010000100101100010011110010011110000011011101010001100111111101001001001001100010000011111000011111111110011101111010000111001100001111011101011001001100111011010010001101000101011010011110010000101110001000001010000100000111011100000000100011100000010100011110011100000110001010000010101000110110110110000110110001111 1100110010110000101110111001110000010011110100001100011011100111110000111100000101011111101111110000111111001111101101010110101111110000000110101001000110100001110010000000111100001100010010111000001101101101100110110011110110000010010111011100100011001011010010001111000010000010010110001111100101100001000010011000111111110101011110000101111110100010011101101110101111110010001111100010100110001010 1001011000100000101011000100100001110101110011100010000010100001100001100100101011110110111111111101011000110110011101110101010010110000110110001101110100011011100101100011101110110000011111100110011000101010001110001101100000001111111010011110110011010010111100101000001010110110110010000111011010011110110011010110100000110010101001111101010101011110100001100000011101011011010000101010101101011101 0110101000011000010110001001111010100110001001110101100011111010111111110100100111101001111001010001110010010010011010010110001011100010110111111011001000111001011100001001111010100100111011000101001100011010001010100100010100011100100011110100111011001110100100011001101001100011011101011111110110100000010111000111011011101100100111011110001001001111111000100111100100011101000100010111000001111111 1000011110001111011011101100001000011000110111110000111100011001110011100000111110000100011111100010001100000001111001000011110001011111110000100000110111100111111010111110010110110010010101010110101001110110011011001111011100100100010111010101011010000110001011010000110110000000010100000001001110110110101011101001010111111010010111010101110001001001011011100011111111101011110111110000111010000010 0110111000001011110101001001111011010011000100100011101011111011110110110110110000110110101100100100110110101100000000100011110010000101101001101011101000000001101111110011100101011111000011001001110001100100110111110100010000101010111100010101110000011110100110000100010001101000101101111110000110011011101110010111010010101010010010011011101100011100111011001110111100000001010001010010110100000010 0010111111000000101001001000001001010110101111010110000101101111010101010111100111010111100011101101000101111000111011101011001110001000111011001011011110011100110001110100110110000001110101001100101010101001100101001100100101001100110111100110100001010110100011010101100111010101110000011010111001000001000101000100101011011110111000001100011100001011001000100011101011101100000001000110000100000110 0111010100111000110000001000100000000100101001101001010111010101110111011111101101011000110111000111011111010100000110101110100110001111011000011101010000111101110000011101010101101011001011000000001100010111001001001010111111100000100111000111110100101100110110100001101111010010101101110011001000000111000011001010100011101001011010001011001101110000001010010010101110101010101101101111110111101100 1000110011111111001001100000100011100101101010111100000011110101001110100011011000110101100100011000010111000011110111001100101100111111110011001010011111110000000101100001101110111011010100111111100011011011000110011010100010110010011011000101111110000010001010111110001111100111011101010111011011110000011010001011000011001001101001000000110000100100001101100111111101101110110101011011110111010001 0010000111001011110101011110111100100111111110100000000110111110110101010010100110011001001110111100000110001101001111100000100111101010000100000100001000101111100001110001010010010101111010101101100010101101101001100011000010110100000001101110001000011101111010111011111110000010110000000011011001011110101110101100010111100011101111000101110111101111101010100011111100100010111101110001010000100111 0100011101010111100011000110001001011100101100011100110001100110000000001010011110110110110111100111101011111001100110111101100000111000111001000100100011110101010001001010010111001000000100010010011000100101101110011011111101100100110010010010111010010011000101100001100110011101101001011011111001111110010111101011001011000010011000010100101000101001111101111100001000000010011111000111100111101110 0001000000110000110110110011011101100001110100100010011111101011111100110010100001001101000011101100110101011110111110011100000001100000000111100011001011000000001101011010110010011111110110011111110000100110100111000001000010101100010011110011000100000100011101100110111100011001011000101011000111010101100110010111001101111101100100101110101001111100001101101111100010111110001111000001001110100101 0010110100110011010111101110000111011100111101011010010011000100000101010111110000000100011111000111000100010110111001111000100011110011101111101100011111111011110110111001101100111101101111000011100101011010100110011010001110100011010101110111011101111110101111001011100100011011011100001001101011011011010011001000101111010010001100110011110101101001110000101110000101110110101010100000011010110101 1111111001100100001111000100101101100000110111111000111000111001111001101010100000111000001010011011000001101111110111010010001000110101010011110000000011111010000110001000101110000111001011010000010100100110010110000111000111000000100101101001000110110010100010111010110001010100110100001101001011100010110110110100110000111011000111110100101110010110101111100010111000001111010001001010010111010011 1101101110000000111110100111110101000001110011000010010111010111100011011100001110001011000100111010100101011111111010111000010100100000101000011011110101100001000000010101001110110110000000001111111101111001011011001000100111000101101110001101110010011011101111000110000010011110000100001011101001101101111111101001110100001000110011101000110001111100110000100101110000001001110000101011100111010011 1100101011011101100101111100011011001110100000101010000010110101100000111110011111101000010110100000001100100111101101000000111100001001010111010101000010101010001101001000011101000101001000001000010011000110101010010011000110111110011100000100011101110010100101011010100010101011000110110110010111101000001101000100001111000010100101101000110110110001111000010110000010101110010111110110001000111011 1101111001010011001000010100101001100100011000100011001110101000010011001111100101111110101011001101000100010111010011000101111000100100001101100111101010111011011101100100011100111100101101110011010110110111010010100001001100111101011110101100010010001010101101011011010010011000000010011111011011111010010001001111110000001010011001100010111001001010001101001001001101110101000100010100110001111100 1101010000001111111100001111100110111101000011111000001101010111001000000110000100001111101101001101001000110101011100110011100101010010101111011010110011111101010110111110011110001000100100101100110001110000110100011111001100101001001101000000010011100000010000010100111010101010011100111000110100011010111011111010010110111101111101111011001110111001000101111101110011011010000010001011000101000101 0101110010010000011010110001110010011010001101010100011010001111101111010000010001001101101011010110100010010100010100001101011111000110011100101001001101110001110100110011011001011110100111111101110101000111010011110110101010011111101000010101011001101011011000111110100100011011101110100110010111011001100000000111101111100101010110011010111111010111100111101001100111100100100000000000100011010110 1001011000000100110010100110101011011010101110011110010001010000100110000010010110100000000010011110000111010011000111001101101000111001101000000110000000011011011111110100001101001100110110000001100100011110000110011100011000110100110011011110110001001100000101110101010001110010101001101101010111100101000111011011001100000110100000111010101110000000001100000010100100110010110101011011111101010110 1110101100001101111010110010101110110000000110101110111010111011011110110111110101000100111110011011110010000100000100111001000000111111001111001011101000111010101010000101011000001010111010000010011100111101110111010010001001111010110100110001100111101110100111011001011110011001101000000001001100101111100010001101100001010100010101011011000011011001011110010011011101100001011101101111000101110001 1100011000011111101100111000110011101010000100010010100101101000111010111100111010110101000001111011000110010100100001000010011111011010110001000010001000111011010110011000000010100000110011101001000111001010011110000010011011000110010000011101110000000100100100001110111111010011110011011110010011110111101011111011000100010010100100100001111100001010111011111101100101001010101000100110010100100100 1110100100010100000111000111001110000101010111101011000111101001100101011010001001111001101010101010110100101010000001000000111000010000101010001011010001100111100000100111100001010110000010010101011110001101000110000110001101010011101001101001000110000100101010011101001110111000010011001100100110101111101011110000000110011010000101110000010011111110010100101110000000001101100000111111101000110111 1101111100001110111010101001000101111010011111011001110001110010100001010101111010010000111010101001011111000011001101100100100101100111000001110110100010011110010111001110010110001111111101111001101000111111101101010010000010111001001100101010010101010001010100011011011000000101001100100001100011000000111001101111111101001011101000110010111011011011111011011011110101100110100010001110010110100001 1110110100110110111110000010101111000110110101111000010010011101010000000010100001111100001011100000110011011111110101010001101000100110110001100111100100011001010011101001010100100011101111011011110111101011110010000010111001001000111000010101010111101001001000001100110010010111000100001111100100011011000100101110111110111110110000111000001111001111101010101001001000111000000100011101000001000111 1011111100011000110111011111101100001111111100011100011101000110000100110001011000101100011101110010001111100000001010101000101001110001100100001110110110100001010111000011111110001101001000100110000011111010100101000100000011100011100011010101010110011100111101010110010011100111010111111100010101111101000101110101110010101011010000001010100000111011011101010010001010001101111010111110000011001001 0100011001001010011010110101001111101001101110011100000100101101110000010101000101100001111110010111100100000011110010011101010000011000001011110010101000101111010001101001010111010001101000101101011001001110100001001000011010100001000011010010010011001001110001001100110010101011000111011101011100000101100101001110100100000000110110011010111010011000010011011010011001011100101001000001101101110100 1011001111011111000000110111001110100111011110001101100001101001001111011000111110000011011111011001001111110001111110001000101100100011100100101101111100011100100000001110100101110011110000010101000010001101001001101011111100110001010100011101101100100101110010001100010001000001100111111000001111000010111101100000100011010001100001001000100010101111010110101101101001010100011110101101000101010110 1100101110010011011100001010110110100011100110110011001100110011111010010011100011101001001011000000000101110100001111011111011100000000001010000101110011000010100010111100000101101010001001101010110001000111100110110011000000101111111001001001000101001001001000001010011010000111111111000001100010000101101110000010011000100001111101001011000000101110001000101110111100011101001000001100000010101011 0001010110000010100010010111001111100111110111100101011011000010001111111110111111011001111000110010100110111100110000010111101010011100001001100110001101011000011010010110011101000111101111001101101100011011011100110000001001000010001111101011110101000100101010011101101011001011001101111110100010011101011010111111011101001111100111101011110000000110101011011111111000000000111010010110000110100011 0111100000111011010100110110000010100100110010100000111001001001111100010001001111010001000000101011110110110111111110010101001001110011001111000110101111100001010100000101011111110100010000100110000110111010110010001001011101011000110100000100001100011110100110011101101001011000100000000111010111111110000111110111100111111011101011110001000100100111011000001111101000100100000001000000100010100101 1011011100101010110110000101000100010001100100111100010011011011001011001100101101010100010101011000010110101000000000111100001111010100010100010111011011001011011111010111101000011000010010110000110001011101100011011111111110111001111010011100001000000000110011010110010111111111111001110111010001010111000100011010010100101100111111010100111001101110000000000011011011111011101000111101100001110001 0011001110110001011110001110101101110001001100001000100111010001111111101111001111111111000011000100101000100100000000110000100001001110111010010101010001101111101100100100110011001100100100111110100011101000010000110000101101000101010011000100000101111100011111110111101010001001101000010111100111101101111000101101111110101001101111000010101110010111001011100000010011010010100111111001011010110011 0100000100000011101010100110000011111101001010101000101011100110001001001101011000010010101111001011111010111100110000100001001100100011010010100011110111100000100110010100010111110100110100000000110111100110011101111011011100001000100010110000000001010010100100000011001001110111010000111010100001010011010110011011101011111011001010000011111111110000100110000000001011001100001101101001001000011100 0010010101011100000001110001100011001101001011001001100101101000101100001110000110011101000100111110001111001110001001111100100100110110111001000001100101000001101011001010001110001001111100001010100000010000001111110011000001001010111110111100100001100101000101010101101101000010001100111010000100110011011101110110110001000000101101100011010011110110010000000001111000000111001101010111101100100100 1101011001101110101000101011100110100100100001011100010011011000101001011001011101011010101001001101111111000100110011011111101110010101010100111110110101000010000011100010010111000011100100110100111000111000110010111110001001111010001101111101100100110001001010110100000111010110000000001010011100101010101101001011110111001100101010110111100100000101001111101101100000001000110111110101100111110011 0111101100100101011011011101001110001010111011101010001110100010000001111010001011001000100000011110111111101110010100000101010010110111110101100100011101111011001100010001101101011010011100001110011011110100100100011111101100000010001101101011101001011010001111000010000110111110110111010111011110001001101010001001001111010000001001011111011001101110110101101010100111111101110010110100001010101000 1000101011101111001011111001001000111000111000000010010101101110011101011101101011001101100111010100100100010001101000000100010011101011011110010010011001101000010001110010111100100010101110110101011110110001000000011110010110010011011101011011000001100101001100000010011001000010110101010000001011011000100000000000111011010011011011110110111010111110111101110001011100000001111000111011110010010011 1010101011001001001110100001111100000111001110011111110010010000110000111011100000111000111010110001001000110100001011100100001111100001110010001111110111110110000100001001000001000010111010010100000001001001111100111100110111011110000100000001101011010111111100000000111001101100010100100101010111011110101010011101111001010110111111001010100100111000000101001001111110111101101001110000110001001011 0011001101101001000011101011010000000001110111111101101100000000100111111100101011000011011101000010101001000110001011010001010111000111011001010100111101000001010111000111110110000110110100011011101110000000111100000010100110111100011010011111111100010110110110011010110001111000001100010001010101101000011010011100001111000110100001101100010111010101000101011011000010011010111100001100111001010011 0110011110111001001101000001110000000000000111000100100101000000111011001010101101001001101100101111001000010101101101010100010001001100010100001011101000011101011100100010010011001000011110100101100110111110001000000010010110101001110011100011111011110100101101101111010101100000000010010100010001111000000110100111000000000101111110100000100000000110001000011111001011000110110000010011100011100110 1100111000001000100101110100011101011111000010101010000010110101100000101010010000100100101010111000111111101111010011001111010010000110011011100110100101000010111010010111001111000010000011100111101110011101010100011010100101011110110001010000101111111011110000101011101001111111100111111001011010100111010000001101010000110111110010010110011101010011100001101100011100000000111101000111111011011000 0100010011001011011101100000010001111100110010101101010101001111011101100000100000111111011010100110100001001010011011101001101011101111101100010010100101100100100111111001001111000101010100000100100001010001001101111100010101111101001000000110001110011001001011011110100000000010111100001100110001111001000111111011110100110110000101110100100101010010010101100001011001011011111111010110011001110110 1010010110111000101001101110111000000111000000010100101100000011111111001101111010000000001011011111101111011001001011111101100110100011001100111001110100001100011001110001101111010111100000111111001011111101101001110010001011111000010001111001000000111100011110101000110001111001001010001010111010000000010101100111011101001001001010001100100010000100010011010001110001100100101000100011110001011001 0110111100101110100110111011011101101010010101111100011001101001101111101100000011111011100100101110010010101100010010011110110001011000101010100100011101000100010101110111010010000101100000010011000111011000001010001111011101010100010001001110101111101001101100000101011011000001010110101001011110111000011000100011010110011101101101000001110011001101011111101001001001000001110100001100010000010011 0000001100101001010111000111001001000101001111000010010101110101110011111100000110010110100011000100010110101100111110111011001000001110110100001111101100001100010100000000010001101001000000011100010111111010010100000111011001010101010001110010011110000110011111011000000001000010100010110010000010110110101000111000010011010001111111100101001101100001000111001111010001000101001010000110100100101011 0110111000011000101111101100101001101101011000011001001001100101100101110111110111111100100011110011110001010101101110110000110001011100110011001010011011111001111101110001010011111010111011001110111000110010110110010000100011101110101010110010110010111001100100101000100010001110010000100011000001111110100000010100111001101011000111110010110101100001000010110000010101011101000100000001100010001010 0010101010110100011010110101110100011101101001110011000011010011111110111001000011001111110100100010110011010100100001001100101001010101000000000101010001001011010110100111110000101111111111111101001111100110111011000000110001101010000100111110111110111011101011110001110111001110000010100000110100011101001110101111101110000011010101010001000111001000001110111100110110000110101001000100010010101010 0100101101010110011011100001011010101100001011101101111110010100010110010101111101101100110111101101011010110111000111100100100001011100100111011100000111011111011111010111101001001010000110110100010110110010001100111001110111110010010101101110011001110100100011001010101010000110000110100111011000101000111110011000011000111001011101001010111001001011100101111001010001001010100010101000011111101111 0010011100110101100101100100011110010111100111111101101000110110011000101110100011000100001100010010000011111100111000101110101111011100111010110011001011011110111010101001101011111111101100110001010100110110011111110100101100101010111010000111111101101110100100111011100111010011001111000001001010000000110001111011100101110100000011000101111011100011100011000101111000101110111011111001101001001010 1110000101011100100111001010100010100000001010100011000100111001101101111110011011100111111110111100101111010011011011110101000011110000110101010000010011001111101111010101001010001110011100100111000100010001111001010010011100011110101000110100110011110100011010111011110001011110110011011101001100000000101001010100110110110100011000011100000101111101101011011100001101101111011100010101010100101001 0100110001010111001100111110110101111000110001100111110101101011000011001111111110111000110000011010000010101111110111011001110011101110001101100111111111000111011101111010011000001011101101011001101010001010111100010110101010110011110001010000000001110010010110111100010001100010110011101100111000001011110010011000010111000111011110100100011011011111000100111111001010010001100000011011010011001110 0010010110101111001010010011101110100010100110110100000110010101111000010111101110001010101001100100111010000100100000111010110110111001000010011111001011010000011000101011011000001101111111011100000100010101001100111010111101010000010001100111001111100011000100010111000111011010101000011011100100011101000000100011000011100010000000011000101100100110110000010011011010001101011010101001011101110000 0110001010100011101101001001000000110000000001011001110110100110111000000001010101001001110111101010010110010100100011111010111000100010000111010011101110100110101111000100011110100110101111001110100101001110001000001001000000111101010100001100011111011000101000000110101100101110100010000010011010100000000001100110010000000110111101011010000100101101000101110011100011110100111111001110101101101001 1101111010011101111101011010010010000011111000100111000111111010011000011001000001011011010111111100010010010010111010111111000111001110000010001010101101000011101010011100010000101001000101100000000111011100101001101111011111110011001110010011010100110001010101100101011011100101110000001010011111110101101101011011111000101001101010110100001000110000001000000111001000011011101101101110011011100110 0110111010000011101110001010110100110000001100111001111110000000011100010101100101110011010010101111001111000010101100000111010111011110100111101100111101111110100000110111111100100100100011011100001111101011000110010111000001011100001111101101110100110110100010110110001000001010100110110110111010010110000001011001100011101111100100111001011101111001111110110110011000111111000100101001101110100111 0000000001010000100101100010011111011001010100001111101011111001011011101110010111000000001001010000110111000110101100000101100101101011110100101101100000110000000111111011000101011110100001010010010011111111011101000100110110100000111000000000101110100110010111000110111000101001010001001010010101100001010110101110111111101110100000110110110011101001110110000100001111011111101101011101110100101001 0110101001111101001100111110000001011111010000001101001111010000100101000001000000111101100100101011011000010111111010001101100011000100111110110000011010010000100101001011110101000010100000111101111110000110000001101011001001011001010000011100000000000100111001110111100101001010101000010111000110110100101110001011110000011011010110001101100110000001111010011010100100011000101101110001111001111110 0100000001001000011110110101111100011000010010101000001001010110111110111110010001110110100100001101001110111011000110000111111001100100100011110000101101010111011101001101100111001110111001011111010110010010111001010010110101010010010101100111010110011111100000011001011110110110011000001101010011100001111100111111011010011101011001000111011110010010100100000100010010100010000101110001001111101001 0001001010111101111001001010100011000000100110100110101111111000110010001101110110001101110000110010100111110010101100001010100010111101111000000010110011010000110110001101111010011110111100010101010001010100000101011101011110010110000001000011101000011011011000011000000101110010001011010101111100011001011001111100011100110101110100011011011001001110000101010101101110101010111110110011011111111101 0100110011001011011111111111110100110011111011110011100110101010111100000011111011010100010110010110111100111110101000110110111011001001110111110111000010001111101111100101100000111000011000110110111010111010100100110011011111001000110110010010010100000111011111001000011000001010001100011001101100100001101001111001110010010101100110010000001000011101111100100110000101010110000001000000111110011000 1110011011110101000100000110101111010000101111001000110101001000100110101001101101110011000001101010100111101100101101001010001111001000010110000111001010101000110011000100010100101010111101111001011001001000001111001100110100000010110010100110101100011111000101001011110010010001010000001110100000110101111001010000000111001011000000010101010111100101011000010011000000001100101011101101001101101001 0110010110100000110101100100011100011110110001110011011001010100000010011100100101010000101010010101111100111110010011010011110111101010011101001111101000100101111011010110111011100011101010011111110010000000011101110010000010001100010000101110001110011011011011010000101001111011100100101010011110100100110100001101011110001010001000100101010011110001011000101000100010001101001100110110001100100111 0100111110001001110110010100001010110100010001001001110100100000101111110011111000111011001010000001011101001010101001101011111000011101110101000110100111001011010010010000111000111101011000101000011110011000010110101001001010111000100101011111001000010101101000001010101010001110011101110010100000011110000101111100110101101010100000100011110100110100000100100110010100100101101001101011111100101001 1011101111010001011011011110111001000000010111110001011110000010010001000011110100011101111101001001111100100111100111010101101011011000101111110111101100001011101000101000110111100110111110000110001010010100101010011111110000110011001110000111010111001101011101110011101000101111110101001101000100001100110100000001000010000000011011110011101101010100110110001000100111110011110110001110110010110111 0110011111111100101100111100010001010111110011100111110110000100111010010100011110011101011011001111010001110000110011001000101111110000000001000101010011001001001010010101111010110101111101111110001100000111011001011111101100100010000011011111101001111101010111100010111010011110001100100010110001000110001110010001101000010110101011010011100010110010100000110111001111101001001011000011100010000101 1000011101011111010011001111000110010111010001111110110000101001011010000011000101000110010100010010001111011011000111110100011011101100000111100101000100110010001111000000000011001100010010000000111011110000111111111101101111000111011110010011100101011011111110010100111011011100001111111100110001000011111100011000100001001100101011001010011111100001010000101000010000000100001000101010000000011010 1110000111110101011100010100011111101111110100110010011101001101001011111110010001000010110001110011001111011111111100101000110101101110111010010101010100101011010001110111001100111100111011111111010011101111110000001010101010001100110010011000111101001001101001100000101010100010101101100000100100110011101001100001101111000010001100101100011110010000110001000111111001011110011111101111000001111100 1100000101100110011110001111001101110010110001111001011011101101101100111101000010100111000000011001010110011011100101000111001011111000011000011100100010010000000111001010100100100111001001101111001010100101111100000110000100100001111111000001111001101111010010000011001111000100011110110100011011100000011101111101111111011110101010111000101110100000100101111101011110000010001111101111111110000110 1110000011011100101001111111101110100101100000000000010101111010111110100110011011011101110000010000011010010100011100111110010111100111001100110100010110001100110010101110111000011001111110000111011111110101010010100111010011010001111110010010111010100000110110000111000001010100110011000111001110111001010111110001010000100101011101000100010100111000010011001011100011110001000010101101100111000101 1111011100111000100010010011101110011000011010111101101011100101110011000110000001011111011101101001110010111111100000110000010010010000100100111101110101010010011110000100101111101001110000100001111111001000011010110001100001100100101111000000000011111001001011010100000010101111000011011011111011011111001001000111001100011000000011010001101010110110110010100111001010111100010101111010110101011100 0000111111001110110100010010001000110100100000100011000110100110010000001111110100010000100100010001111001101111111001101110011000100101110100101011011111111111011010111101011110001010111010011001000000110101100000010110111000101001101010011001000011100010101010011000011100110101001101011001111011110001110010000011110101100111101011000011111000101111000110000110000101100010101110000011001011011101 0101101101010101000100100101100110010101011000110111111011011011000011111011001101001000110011101110110111110011000011111110100001001010110110110110111101000110101010100010110010010100001111011110101100010110111001010000001110011001110101000110101010010110000010000101000110110101100111100010001000111000100001011110001010100110100011001110110101000110111110101011110100101100101010100100110011110100 1010000100111000110100111101101001011001101001011101101101101011100010100100000101010010110010111101100000000010010100111101101011010011010111110101011110110101010000000011011111010000101110101110001000101101101100011101010011000101011101000001000001010111101000110011001111001101111001001101101101110101111001001100110111110000000011100100100001111111111110110001001111101001000000010111111011101010 1111010110011011100111111000000101110101111100101010010000110100100000001001001001001000000110011010010000010111101000110000001100101001110001010001100111001111001111000111101110010000100011010111111001100100011001111001010100100001001110000000100010000101010100000000011010011011000110110000011100111100110000011100110011010110111011100000101001000000101010100010101010111011100110111010010111010001 1110101000110010001001101000101111000011011100011101010111001001100011010100000111101010101111100110101101101110000001000010100110100010111111001010000100101011110011011111110111000110010010100011010010100100110011101001111000010101011111111001011110100010110001111001011101111001111110110111100011011101010000101110000100110000101110001100100001001101000110101101100010111111010111001000110001011011 0000101000010001011100100001110110011110110000001110001110101000011101111010110000100001010110111111000100101000111011111000011010011110011011010110110001111111111001111011010100010101101101010100101110001100000111010101101101110010110101111000001110000100010001111100000001011111101101000011011000011011010111000011010000000011011001101101010000111100111011111011101001101000000100100010100000111110 1011110010010010100110001010011101110111110101011111100000100110000011001101111001100011001110000110100011110110010001101110100001111110001001110011111100111011010011111101011010011101010100011111010100011101110011100100110111100101100011100001111110110110110011011010010100100100011111001111011100100100101010011111011000001010010111011001111010101001101110010111010010100101001110011010010101101111 1010110000001000001001101011010110001001001110010001001010010000100011110010101011110101010110110001010100011000011010010011101001000000010111110101010111110001100000110000111110101001110011111100001111101101010000111100010010001000001000011111101111001111110001001110001100011011101010011000110110111100100000100111010000110011010101100111100011100100111111001000010110010101011100000000101000100001 1000110100010011011011010001111010110010010111000001010010111101000100011100011100001001100101100001011110100001001010011001001001011110101100111010011100111110110101100100110001100110001000001110011111100010010011110001001001011111100011011011011111110110000100100111010100001100001010010001111000100000010010111100010101100101011000011100000100010101010000001110101011100001110001010101101010111000 1110001111111110000111000110011011110011100001001100010001000101111100011101101100111000111010011100101001110100101011111011111011111001110000011111110101100100001010100000011111001001111001101000001011011110110111000100010011100000111100111101110110110010110001001101110100000111001101000000011000010001011110100010110111000011001011011011110001100111111000001011101011011110001010000000000010111000 1010100000001011100010000110000100101101100111110100101101111011101010010011001011001000010101111000101000001100110011111000011001100100110110010001101110011101101110001001110100101111000000011101100101010010001010110011011100011000010001111001000101111100110000010010000100000101111010110001001000100111100001111101010000111110110111110010101000111011001011011000111000111110101100111010000011010010 1010011100110011001010010001000100100000100000101100101010111110000110110010111000111110101011000010010100000100011010110011011101010101101111111110100110000101101011110111101101111100001111111100100111111101110000011111001000100110010010100110011110101011111111111000111001100011111101110100101010011100101010011111111000011010100110011001110111010111001100101110000011110111111111110000001110011000 0111001110010011101001110011101000101001010010111010111000010100111111001010000000010111100101101111010100010011010010111101011000011111101001100010110001010010010010100101011101001101010110010001100000100001010100100011011110000101011000010101011011000010111001011011001111110110011011001011111000101011101111011011101010110011100101010100111011011110001010001001101111110011010011011001111110110001 1001000000101111001010100111111111111100001000010110111001100011001100011110110110011111001100110001111000001110110011001011011010100110011000111001110111110101011000111110100011101111000111001100111111111100011110111010010110101100101000000101010110101101111110110000101110010010011011111000000010110110001101001011010000010000100101111001110110001000111110010110110111001100001000111101000011110101 1011000110010001111011110100101011110001010111001011011011010111101101111111000111110010011100111000110001100111001110101110111101011101101001000101011111000110010001010011001010010001100101110001011011110001010100001100111001011001100111101001001001101101111010111111001010011100100110001111001010110001100110111010010110010011101001101111001100011010010001111101111010010101100000001000110101111110 1000110110011010011110111101111000110001011011001101101110100011010100110111110000100100001001000100110101011001110011011111000010011011110101000111111100110101010110010111110011001110110000001100010111100000101111110011111100000101011101001111111101001101001100010110111001000001100101001110111001111001101011000100000001011011100100110101010011010101000011001111111111010011010111010101110101100100 1110011011100101001111011101100000111011000101100101100010101111010101001011001010111010111001100110000001111111011111010110000101110010011110001111000101101111001100101001101010010101110001000100100100010110111110011101011010000100101000111000111101100010011101001101010010000101001010001110011000101111010101111101000111110010011011010011011111000111011001110100000111101011000111000100101011010101 1011000100110011001110011010110100000110111000101010100000111100010010100101010000101101101111001100110100001100111011001100011110100000010001011101111010000100000110100011010110000101100000111101010011000010010001100001110110010101001100000000111110100011111010110110100111100010100010011100100100010001110011001000001010001100101101110001110011000001110110010101111011111101001010111001011101110101 1001011100011101100110001000100001100100111010011011101000000011000010100001010111110111010001110010101001001001101100001011101001111101100100010110101101111101111001001000000101010010011011110001011010101010000000000110110001100010001100101001110101000000110110000100111111000011101101011001111111000101111110000000110101110001101110100000010000001011001010000110001010011010101000101100110110101010 1111000001100011101000000101001001110001001000001111001010101111101101100001111101010110100101010010010010000010101000010100010001111001000011001110111101101001111001010101011011001110011000111010000100111010000000111000100101011000011000100110111000011010100100101000010101010001001010001101010101110000101100111100000000011001001111101101001111101010000010111000111011100000110010110001000101101011 0001110111001100001101010001001110101010000100110110101111001010111001110001011011000110100000100101000111011011111001111010110001000111011000010000101011101110101011001111000101110111011100000100011101010101000000001101111010001100101100111101010111111100011010000011111100100100010010110001101000010100001111000000111101000110110010001101000010000111111100001100101101110000110100000011011000101001 1000110001001100001101010111101110011001010000011010001111001011001110100101001111000100011100011000011010111110011101110000001101000110001010011001110010010001101101110011100000010101110101010100111010110010101101001110110000011100101001110111111000100010111110111101100100101101110110001110110110011011010100010111100101111100011110001111011100010000101111101001011100111011111110010111000000001011 1110001100101110010110010100110001110100110010011101001010111000111110101010101100000001001100110000010001111010001010101101110110100100010111010100001010111010000011011010001010101101100001000010100110010011100110100011011011001001101000100010010101011011010100111010110000001011100111100000111110011001111100010111011000011100111010010111100101111001110000111011010010100111001110110001011111011111 0000101101000001111000111000100001100100101110011000010001011000101011011001101001010100000110011100011010100011011000111111001110001010000100010110000010011000110001111000000111001100001110101111001100100111001101000001011010000110000101011101010011001010111000011111001101001010001011101001100010101101010100011110110110110001011100111000110100011000001111110101000000100110000010111101000000010100 0100000011110110100111000010001001100010110110001101111100001100100110100111000011111000111100001101001011100001010100001000101110111101000000001001100110111100001000101100111000001000101100010111000001011110011100100100100010000011111011111111001010100001000100101100100000010101101001000010010100011000101010100111010010111111101111011101101010101100011010001111101101001011101011110000001010000010 1011011110100011111000010011010010110010101111101010111000111101010011000000111010010011000011011111110010101010010001101001110010110000011110000001011101110011111100110101011000001001001011010101000010110111110100110111001100101010011011101000001010001000100001010101100101111000100110110001010110110000001101001010111111001101011010101111011001000101110000101011110100001100011001011100100101011101 1110111111010111110111000011011101100000010111000100011011001111000111000101001110110111111110001101011100110010100110000001101110110000110101011011110000001110111011110110100001001101111001001101010000001100110001101001111110010111001101011000000111001001111010101010011111010000000011010100011001101100010011110100111010110001011011101100001000000101100000101110000011101011101010100000100011010000
cTrader

【cTrader】Zigzagの高値安値を意識する【Indicators】

9/15/2021 11/18/2021

4年以上前の記事です。内容が古くなっている可能性があります。

Zigzagアップデート

山頂と谷底を意識したい

先日cTrader版Zigzagを公開したところ、こんなコメントをいただきました。(コメントありがとうございます!)

短期スキャル用に押し安値・戻り高値を視覚化するためにZigZagにダウラインを引いてくれるくインジを探しています。

ダウ理論通りのトレンドを見るために、トレンド形成のポイントとなりそうな高値や安値にラインを表示してほしいということですね。

確かに高値安値は重要です。Zigzagの山谷基準で意識できるだけでもなかなか便利かもしれません。

 

とりあえずライン表示してみた

というわけで、単純に高値安値に水平線を表示する機能を追加しました。

見るとわかると思いますが、その高値安値をつけてから、現在までに一度も更新されてない部分にだけ線を表示します。

追加パラメータ

HighLowLineBack

どのくらいまでさかのぼって高値安値を検出するかを指定します。例えばここを5とすると5つ前の山頂と谷底まで見に行きます。デフォルトは0になってるので表示したければ適当な数字入れてください。

(パラメータ名がわかりにくいんよね。いい名前が思いつかず申し訳ない。)

 

ダウンロード

ダウンロード後、ダブルクリックでcTraderにインストールしてください。(2021/9/17 更新済み)

前回公開したZigzagをそのままアップデートしてます。「こんな機能イラネーヨ」という方は追加パラメータを0のままにしておけば、前のと同じなのでご安心ください。

 

ちなみに本当はダウっぽい値動きを見つけた時だけ線表示するようにしようとしたんですけど、どうも感覚に合致するように作れずにやめてしまいました。

ソースコード内には失敗作がコメントとしてそのまま残ってるのでプログラマーな方はぜひ改良してみてください。

 

(2021/9/17 追記)

いきなりアップデート

ご要望にお応えして、上下ラインの色を設定できるようにし、一度更新した価格の線も表示できるようにしました。

追加パラメータ

UpperLineColor

上側ラインの色。文字列で指定します。選べる色はこちら参照。

LowerLineColor

下側ラインの色。

HideUpdatedPriceLine

一度更新された価格のラインを表示するかどうか。意味わからないかもしれませんが、こういうことです。上がYes、下がNo.

 

これまでの挙動はYesです。Noだとごちゃごちゃしますが、確かに過去に意識された部分がわかりやすくなるかもしれません。

お好みでどうぞ。

 

(2021/11/18 追記)

再アップデート

山の高さがPips表示できるといいかもという意見をいただいたので、最後の高値と安値の間のPipsだけ表示できるようにしました。

HighLowLineBackパラメータに1以上が設定されてるときのみ作動します。

追加パラメータ

DisplayHeightPips

Pipsを表示する位置を指定します。Noneだと表示なし、InBandだと最後の高値付近、ChartUpper,ChartLowerだとそれぞれチャート上側下側に表示します。

InBandでこんな感じ。お好みでどうぞ。


まだコメントはありません

新しいコメント

コメントは承認後に公開されます。承認まで次のコメントは投稿できません。

cTrader's Life

© 2025 ajinori