0001110010001101110000011000011000110011100011000101001101100001110101000100000110110110011010010000101101001110111001001010011001011010110100100011001010001101101110110110000011011100100010010000101110101111001000100011110101000110011111100111111010001101011001001001111000100011111000010010111101000000000011000011010111010000100011000100101011010110001000001011001001001010000011011000000001111100 1111100011001000000101000111110111111111110011100011011010001110000101000111100010101010001001010010011100110001001100010100111001101110100101100011110111010110000010100100110000010100111110110000001100110001100110001110101001100000011101001011100010000100100010001011100000100000011100110111001101011110011101011110101010100100110101100000011110110001001011000011010101110101111011101111000011001100 1010101011100111011100100110010001001001011001000111111101110111101001101111000001011000000101010010101110000010111010101010111100010110110111100101010000011110101001111001111001111010101001100011100010101001001000111001011011000111101010011001110000101001010010010011101001011110010011101001111000001111000101000100001011001100011100000000111110100001100001100101010011001010000011101100010011100000 1100100100001011000000110001001100100001110110110111000111111100000111001100001110110111011011100101010111110101001111101011001010101110010100011001011111111000101101110100110111111000111001101001011011111010101101101010001001111010101000010110110010010110100010111100111001010000011011001010010100110111000110111101001011010101000011011010011010011001001110011110110000100111000100111111010001010010 0100110010111111000100000000100101001111010111001001000011100100101010000100010111111101111000000110111011111010011000000100010111011000110101100010010101101011101101010101000110011100001000011100010101100000110011010100011100100001010010001110001010111111010010101100000010010111001010111001010100100001010110100010000111010100011110011011010001100000010101010010100011000101001010100100111000010101 1011011100110100001101001111101010101100000110100000100010011011110010010010110111100110010011110100100101110000010010000001101101011100100101100001000101101000010110110000101011010001101110000011000100011101011001000111111111000010110011101101001001110110100001101100000101111000011000100001011011110001011111111001101001111111111110111011000111010111011110011111110000010001100000100101100100110010 1000101011110101110011010000110010010011100110001011011010100000010110011000111111100100010110111010000111001011111001010110101010100100101101110100000001101001111000101011000011011011101111100110000000100010100010010110000000010011100101111110000111000100011010100011011011001110100001010100101110011101101011000010110111001001011100100101000000100101100010111110100001101100001001110101110110011000 0100000101110000101011101100100011001000011011010010111111111000001011001000011010010000111110011000111100010010001100000101101111101011011001110010100101011100010110111111001100111111110111111001111000011010000010110111110000001111011001000001110001010110001111011111110000111100110000100111100110001110111100110111010100101010000111010001010010100101100100101100010101101111010000100010110001111101 0100001010100100100011010001110110010100000000000110001010110011111001001110000101111011101000000000001011110110111000011101110001001010111001110110000011110011110101111111000110000010010100101001101101110000101111111000001011111101111101110010100101010011011000000110011111110011001101101110000000000001101000100111100010010010101111110001111101111110000101100001000101010110000111101110011101110011 0011001100111000001110000001101101111111100001111001110100000000010110111101001100100000101110110111000111101100011000001111111011101110101011011001100111001011111111101011110100111111101011000110100001101100001000000011110011010010000110110100101000000010001110110111010010011001010111110001001100001001110110011001100011111110001100011100010010100000001011110110101011001111100001101100111101011101 1100001100001100010010101011001110001101100100010001100100000100101100010100011101000101111110000111000000000110111011010001000110111011011110111101100011111110001110001000000011011100111000110111001011000000011010010001000010011111011011101110010001010110100100110110000100110001100001010010101010110110011000001001010000110111000101011110110100001110100001101001011100100011100011100101000001011101 0110110010111010011100110000011000111111100110010001001001011000110011100000011111010011111000010111010111111111101010111111001110010010010001100100111010100100100110001010100111100010000001001100011100011100100101001111000011111011010000101110011100110100000000111010101100001100111110110111110110001010011000111011011001011101110000011110110000010011000000100010010111011010100001111011101111000101 1011111000000011011101001000100110000110010011011100110000011011011110011100111001001011100000010001000111010101111000110111110111110010101011001001001111000111100001010010001001011110011010010011101011100010011101100011110100000101111110010000010001110000100000011000101011111110011110011111100011101011011111011010100010000100101010010011111010011111000001000000010001010100010001001110010110100001 0110100110001110100100101100101011101101001000011001001001001001000111011001101000000110010001010100001100010001101111001111111001000010000000010110100001011011100001111000001100010100001010001101001110100000111010101101111011100100001010000011001000101111010111011000101010011001101111011111101110000001110110100000110111100011111100011101100110100101101000100111010011010100001010010100001100110010 0101111001001101000001010101110111010101011001111101100101011111011001111011100010010011011101010001000110001111101110011011010001001000110111110101111100010100011000100110110101000110111111010010011001011111010111110000010011010010011011101001000001110110100001000000001011010111110110001110001110000111010000000111011010010011010011011101111101011110110100010001001000001101101000111110000101000001 0110010100110000010001111101110100000011100010101011100101000110001110001000101101111011011101011101110011000000000110000110111001001101101011001011011001111111000110100001010011111011011110101000011110000010101011011000001101111010111101111001001000000000101110010111011010101010010101111111101101110110011011011011001010000101100000001100111000000100011011010110010010000000010110100000100001010110 0011000001110000010110110011111010001111110000111010000001100010111110000110100110110000011111010011101110110001100100001110111000001100101000100110101011101101111101000001110011010001110000010110101010000000110101111010000001101100001001101010000111001110110110110100000101000110101001110000110011011100110110010111011111100011111100010010011100001010101101001111011101111110011010010011001010110010 1011000111001111011010101100101100110110011111010110100101000111100101100010001011111001000110011011110000011000011011110111100111100010001011010000110100101101111011010101001100010001100011110101001001010000101110110011111011001100101100100001001011110110000011000011110100001001001100111100001010001010010011110010101011001000111110100110000001111011000101010011110100100111011101100110111000111000 1101100100010110101000010010000011101000110001101011101100101100010001011000110100001101111010010011111001001101011000110001010000011100110000100000010100100110010001110100100101111100101001010001100100111110111001101011001011101000011100100000100100000110110110011111001010110011111010001000010110111100101010111000010010001111100001101011110010111010001001101000011011110011101010000111110100110010 1110011111110010111001011000000000101100110101111001010110111101011010000000011101001000100100111001110101000111111100100110011110000001101110001101010000100100010110010000011010010101100110100111001101001001111000111001100100000010110101010010100101101110011101011100010101111100011101000011111010001101001101111110001001111100111001100010001100001111100001000100111101111110001100000100000010101110 0111111110111011010110000001111011110101010111111110010101011001110001001111110111110101110011000000011010011010010101001010100100000011110010001110001011101111010110011110010110110011111000010111101100010101110000111011010000110001001110111111111010101000111101001001001001100101100000000011100101000010111011110010100110011000000111000110001100001001101010110011010101100100010111111100100111100000 1100000000001111100011000000001100101001111010000001100000100010110110000101111110000111111100110001110100000010110001101101111001101100000001111101110011111011001011100000001110001100010111110110000111111001000010001011111110010100000111001110001000101010100111111010100010010110101100001111111110011101111011001101101000001011111101010000011100100100111101011110011011111011011000100011100000011111 1000000000010011111001101010001001110110010100110110011000111011101110100010110100100101111101010010011010100011000111111111001000110111100100010100010010000010100101001011011101110001101110100110011101111100000100100101010110100100010100101000111000111110001010111100010110100011111111100000100001110110000101011011010011001110111101100000111111010011000100001011000010001000010111100011101110111111 1001001111110010101111100111101001010011010001001010011100010111110100100011101010110111101010011101100000010001001011101000100000011000111000100100001110110111010010110101010110011110100111100001000010111000011100100010000110010110111110110101110000010101010101011010101110011000110010110011110010011000011110101011111010001101101011011100110000100110011011011010100100010110000000110101111000100101 0101001111100100100101001110010011101001011001010000101000101000100111110111100111001110101001100100110010000110000110111101001100110011000101111001100000111111101011011100101100101110001101101101000110000001110100010101101111101011111001000010011001001101100000110010000001111110010001010010000000101001100110001101000110100000011110000001100100110101110010111000001110000010010001110101100100000101 0111011100100101010111011001101100011000101100000101000010101100011001000110011001111000110000100010100000010111100101110101111010101011011010011011110110001000000001111010010100000100001010010010110011011000100100000010101111111000001110101110000111100000110110101100011101111101110101100001101101000100111100101011110101110100101010010010100111100011010010011111011000101110110111110010111100100010 0111000110100110111100001110100011000110010111100111001110010101110101111110110101010010110100111010110100011000011101101000100100000111011100000011010110000101100101001011001010001100000101011101001110001000111100001110101110110010111101100101000110011011001011010001010110101110100010011110100010111111111110110101010001001011011001100101110011011001100011111011010000111011111001100001011111011101 1001110110001011010110110001110010010111001010110100000000101001001111011000110000010000111100010100101010000101000000000111000101010110111011100111111001010011111011010011111111000111111001000111001011101000000111100111110010110010110110000010010011111111101000110011000100001110010000111110011111011001111000100000000011001011010000111111010011011000011100011110100001000010100100011010010100111001 1001000000001001101110100010100000010011010011101101100111001110100011011000111010000000001110100001010001001111001011100011111110000111010001111011001011001101111100010000111101011101010111010011100101011010110010000011110001010101111110000100100010100001100000100011101111100011000111111101110000110000110010000010010011010111000000000111101001110100111001011101000100111110110001110111001001011001 0010011111001110101011101011101001111101010100011101100110101101100000101000100010010100110100010110111101101111100011110100011001101001011011010000001000111011010011111000011010110110110010100000110001000111101011011100110000111000000000110100100110011110111110111000011111111000010101000000001010010000011011001101100101011000100110100101101110101110011111000110110111011110011100001101101011001101 0111010110111001000011101100010010001100001110101101011110100110011110110110011011101011110000110010000111110000011010101110110111001111011110101011000111010100010101110111100011011111100011010110101110110100110011111100001100111000111011001111101010011111010101111001100101111001110011111101010000110110110100011000111000010100110110101101000101101001011110110110101000110111010010111010110011010011 1001000110010000111110011101111111010101010100110001111011110001010100101100111100010001100010100001100101011011010011111100101100011011110111101111101001110110111000110000011110111000100011011110111100000101110111010100011100000111000010010100011001110110101110010011011000000010110110010000101110001001101011100000111100100000111011000001110001111001110111111000011111000000001111100011001100111111 1101001101110011101111011101100110100011000111001000101001000101100101111001000010100010010100010001101000111001100010010111110010110111011001110110001001001101001001100110011010101000110100001110110111100110011001100001111011011010010100010001111011000011010010110011000110000101110000101010000101011001111110001111111111001000101001010001010111101110001100011001011110100000010110010101110010000100 1110010011100110001011000110010110000101111101111011100111000001011111010010110111011111101111011010011111110101100100010011101101011001101111101111000101000011101000010001000111100110010101001001111001001110010100110010111110001011000101110010001001110000011101000011000010111010001000010000110001110100110100000111101100000011101010000110110011001011110001001011111111111110110011110010110011000010 0000011110011101000011100000110010010101001010000001111100110101000001010100101111010011101001011011000100000011111100000000100001010001100100100000111000010011101101101010111110111011100011011111011011101011100110001110010001100001011101100010101001110011101101100100101111110001010010110001110001100011100001111111111100010000010101000101101010111101111100010110100011110110111101111101110101111010 0010010111101011101101010111110101000110010110100111011110000100101001101011101110111111011110111101111110001110010101100011000000100111101010101010011110000111101000001011101111000001111011111101011000110010100000011101001010100000110101000001010100101100000101011111110010110000011011111000101001011111011101011110110001100101011010111001011000111111101010001101101001101011111111010010101010110010 0000000101001001000001010000111101010001000111100110001000110000110111001110101001000111011001000010000001010111000001100110011001111101101111000101101010011101000101100111100001100110111011000000110111111111101111011100011010111000101110011111010101110110111001110100011010011100100101000111001111111011001001111100010001011001011110000101011111111010111101110000110100010100111110110101010100100010 0110110111010010100011010111000101111101111110111001001101010111010010101111011010111101010001110110101110110101000000101101000101011011010100110000101010111000100100011010001010000101100101000010110101001101001100100110010001001010100111111110100100101110011110111001010111001001001011101000111101000010010101010101101101101011011010101000010000001111101011000001110000000001100111100111101001101011 0001010010010010010011011001011010110101000110000011000100011010100011101001101100111101001100100000110100100001101010001111000101011101101000010010100101001010100010011010000001000011101111000111111010010000111111000110011001010010111010010101111110010011011000110001111101111101010011101110101011011011000101001110111100101011100111110001010110101110111111001010001111001110010011101011011111100101 1101100011000010100101110110111000101101001000101101110011011111111110001010100001001111000001111001001111101011001110000101101111100100011110000110100000101010101000000011011010101110000010101000110101100110000111001101000000111001101110101111010001011111110010101111101101100110101000100100010011010011100000011011110011111111101001111010100111110001101100011000111101110010011001100000101000111011 0111000001001000001111000001010010110001100000011110111001101011110000111110001111111111101101011011110111110100111110100101101100001100001011001010111001001111001001101001001001011100111111110011111010000100010111000000110100001010000001001110101100100011110111010001110111000010101000011001000110111000011010100101000101010111000000001010001111111100100111101010111001100010001000011000110111001100 0000101011100011011011010110110000001101011100111110000001111101000001001111000000010110101111101000011010010110001010101111101011100100111000001111000111101001100101110001010000010010000101010010100000000000101110000001001011110111101111000111010001101011101110001110001100011111100101101010101011000111100110010110111010011101011111011110010100000001101111010010001101110101011000101001011010011001 0100110111001000101111010011011010010110000100000100000010010100001001011000110101000110101111110111110000001000100000111101100011110100010111100001100100110000000110000010111100000111000000100111111010111001000110101101111010110110011111100111111110001101011110110011000101001001010111001111101000011001001111011111101110010110011111011001101010001011110100001001011101011000100110111111000101000000 0010111111001100000110001100101100010011100111011111000001101010100110101001111111100110101110001000100011110110001100000110011000011000101101110100111101011100010100100110101010101001100110100011011111111111010100011101011010010111001000010011110010001011110001100100101100011110000011001011111101001010001010110011111111100001110001101010010000100101111001101001011110000000100011101000100010000110 0101101110011100001011110000011100000001011011001100111100000100011101000100011011110010010010111101001010101000011101000110111100111100101011010001001011001110110001010010000011011111000111000010001111111011010011011011110110111111001001001000100011100010001110100010001110101101010011000011101000000011110110100010000101111101010010010011000001011010100100110100111100001001110100101110001010101100 1011001110011000001011000010110000111011100100100011001100001110100000110011011000001100101011010000000011100011000000111111010111101111111110001111111011110110110101100101010100000011010000001100001110111101010000001110001101011010101001110010000100011011111111010000100101111011001111000110110101101101010100110010000100110010000011011111100010011100110101101110010111110000011010000010011100111101 1000100001110000100110000011001110001001000111111001011000001100011100010010110110101100000101101111001011100010001100111001011110001111100100000100100010001110111101101101000011101011010010110110110100111110111000100011111010110001111011100101111011000110000101110000001011000111101011110001101111010100111100110001110000110010111011111000111001101011011001001001010110000011101100111100011110101010 1100101111110110110111011001001010011110101011011101000100001011000000010101111111111001111010101011110111001000001111001011001111001011011001101001001100001111100010011000100101111010001010010100010010110101001101111001100001010010110011110001011100000100100101011000100110101011010111100001010111110100001101110000101111010000101001110111101110100001110001001111000011001110101110001101010000100010 1001110010101101000100101111101111100110111001111101001101100000110101101010001011011101101110101101100010000100111001111001101011000001000010000010011010001001101011110110011111011001001100101001000110100001100100000101000101101101001011001111011100000001101111111100110110000001011010011010100101110101010011110110101101101011010011100100101100011011010100010110100111100011101100011101111100000001 0011111111111101000110101101001010110001001100100101110101100000000010100110001111111111000010101110101001010001001011111000001110001100111111111101111011000100000101111100010000011111001110110001011011100011001001001100101101101010100000101010010010000000010001010110000111111000000000100101111000011110110001101001010100000111000111010000000110101000100101011010011101011011011101001001011001101111 1010111000010001101000010111000100110111001010010000101001100010001001011010001111100100010110101011111110111101100001000111101001001011000001011111011100000011000101011100111100000101101100111011001100000001000110010101110111011000001001010101100011011101011011000101110001110110000001010001001000001010000011011000011001000001000001111010001110000100100011010011001111000110010110101000001100000010 0010011001111110010100000111110110010101010100100000010010101100010011011101111010101010010011000111010111101000110000011111011101101110000011011011110110101001010011011010001101100001000010001001010111111001110011101010001011100111111011001110000000001001001101100001100100001101110101000110100001101001111010100111101000111001001010011111001111001010000000111000010101001110000001010100011100001000 1111001011111100011000001011110101100011000101110100110101011101010110110110110011011000101001011001011000110101000000000111111001111000001101110101101011100100001100000111000110001110010001001100010000000000100011010100011100010111111111011010011011011000010010111001101000000011110001111000110111000110100000110101111101011011000000110001101100100111110001110111011010010000110101100111001111110011 1101110000001010011111010010010000110110101111110001110001011111111000001010100010000101001010001000001001100110000101101011110010100010100100111000100000011111100011011000100011000010110000010110000101110010000110010101110101001010110111110010100000001100111010001011100010001111001010001111010111011100111101001011000000001100100001000110100100100100110010010010000110100010001011010011001101000001 1100011001111011101100010110110010000100011001011001001100001010110110010011100011010110111010001011111111100011001010000000011010100100010101110111000001001110111110101100001001111000110000101100001110101000010011100101100001011000101011111011011100010111100110011001011101110011111010000100011111111111110110000000000111010101111100001111110111100011110010000101000011001101010100001111001000001011 1000011001010011000110000001001111111011101011001010100001111111110100101011100111001001101110001010000100111000011001100010010101010111110000101001000011001111000100110010001000011010101000010111011011111011100010001001110100000100101010100110011111100100110000000100001001110110111101101010111010011000100111110111001111010101011001011001100001100110110100110110001111010101010111101010111101011000 1101001011010110010100111011110100000111011011101000011101111101101000100110101001010001111010010000011010000011011110110111010000110000111011001110001001001111000100010010110001110111000011111010001110010100011010110010001011101101001000011110000111001001110011100111111001011000001101000010101001111010011011001001001101101100001010110111000010110010101011010100011010001011010011101011000011100000 1011001111101011001011011001100110110110110011001001001000100111101001101110011110010010111010010100001010001111001001100010101000011001010010001101000000010110001000100000111011101110011001000111110000110011011100110011110010000001111100100110110110101110100001101111110110101011000000011001110111110000000100110000110010010010101011100100101101110000010000001010011010111010110101110111100110010000 0111010011101011001010011010011111001011111000010110110010101010000111010111110101100101101010111001111001001010001000110111110011000110111100011010111110001101000111011011000101001010100001001101110110101110111101001011010011110011111111110010011100001110111001010110101110010000011111110101000001101111001000000100110010111101001100000110111110010100001000110100110100101010111110011010111010001011 0111001000110000001010100110101101101110010100011111111110100110011010010100001111010110111111100110001001111101000101110111101110011101000011101011000001000110100010011101011101000100010100110111111100011010100010100101011001110010001000101110111111100001000011110001111000000000001111001011011101000011100100110111001010101000001011001000111111111111101010010101011010100110100100011001101010110110 0000101101111011001000000001001011010100001100011101010110100111110111011101000010010011001011110100111010010111100110000001110100000010111010101001110011101110000000101111000000010001000111010000010010111000010100100001001101100110101010111101001111011110010110001101101010011101010111011010111011010011001000001100110111000011110011000011101100101001001011110101111100011001111100110100000111000100 0101010110001010110101101010011000110101111010001111110000100101101000110001110001000000110100110100010001001000001000011101001010111111000110100010111111111000100011010101001100111110100001110110011100100010101001101011001000010100011000111011011000000100011010010110000110101011011000011001000100011000010000001110100000111100001101111101001110100000001100100011100010010001111111000001001110000011 1101111101010010001001010010010101000100000101111001010001110100000110100100110011110010001010110001101000010100100110011011101100010100101001101110110010111111111100001010110111010100100111010001011010111100010111010011111100000100001000100110001101101101101001011111011001000101101000111111000010111000111001100011011000100000010111111101011011011011011101110010110000011101010110111110000101111110 0001010100100011000011011110001011110100110100010111010101110100111101011000010111111111000100100010000001110010000100011011100110101101100110101100111010000111101001100010011100100110111001100000000100011111101011110100101100100010010100011000110110111010010111110111100110001001001101010000011001001000000001001001110011011000010101110110101100100100110101111100010110101110010100100110100111110101 1000110101100000101111000111010101000100101010110010110011101100111001111101010101101011001001110010100110100101110010100100101001010111010011100110001000000001010111001101011010110101110110101001110010110010011111010111110101010001101111010111110101011011000101010010001001000011111100010100000001101001111101100101011001010011110110111110111001001001111010010100111001111010001011110010001110110101 1001111111010110111000110010100001011110110000001000010000110000101101000110001100010000011010111101011100010000000110110110001011011100100101010000111011111101111101010100011111101110011011101001100100110010100101111010001111001111100011111011101001110111100110011111001011001000010111000010111101111111001011011111110110111001100010111110010000100011100010100101000011111101100000000100000101100010 1001110100101010100110100100010110000110000011100010100010111110000011101101001001010010100010111111110001001000111000001101110011011111000110010000011000010101100111000110010111100110000111000101110110100100001101000001000100111010011010110001001111011001101100101100001011100100011010111001101011100001011111011111111101101110001110001000001001110000000110110100000001000000011001110010010001110100 1011000011001010110001011111001011100111110111101110101000011100000100001110011010111011010111100011011110101111011101010011110011100001111101101100111110111010101001001100101010101000101011010011010011010011101001011100101011000010101001011101111100011000000011111111100100110100110011000001111000111001110101000110000010111000111111010001000011100111111110010101100101000000000110010001101111010100 1100101100110010101011010011001001001001100101101001111110010000010110010111101111111100010010101010001001010011111110101110110010111001110010010100111101010010001001100101001010010001010101100010111101111111101101001111001101010101100100111011110100000100010010001110000100010100111111101011111110010111001001001110100001101110100111110111010100101011000111110011011011111001001101000000111100001011 0110110000100110000100000001011100001000011010101100101101111000110010101101100001011011111011111001101000101110000110100100011011000010110111010000000010101100001011001001010011000011010110000110111111001001010110100110010010110001000011101010010011001100110011011100100101010010011011110100110101100010111001011011011011110101100010100100011101100111111011101101001111011101111010000001100101010110 1010111111100001000010011010101000010101100011010100010110100110100100011110100001000100100101010000111110011110111110010101101001110011011101011011010100111101010111111101001100011110011101011111110001110001111011100110111011101001010111110101011011010111100010101011111000110001001110111001001100011011010001010111010010000001100011101111101011110100100001101011010001010001100011001010110001110000 1111101000000001001100110111010100010111110101000110010100110010010010001100110000110101010101100011001000101001100011011001111001011101011101110101111001001001110010100000010101010111000110011101110110111001100100001101011100110110100110100001010101101110001010101100010011111000010001101001111011011010010101011100010100010101101001001001011111100010110011111010100011000000001001101001111001010100 0110000001101110101010110111110100011100110010111000000000011011000010100010100101101000100011111011011001000100010110001010111110010110001011010111110100010100100101101100111101111101000000101101101010110010101001110000110001001110100101111001101100001101100011111001010101000010000000111100101011011111000000011110001010000110110111001101010000000111101100111001010111111100101110000110000001100110 0000001010010011011010100101110101101010111100001001000001100001001110101110111100100111101111101100010101001101101111101001101000010011110101110011000011011101101111010100101010010011110100001100100001000100111111110000000100000100010000011101111011111011101111000001001111111110111111101000000011110010111101001011111000010110011000011100001100100111110100000100111001110000101001011110001101100101 1000000100111110110101001100010001110001000011101011010111100100111111010100110101000010010010111111101010000100001000111101001110101101101100000111001000110010010111100000111110100000001110000110011011000110011000000001011000101001110111011110111001100000111110010010110111011001101110010111011001010001000101110001111100011011110011101111010010001101011000011000000111111111101101000100101001001010 0101000001111100101001011001111101100101010000101000110101001111001010001011000001101011000011000000010001111001011111011011010001010110010100001100110010000111100111010001100011000100000110101001101001110111101000000110000111111011011101011010011100100011100111101001011011111110010001001101001000110101110100111110100100100010011010100000110100111110011110101100011110000111000011111011100000000000 1011010111000011010001001001100000110110011011010100100111110011111001110000010100111111111111100000100011010001101011001110100001010001010010010001001110111010010100111000011101001000000111101010100101100101011101010101000000100001110101001001010100010000000000011100101111111001000011011110001111100001001001110110111111111100101101111101001110100000000110100011010101100011111001100100000111010000 1111111100001110100101010011001000001010001110010111010110111100100010000011111110000011110011011110000010111000111100010000010000101111011011101000000101011100100000001100011111111110110010101100111010000010101000000111100111010001110011000000000101000010011111001100100001001100010001101110011001010000100000000100111001100110100011110000100100011101101011000111010011000100100001010111001010011111 0110110010101001100011000100001100101001110001111101101010001100111110111010110101000010110001000101010001110001111110100101000010000110010100010001001001111010100101100110001000011111010011011001101111111111100001101000001011110011011100100101111011101000000100010011100011000010111001101111001010000010001100011110000101111110010110000110111010101111001001111010011010110000110001011101001000110011 1100111010111011100111111000001110100011001111010100010100111101011011000000111110011101011110001000110101101100011100110100111101000110011001100000111001101100011111110101001000101111111110001110100001011101010011011101110101010000010011001110000100001000011001111000110111001111010011010101111100001001101000000010011010001000001011001001000111100111110111011011010100111100000110111101110001010110 1000111001110011000100111010100111110010001011111011010000001011001011001001000001011100101001100110111101000111010001001101001110101110111000100011011101101101111011101100100010101001011010111000000000110001100000001010000010010111100000110101110011111010001010001000110010000100100011000011110111001001011011110010101100001010001110010010000010001111001011111011011111101110000111011011110110011110 0100101101110101111001011111101110101111001111110010101100101011011011110100100000100010100101000001010010101011101000001011111100010100100100101000001100000001010100010111010001000000100101011101010100011101111101000010000011001001101110001000011111111100111111010101110011000011010010001101001110111100010000110101010000001001110101001010101011111111010110100101110111100010111101000110110101100101 0000011100001101011110001110101000110110001101101101000011001100001101100110010010110100101100111100001001011100101011010010100010010100101111100110111100111001101011010000011111001111011110100111100001011001000100110101011011110111100001100011000100000011011000100010011111110100100110101110011010110100111111011111001111011001000110000111101001111001000111111111000011100100010011000110010101111000 1001100010101001001001111001101010101100011001011111001010000000100000011010111110100011100010001001110001111001011100101000011111011010100001000111010101000000101011011001001101000111100001011000000001011111000101110000100010010010011011100011101001101111100100011010010010010101000000011001101100010001000111100000000111010100110101100100000010011011010000110111100010010100100101010011011101111001 0001001000100100011001110010001111010011000111011101111111101000100000010111100110100100011100000011011001000010001101111111111101010011101010011110110110010010100100000011000000110000100010101111101111100101000000110110011010101100011111000110101001011110111111111101100011011100001110110111010100111101010000011110101010010011000101001011011111010101101011000000110101110100111110011111000000001101 0000101110000100111000111100110111101110010011111010110010111010000111011111011000111011100010110110001001111011010110110101101111110100100110001111001010110010010010000001011010011110000110100011000001100001001001100001010111000010111000001101010011100110001011110010001100100010100011100100011101001110110100011110011101001110010011111101000110110011100111100010000011111001001111010101011101010110 1010000000010011000010111011111101111100111011010001000000000101000110011101101100011001001110001100000000100111110111000111011010100110111100100110000000010110101010111110010111000010111111000011010101100110111010111011110111110011110011100000001010101100111101011101001110011101111101001011111011101100101111110111001111011010010111010000110101001001101111100010100101011100000101111010110111000001 0110100110000110101100010010100111101110010111101010101010100010110011001001100111010011110011000011110101100101010010001101001111000111101010001110001110111011010101101011011000101010110101100111110101111111111100010101010011101000000111010011111001001110100000110100010010010001111101011101000000011000110010001010110010000011100001100101000100101101000011100010111011101110000000010010000011010001 0000101000010010011010000000000100101011000000110101110100110110000100111110111011010010011101011011101101100100110100010101100110010101010010001101110111110011100101101001101001010100111010100001011111111001111110110110111111010111111111100001001010100001000110011101011111111011111011011101000101111111111001110101111110011100000111111010000100010001111011010010010011101100110010000010010001110100 0000011011100110111100100100101010101101000111000000100011100001001000101001100110001000110101000110001111111001110010100001001001100001101111110011101111111110101010011100111110000011010110010001000000000010100001110101010100111101100010110111110111001100000110100100110111100101010101101001100000000011101101101100100111111111010010111100100010111001010011000111101011111001000000100010101111001001 1110110011010011111011011111101010010010110101001000010000110010010110010110011111111110100011010000000001011000100100011000100110100010010100001001001111110010010110101101110001101000101111111010100110101100011110011010000000010110101100100001010000110010011011110111101111011110101101010001011000011100011011110101010001011111000011011110000010010011010011100010111000100011100100001100000001101001 0001111010010011101101111110000101101101111001011101011011100111101011010100001000100111111111100000010000011011111110000100111101010010010100001001101100001000011111111011000010001010110011101111010100000110011010001011001001001110001000000100001001011000000111011010101000001111011011110010010000101001101100101000011001110100110000001111001000101100111010100011000010111001101011110000011000111011 0101101011111100110001010101111100011000101101101110100000010110011101010001000110101101011001000010101100010100100001010100001011001110000001110110100100011011101011110000001111100111110111000010001111001011011001010100010000001100011111101001111011101110011000100110110111011100001010101110101101010000110001110101000100010101100110000101101110010010001100110011111111110011000010011110000100100010 0001111010101100100011000101010100010001011111100111000100000100011000111000111000110101110011011100010101000100001110101010001000100000111010110010011000000011010011010001101100110100111000011011110001001010001001110000100011110000000101000000111101111101010001000010011011000000001001110111110000110010100110001010010101111011110110110010000001111110010010011011101001001110101111010101010101101011 0111111101110111011111001010000000010111011010001001101100100000100011100011010011010101011001000010010000111000101110101100110001001010100000100100010010110010110010101100000111011111100001101010000100011000101101111100001011010001011001010100010100000000111111011011101100010001100001010110001100101001110111100100011111010011000001110011111100000001110101001000011100000000001001110001101110010101 1110001000111111010111011011011111110111011000110000001111001001000101010110100110111000110111001000001100010011000000000111001011101000000100011001100110100101111101000001111000011011010011111111110000111110111011000111000001010110100100010101110011010010000101100001000101110110000001010111110101100010010111001111101011000000000001101100111101011001001111010101011001000011110111101111001100111010 0100011001001110101101000000001101101000001011110111011110101000001011010101001100001110000110100101100101111111101000001000111101111100111111000011011010101000000101010110111111110101100000001110110111011111101101010111101111110101000110101100110000011001010001110001010101100101010110101010111101101000100001110010101001100010100110010001001100110011111111111000110010101101010000011101001110010010 0111011010011000011010111110000001101000001000111010011110110010001001011111010111001111011111011010011000111101110110010110111011010001100011000100111111000101111100001111100000011111100001001100000000100010001001110010100000101001101010110010101000100110010001000010111110100111001011110001011101000000101101011111111100001011000101111010111111111011010110010101011001111000010110001001011001010110 0100100011101111001110101100010001100010000101111000110000111110101100001100111110100011110010000111010110101111100000011110110100010101110101101111011101000010000001001011000011110101001100100000111001000111011000111101110111101010011011110001100000000010110011000111101010010011001010011110111111010011001100100100110011011100011011000010010001010110010111010100111111001011101101100011100011110111 1101101100000010111100101001001010010011110010100110100110000100010111010111110010011111101100100000100100100011000100010000011111111010011101101010110111000110110000010101110001101010010010010111101011000101111000100010000101110110111000101101110010011010110011010000011100010001010010110100001101111111100111011010111111101010011011001000010000101001010101111101110111001000000111001011001000111010
cTrader AlgocTraderインジケーター

【cTrader】LineAlert一応アップデート【SampleTools】

2/6/2023

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

ちゃんとアラートしてくれないLineAlert

以前トレンドラインや水平線にタッチしたら音が鳴るLineAlertというインジケーターを公開しました。

LineAlertとか名乗ってるんですが、これ、ただ音が鳴るだけなんです。アラートって言ったらウィンドウ出してピロン♪みたいなイメージじゃないですか。

音だけとか、なんでこんな不親切なアラートなのか。なぜかというとですね・・・

 

cTraderってアラート機能が使えないんです!!

cTrader使い込んでる方からしたら「アラートあるじゃん」って思いますよね。

えぇ、そうなんです。cTrader自体にプライスアラート機能はあるんですよ。あるのになぜかこれをインジケーターから呼び出すことはできないんですよ!

じゃあ自前で作る?いやいや、たかがアラートで権限必要にしたくないし、重たいライブラリ使いたくないし、なによりめんどいし・・・ってことで音鳴らすだけで妥協してたんです。

 

cTrader4.4で少し状況が変わった

cTrader4.4から別ウィンドウで機能するインジケーターが作りやすくなりました。

いろいろめんどいが少し解消されたため、もうアラートもどきウィンドウを自分で作ることにしました。

アップデートでいろいろ便利になっていくのはありがたいですね。・・・まぁシンプルにアラート機能実装してくれてたらもっとありがたかったんですけど。

 

 

ちゃんとアラートしてくれるLineAlert

水平線やトレンドラインに触れたときに音が鳴るという点は同じです。

そこで音を鳴らすだけではなく、こんなふうにどっかで見たことあるようなアラートウィンドウが出るようにしました。

ソースコードはcTarder4.4用に少し書き直してますが、機能的な変更点はこれだけです。パラメータなど詳細は冒頭のリンクを参考にしてください。

cTrader4.4以降でないと動きませんので注意してください。

 

ダウンロード

 

サンプルとしての暫定公開です

一応、cTrader4.4で使えるようになったWindow機能のサンプル代わりにと思って公開しましたが、この形式で他のインジケーターをつくることはないのでご了承下さい。

というのも、この形式だと「アラートウィンドウがインジケーターごとに別々になる」という微妙に不便な点があるんです。

まぁでも「ラインにタッチしたときだけアラート貰えればいいんだ!」という方にはこれでも十分役に立つと思いますのでぜひお試しください。

 

今後のアラート・通知系インジ

cTrader4.6が各ブローカーで採用された頃に古い通知系を一掃して、このインジケーターも名前を変えてアップデートする予定です。

その頃にアップデートで公式にアラート機能が追加されてたらこのアラートウィンドウもどきはお蔵入りするかも・・・

 

とりあえず今のソースコードは公開しておくので自作インジケーターで使いたい方はお好きにどうぞ

 


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

新しいコメント

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

cTrader's Life

© 2025 ajinori