1100100011110011010101001001110000011010110101100110110011001101001101011100111110010011100001011110000011101001110010010001111000100110111001010011010100101110010111011010010110111110000000111010100011111011000110000001000111110010101100001000111011100010000110101100000111101011101100110000000101110000110110111000110110000000010000010000000001100010111000011000001010001111010010011111110100000111 0100111101111010110100001100001100000100101000000110010000100111101101100011110000011101110011010100011100111110100001110011100101010011100100000110010101101011110101011100100011110001110110111110011100110000000001000110100000000101000000100010010011110100000101100011011111010111001001110100100111010011100010010010101011001000011000100010101010001101110000001110001111011101110110001100110110010100 1111001110100011000011011101110111110010100011101000010100011001000001000111010101011111010000000110111011001010111110000011000011111110001000101010001111110001101011100010101101100100010000111011000000011001001010111001011001010000101111100011110000100011110100111010000011110111110101100101001111111111101011010010111000000011001101011011011110010010101111010000001010011110000000111001100110100001 1111101110111011101011000100001010101001110100000010111111110100010110001000001111110010110000001011110111011011111000100110001100011001001101110010100100001011011000001011011000001101110011110000110111100011001101110001110010101100101100011100100000000100001110010001000001100110010010101000001001000010010101001100110111000011111111000111000000110001111111100010001110010111111101000000110101110010 0110000111101001001000101000100011111010111111110011101111001010110001011001101000101001101011101001011101101001011000010010110110001001000111111101011000111010111000111111100101011100110010111110001001010101001101110011000111001011100010010011000001110001100111010111010011011110001001100000111001000110100111010000100100000111111011100110010101000110100011100111011101001110100011000000000100100101 0000101011101100110010000001000101101011100100001111000101101111011001101000101000010000001001111100100000101100100010001011011001101000001001000000101011110101001001111110000000001011001000101000000110010101100000111000110100101000110111010010111101000100010011010111000101110010000001101000101000000101011100100000100110111100011001111101100100001110010100001000010010100110101111010001010011001100 0100100011011010101001111011000100110101101101000011110010111000000100100110011111111100010110010000101101111010001000111111111110011010110001010011011001101010100100011010101111111100010110101011001000011000101000001000111100110000000000111000010110001101111110111000110001001111111011001000000110011110110010000111100110110000000110000001000010110100110010000001101010000101101110111100011110111011 0100010110001101011011000111111001100011011000111100100111111011001101111011111000101011101100110101101100100110111110101101101111111101101110000100110010000110011101101111010100100001001110101101011011010110011001001010000111100011011110011011100100101001111111011010110000001010000110111010110101001000110010000000001011010101011000010001111110110010100100011111101010100111111101100101010101110110 1101001100000111101010010011000011010011001101001001001001011101010100010110101010011011001110010101001011101011111010010110000100111110101111001010101000000100011000000101101111100000111110111100011101111000100110000011000111011011011100010110010011001100011101101101101111110110101001101111100001110101101000100001000111000100001110110010111001010001110110011010111000000010010011010011000110110011 0100000011110110111000101110000001110001111010000000000101011010001101010010110100100011101110111001101101101111111100111111101001001010101000011101100110101110110011111110100100100101110111110111001100010010010110010111001111011000111110111010111100101000000101111010110111000111100000001100011111010111100100111001001100000100011010000001111110011000100111101011110011100101100101000010101110010100 0101011101110011010000000101100100010111110101010000101110101100101001111110000001100000100011100101101000100110111011001011000011000100000010111001000101000111011111110101100100001101101100111001100011010011001011010101111101001011000000101111110111000111000001110111011000100011111001101111101111000110101000001001010100101111001010110001010001011001111111110110101000110100001000100110011011111010 1101101000011110000100011100110001110100001110001100101011110111011100111100010001110001101101111110010110010011100000100110101011100101100000001100011111000110000101011000011110000111111110001110100111001110111110110001001010001110001111010000110110101010101111011110000101000010110001011010010011010101101110001011010110001111100000001100000000011000000101010011111001111101000110101010011110010001 1000010001000010010101011011110001100111110010111111111000010010111011100111110001011010100101111000101100101110010100000110010000001010110111101011101001011101100100101101100101000000110001110011001110110000000000110100001101001000010100110100010011101001010100111101111000011111010111001001000101001001110011111100011111101111111000101101110100101111011000100111111001001000001100101111010101011010 1000110111011101011100111100001001101010011110101000101010010100110100110111101001001011111110011011110010101011100011011101000000111100000011010111101101101001000011010000101001001100000110001111010110111101100101110111000110110010100010101110110010011010111000111110010110000100011000010011010101000010100000110001000000010000101110000010001110101001101000001101111101111011010001100110100010011110 1001110101100101000001110110110010011001000001000100110010101100110000001100110000100100001011000111100001111111101011111100110111011010001000100100011001001010101001000110000001000010000110100000101001011000100010110000000001010111001111100001100000101010101000011001000001101011100001000110001000011010001111000110011001101010100011001110010100011100100010111011100011000110000111000001000000010010 1001100100001110001111110000010001101011100001100000111011111101000011001001111101101101111100001101100100000100100011100000000110000110111010111010000100100110000111010001011001111001011011111100101000101101110011100101110111011111101111011010010000011101101100010101100001101000001100001010010010101110101000111011110111000101100000100110000000100000000110000011101101010100110101011011000100100001 1000011010110011011001010111010010011101001000001110101100101001001101000001100111111000100010110001100100111110010100000000110000100011001111110000001001110110000101111000001001101111110100011011001110000111001010001101010011001000101100111111110000101010100011011101001111100001111100001001111001011111101011011011111010010001100111111000101111010000111001110111110011110000110110001110100101000100 0100010011010110100110110011001101100110110001111011100001100000110000100101110000001010011001010110110110000010111001101110000001110110110000001101101010000001011100000111001100111110100001011101100111001101110111010001001101010011111010100110101110010011111110001101101101010010011101011101100001101001001001001010100000010001110010101100111000001001110010001011011000011100101010000101001111100001 1111110110111110110101111000100011111110101100010101010110001001101001011000100110011100001110000001001101100100100011100010011101100111001111101110010001110100100010010110000110111010011011001000000011111011110011000001011000111100011101001000000001000011111100011001100010111010101011101101011011011011000111100101001011011011111111101001000010110011001110010000010011010000101000111000101001011010 1100010100011000010010011101001100001111110111010001000111011011000010100011101101110110000001000000000111000011010110011111010110000000000101011110010111111010111111001111100000000111011110010100101011101111000001101000010010100010011011100010101101111110000011011111011110011111100001111111101010101110011011110010010111000011001110100101011100001010010100011011001101110111011011010001110001010101 0110110011000110010010100101111100011110110110100001100100111011101011001011001011010001101101111000011101010111111000011101111111001110110110010000010111101010011110011001111010000001101011001110110100111110101000111110111010101000111110010111001010010011111101111110111001001001100100000111011110000010100010111010001110011111010100110000010010111011101111001010011000111100011010110101111101110110 1000000010000010100111001000000101100101001000011001101010100100001101000110011011110010010011110110101110110101111100001000100011110111010100011010101001111100101000100110101000000001111101010000101100000001111001101011110011001001101011111010101010110001001011100111100010000000100000001110100001001111011000011001000110001101110010100100111110001011010011111100001010010010011010110000001000101011 1100000011010100011111111010000001101001001001010010000010011011011000101111110101110101010100111010000011100100110111110111010001000111000100110111101111000111011001010010101010110011011011111011000101101100110101101101110110011000111110110011010101101000001011010011000000111010001111101100100000000101011110101100000111101000111001011010011100100000000100101111010100100110010000000100110101101101 1110100010001101111100110010110011110111011100110101100110100111101001011000011110101010110000011010111110101100101110101000000101100000010011010000101010111110101101010111110011110100101001010110000100011011101100000110101101010010101010101111101110010011111000111001110001101110111011111010110111100100110101010000000100011111101011011100100111100101110010110001111001001110100011101101100110000001 0101101101011010101100001110100010010101111000101011011101100010100000100000011100001101001010111011011110000001010001000110111110000001110010100001011111000000011110100100101001100111001011110111111101001111000100100010000011001111101110000001000011011100110010011000111011111110101101011111111010001100100110000110110111010110101101110101000010010001010010010111100010001101011011000001011001000010 0101100011101011111000010000001101110000010000011001010010001011000111110001011011100010011110100011111000110101001101001010111011001001000011110100010110011111001111010101011010011000010000101111100011101110000010000111011001111011010010101110010101000010100101011001100111111001001010000001000000100111100100000001100100111011101111101100111011011010011001110110011011100110000100010100100011100011 0111100001010111001010100110111100100011110010110100111110010111110101100100001100010001100110101000100010110100111110101110110111010011001111001001110101110011111111111011001011111011111101110011100100111111011110011111010011101100010001010100000111000110011001100011001001110111001010011010000101110001110100000110010000000110110000001111000110000000011011001010010101001111111011101011110000101010 0111001101011101000010011011000110111110000111101100111000000010001101111010111111001111010011111000110011101111010100011000000111010000111000111011000111011000001111011000000011011011010111101111000110010011011110100011001101101100011110101001010011010101101111100110101000010110110110101000111001001100000001011010011111101010011000010100100001001000101111010100100111001110111101010111110010111001 1100000001010110101000100001101011110101110100101101111100110101100011111100111111111001001000011011110000001111011110110010101100101101011111110011100101000111011011011011011010111111100100001101001101101100011000100100100000101010000110100010000000010011110110011011001110010000101100010110100000001000100011000011110000000100000000100101010011010110010011100010111111000000110011010100101001101001 0110111101010111000000111100001000100100010011000011111010000111010000010101000101011111000110010000111111110110000001111100011110100001110010101110100000110010110110010001011011101010111100101101011011011101000001111000110011000001001010001010111011001000011011101100111110111011011100101100001001000011001110001001011011000000111101100001100110010010011011111110001101011000010111000111001101101010 1101100001111110101101111011111000001010111001011011101101010010001000111000010011000101100111000001111010111001011101111001011001110111000110110100011010110001000111001110011001011101110110000110000010100110000000111011011110000001001000010100110111100111111111111100111110111001111111110110011011101010110110101010100111100011110110111100111100000001101101011010111000111111000110100000110011110101 0010111001110001110111001111001101010111110100001111001110100110100011111010010001101011111000101001001101111000011000000011010111000110010010100100001001101001010001110101010011101110011110000101101011010001110110001011110110010000010000010001010011001001010101101101000011010110100110110100111011010000110101101110010010001011010100110111000111000010001111100011100000011101101111000011000111001100 1101110101101000010100100100101000001111101100011100111010001000101110100001100110101011111111010001010000000011010011100001111001001100001011010101101101010000100100110101000000110110110100101011010011010101000110100101101101101101000110111011111110101100010101010111111110001000100000111010000111000011010010100111001101100100100111000011010101000001001000111011100100011110100000110100010110101001 1111011011101011111110101000101100011111000101001011001110111010101001010011010111001000101100100001010000111011011000010100100001100000011000100100001100110000101000100111011100101101001101100100010011011000100100001010001000100000010000011110001001001010101111110110101100111111000111011011101001111100100110111100001100000010100010110101011000110011111001001010011000111000011111010110110001010010 0111100010100111111000010101001101100001101010011011001001101010001000001111010110011000010000010001000100000101001100001011011111111011101000111011000010110000011111000011110101111110110111100100000100111111010110100100111110001010010110110000000011111000111001110010000010110101101000011110111000100001010000101100000100101001011100001000110111100000100011001000001101011001111011101100100100100010 1101110000001101100000011101111110111101101100000111011011111001010101000010111011011111100001001011010111111011010010011100011001111111000011100110001111111011111110111101011100011010111110010101101111100010110111111100101100111001010001100101000101100011100010011100000001110111111000100101011010001001101101000110010100000011011110010110110011101100100101110001000101100001001001010001011111001010 1010110101110100010001100001110011010110011111100111111101111100111110000101010111010111100011011110001001000100000010010111001110011001101001001100101000011111000010101011110011101001100001101111101111111000001010100100010010001000000110001010110111010111010101100110101110001001110111010000100101000111011000111100101101001110110110000000010000000000101100110000010000001110000011001001011010001001 1111011111000000000001000011011111001011110111110110001000000000011100010010100000010100001110000010011110110011011000000111100111101110010100000101100000101000011100010101000001111001111001011100010101101110110110011110110001110001001100111100000101110111101000011111111110100000100111111100000110100100101101011001110110110111000000000000010010101011010010100001100011100001000100111010100010010010 1001100101110001011110110110111000111000100101101101110010110110000010100011001110011001001111101000100100011100011001001111101011011111100011000111100000010001000111001011011101101000100011010100001000100101101010101101101101011011010000010001100101111101001111100000111010100110111101101000100100001011100010101011000111000011010011100101111001101001010101101101101000001100110101000010101010100000 0101100100111110001011011101000010100000010111001110010011101111111001000011100000011100110100100100110001100000110000101110010011100000001101000111101010001010011000011111100110111110100100101100011100000011001011011110010111011101011100001000101011000001011000100100101111101000100010110100110110110100010111000001010000110001011101110111011001100100000111101001110001110001011010111001001000111001 0101011001100011110101101101100000001000010011101010000011111011011111111010100001100010011011101010100010111100111111110101000110111001101001010101111111011111110001011100001001001100100100110110001110000110001100001000001011110001010010111001110110100111101010011110110100111111100010101000000110000011100000101010000001010101101100100010110111001000000001111100001001101010110010100010101011010011 0110011000111011010010110100000000011111110101110101011001010100110110001100011111011010111111000111001111101111110011011001000001101101011001101101101101101010100011001011101010110101000010111011011100101011111011100010001101011101100010000000111100010100010000110010100010010110100011000001010101000110100101000100011101011111111100000110001000001101100001000111001110011001101110011110000101111111 0100000001100000100010011011101100000011101111100010111110001100011110010100101001010010010001000101010101111111101101000111000110001001101110110101000000110010101100011100010111111110010001011100101001111110000101101111000110110010001010011011111001000111010100011000101100010001010101100001101010010001011011110111111001000100000011010001000011001111001100111001111010101001110010101110011000110111 0011011110111100101000010001101111100110011110010001100101100010111011010101110000110000001101000011111000011010111101010000110110110110001110000000011010110110100110101000110100001010110111100101101110010101101100010011011011000000110111111110001011010101110001001001101110111100110110111001110010111000101110001010111011000110110000110001100011101010110101101001100101110010001001100101001101010000 1001000001010110011000000100100110000000010111111001100011101011110110110000000010001001010110100011101011000011000100111010001011101111001100000001010101110001001011001000011100111100001001011101111011101101110101010111110011110000101010101001100010100110111100000111111101111110110110110111011101000101000011101010011111001101000001111100111011101010010010111110010011001011100010010011110110101010 0010100011110010000011111111111111001001100000100111001111100001110110010101010010011001111111100010011101000001001010000011111101011100000000101110000111110000000101110000111010000101100010100011001110101110010110011111111111011000011000001011011000011111100100001110010011001000110100100100110110101001011010111111011010011110100110100111110111100011001011101010001011111110111111100001111001001111 0111101100111100000011100011001101111010101111011110101101010101110100111001010010000010100101110001101001100111100011001010111100010110000100011011110111000111110000110101110001100001100110100000010111001100011011010100111110000101010010001011111101100110110111100000001100101111011011011010001001100001000010011111001010101110001100011101000111000000110101100100101000101110101100100010001111101110 0111100101001011101001110000001011011001011001101100001011010110011011010100111011000111100000101111011110011001010000001001101010111001010111001101111011000101110011100011101111110101110110000101001100000100101000011001001001111111111110110100000101001000110111011011101110000010011110000001000111110111010111000001001100001010101101101011000101001010100110000101101101111101110010100000000000000010 1110101001110010001011010001010100100111001110100110011111100101001000010111110110010001101011001111000000111010001001010010010100111110100101100110011110010111000101100011010111010101001001111111000000001101100000000111010001101101000001110101111101010111111111001110010001011111011011110111111001001111101000010101011100101110101001111010100011101011001001011010001001001101100010111011000101001000 0110011111111010101101011111000011101101111001000010110001101111000001110001100100001101000001011000110011001010010111111110010000101111001100000011101011000011101101011111011000011011011011011011100111101100111011000000100011001011101100010101100010110010000000110101101100000011101010010101000000110010010011000100100001010110110111110010101010110110101100100110111011111100010101000000011101110010 0101111010110101010010111010011001011010101101101110110111110011100001100001100110001110011010110111100111010110001001110101111101010101111010111100100010100101100011010111101001101101001101001101010000100000011010001101100111100111101000101000111011100100111101000011100101001000001001101101110100100011100111110100001011110101010110001000100111011110001011001111011011000001111010011011010101010001 1110111101000101010100001001101101110101111101111011000011101111101101101001101011010101010101100000010110110101111001111011010011111100001110100111011010011001100110100000100011000100011001111001000101111000111000101011011100010001111010000011001011011010111000111111000100100111011000011010100100000100100110000001011101000100111010111011011001010100010011000010100001110111001110101100101001010110 1100101011111001110001101101110001011010101011110001000001110000001100100110100000001111010000000101000110011110101001100101110011110111011101011100000101010100010011100000011011010100000101011010100000010000011000100011100000110010111101011001000011111100111000101111110011001101100011101010010111111010110100110101010001001101100001010010100001001110001110000011111011100110100011101010100000000010 1001101110101111011000111100110000011010011001100010011001101001011101100011100111000101100100000010011001000011000011001000101100111101100010110010110100101111011001111000111110001011111001101110011111110101110010101100111101011000110101110000101001110000101110111010111110110010101000111101101011110011001000001010110010100001010101011010010100010100001100011110001010100100010001100010100000110110 1111110011110111001101100110000011001000010111110100100110001000111011011001101010100101000010010100000000011110001111111111001010010000100001100100001011110011100000101101100011011010110011000101011000100010001010001010000101111011001001101011011111011000011100000110001000110000111000111111001001010001000100010001101111001011010111000110010011101010001010101011100101100111000100000100101100111000 1111100101111010000110100100000101000111111101100000011010100100011111110000001010101010101010100011001101110111101000001101000011011111100101011010000001001111011001101010011001111000001110111100111010011010100110010000011000111111010100100011000010111101101000011010000101001011011110110110001001100101010001010110000110100111000110011110011001100101000100001011010100101000011100110110011100010011 0000110011000101101100110000100111100000010001001011000101001011011001011010010111000111001101010010101010101110001111000101010001000110110011011000100110100000011110010011011000101001010011100011111011001111000101100011111000101000110011111100111000011110111110100111010110110000101000110011110000100111001111101011111010101001010010101110110011111111111100101111111000001011110011111110000101111101 0001011001010000100110110010100000100000100001100010010110000111101110100010101001101111111100010010011111011000100111001100111000010100110010011111000011001000111101001010100000011111101101101011000101001000110111111011000101000000101010000101011100000011110111111110101101100000101011000100100000101011101101000000000001101000000111011111100000101101010010011010000010100000011011001101111000111001 1011010100010011101001001110110010111111011101010001101001010101001111100011001101100000101010001110100011001111100001000001010111101000010000110001010101110010101110110000011110111111001001010011010111011010101010101011110111100110101110000000000101111111100000011100100110111001000010010101000001110010000111011010110111110110001111101000100011111100001010100010110001101010000111010111010100000110 0110101010101001000100110000111011000100101100010000100001110000110010100100110000010011011100110001010111001111100100010001011001011011101000010111101101100010111001101111010000001010111101010110000010101101000111001101000000010001011000100001001001110110001110100100101011000000100001000110100001100111110101111110001100110110010011011010010101101110001000110001010000011110010111010110111101111111 0011101110010000111000101011111110011001100001100101110100000100101101111011010000001111111110101111000100110101100101001101001111010110011101101000111000000110110000100010010111010010010111010101111101010110100011001110100000110101100001100101101111011000011101010100101110000000000010111011001110101110010001001100111100001101101010101010011101111111100001001011011111111100011110111111101110010001 1101101000101001111010101011101110011110111011100001101011001001100101111111100000011011110100110101100110000010110110010101011010001010101011010010011110001011110000010110001000110111101111110111100100010101000100011111100001010000111110111110101011011101101000101100000000001011001101001100111010001110100010110101101010011000111011001001001110100011011110010001000000110010111000000111100101100001 0010100100111000111101100110011100110010000011101011110000000101010100110010001010100001111100001110110110000011111100100011011111000110111001111010100110001000011110100101111010001000110000000011000111000001101100111110110010100101100011000000011111101110010011011101000101111001111000011011111111111100101000111111011011010010110001100111100010001111110110000111010011001010111110100101010010111001 1110011101100110010010110111110100000000010001000110110000101001101011110101110010001110111101000010111011000001100000011001011010101010010111010000111101001010010011110010110111011110111010000110000101010111001010110001001100010110111001110111111110000100111111000111111110101001101011100101010011000100001101100001101110110001011110000100011100111001001111110000100010001110111010010011011100000010 1000011101000111111110111000101101110111101000100101101001110110010001110100001000101101111110010011010010010100010001111101100011111100110001010010110011010111011110011100111101101110110100010101000110000110101100111110010000101100001000110111110011011111011110111011000011011110101111110100010100111110011001010011100000111000100010010100001100111110110010000111111000100000001000101001110111100001 0111111110001000000100111100100100110011101010010100011001101110110111000011111100000100100000110010000001110000100110000011100101011000101011010001101110010111100011011100011101010110110100001011010001001100011110111011111101001100010111000101111011010001100110000110000101000000110111001111010001011111111001011111001011101100011100000110111010101101001100100101101101111011110101001100110110000101 0101111010010000110010100100001101010000111001001001111001001110000001101101101011000001000011101100110111011111011111100000000000100111000110010101000101000011000110010111111001110110101111011111001101011110011111100011010001000010011011100001101100110011000010111111000010110110001000000110001110101101110101101101110001100100110000100110101001000111100011010101000010111111110001100111101011110011 1000100011110011001011000001101101100011101011100000000100001111001111010001101011001111010001110101001000000100011000101111110101011000100110110011100100100110001110001100001011110001001011101011001101000100010001011110001110101000011110010110010001000010011111111000001101010101101101001010010010010111011010100100010001101001101000010110001010101001000001100010011010001110110101011111011111111010 0001001011101010001000000111001001100111000101100101001010101111101011110111011011001111010100101110011011111000110101100100110111001110100000011111010111111101001010100100001111100100101110111101001010110100100011100000000110000011000110010111111101101100001101100101001110011111111001101111101001110011001010110101101001110010100010001100101011101000010011011001101010101101011111111010111101100100 0011100010110000111101101111110011101001110011000100001111000111010110101011011011000101000111000101100101000100100011010111000100011110111110110100100010000110011000010000011000110100000100100010000100010011010000100011010000001010001011011100000001001000100000100001100100000001100010000110110001011111111001011101110111110011110001111011100001101101001100101010100011101001011001000011100111000011 0110100101110101101001100001110001000010000101001010000100011111001110111110001100000011101101001010011100011000000011100111010100101100010110100110000110000010011000000101001001010111011101111100110001111001111001111101100000001101001011101000001100110101100011011100110111001001011101001001001100010000011100100001110011101101011111110111000000111111100110100110011010101100011000010100000110111101 1011100100000101101001100010101001111000100001010110110001111001000101011001001000000111011010001000101010001110011001101100100100010111011110110101011011100011111010101010100111000110010100011110110100010111011000001010001110101111010000110111001100101100001011101010101011010100010011010010111110010101101011101000011110110010011110011000010001101001010101110100101101010111000101101111100010100011 0010010100001010100011001111010000101000010111110110111101110101001000101111111110011101001111011111010000010011110111010110100110101011011101000001111001011011111110100101011001010110000010100110100000010010111110111011001011100111110110100001001110010001101111101100001000010101011100111011110000011111000010110110001111100101001111000010100111110001001011010001111001111111111000000101001001011011 1011110110110101101110010101110110101100011010010011000000000000000101000111001101111011111111001110101110011011000101110100100001110001010010010111000100101000010100110111001110110000110010011100111011110111000010001000010111111011111010010011001111111011001110001110100001010001100000001111111110000100001000001100011100010001111011110010101010100011000100000101010001101000100011000111010110111010 1010010010011001000011000011111000111100111011110100011011101101110111101011101001101010110111100100011001010100111010001010101110110000111111111010101001011100001110100011001000110001011110100010100000110110110010110010011100001000100111100100111010001101010110111010110101000101000101011010011000111100101000000001111110101100110101011100000100011011001010101000101101111010111011011010010011010010 0101101101010011101101001110111101001110100101111000100011001000100001001001110000111110011100101001100110010000101011010001011110010010111111000001011101101100111011001011011001011110011110111011000100101110100001101110001111001000110011001110001110111011001010001000111100010001100111100101010111111110110110110111011011001111100010100110000100100000011110101000101011010100110110011010111001010100 1010100011000010101011100100000101100011101001111111000110011010010011001011001101000100011111011101001100011000000110001111111111100011010111101000011111101000001101111001010001001100110101011100110101101000100011000111101000111100011011110110110000111101111111011011010101101010001001001100110001111000000001101001010100111100000010011000000001100001000011011110101010100111110011001101001011000010 1100000100001100000111010110111010001001010110110010110100001111111011011000001101011000111001100100110110010011000101111100101011101111101011010100001010101000111000110110000111101111101000110011100110011111000010111010011010111110000111011110111100000111100011100001011100111111111010100010101001100010001100010100110000101011111101000110010010000111100011011000111111100110010110011001110100101100 0011111111000010001000000100110101111110100001000110100100111000101001100001000011011110010111011101111011011001000101000011010001000100001000110010001101111101011001100001100000000110000110001100000110110001011100010000101111000101100111101010111101111110001111110111111111010000001101010111001000011000000011100110011101101011101010011111011001011001011011111011111001111110000010000011100011110010 1111110100001011110111101101110101000001000111000111101001010000000110101110010001110000110001100001100111001011101110001000000010100011010100110010000100101001001001111010001000000110011000111011010011100100110101110001111101011001011011111001111111111101100101101000010110010000111010110000000000100000111110000111100000000010110100100011011111111000000100010100111101110000111000010111111100000110 0100111100000100111101101101010100110011011001011001010010100010000011010000011100000110111011000000010010111000010110111101110111001111110110111011011111100000110011110100011101100100110011011111000000010111000010000111010000001111111110000100011001010111100001011011101100101111011010101011110100100000000110011111011100001001010011001110010100010111001000101000010000100000100001011011011101111000 0000010000111011010111100010111111001101110011101011100010111110110001101001001001110010001001100000000001101000001100000100101010110000111100011001000111110011111101111110011000110010011110101011001011111110110000000001101010110011100000101000010010111001000010101011110111110110111000100101100101100000011101000101100000100101101001010001101010010101110010001111011001100111010011000010111100001000 0111101110111000001010101010110011111100110000001010000101111001000100110000011010100111110011000100001111011001011110001010111000101100010110011010010000000000010111001111110000011100001111010010110110001110110111110010001000011000010001001101111001000000101110011101001001001101001100010101111111101011010010000010011010100100101000100010101111111000000010010101010001100110111000110001011011010010 0111101000111001000111000101100110001111001000000001111000100111101011100001110100010101000101100101111101001101001100100011001000011111000010100010111100010000110110010110001100110100101001000101010100110000010001010011110001110001010010001100100011100001101001101101111100101011100010110100011100011000011011110010111010100000000100110001101110110000111011011111101111101010001001100011010101011101 1001110101001010011000011110000011011101101010011100100000010100111100010001111110010100100001101101100001101001110101111011011000000100111010011010101111011010101101001101001111110011100111011011110011011010101101001001101111010110100011100011000000011100111001110010100011000110110101000111101011000001100110001011001010010010101110101110001000101100011100100010010100111100100001110111100110001100 1100100100000110110101100111100010010100011101101110011011101010111110110111000010011110001000011101101011111001000100100001011011100010011111001100110010000101100100000010111000011000100110110001101000100000101111010010101000000000100101001111001001001101011111100111101010001110001101010011000110000101001100101110111011011000010100010100000001000100110111000010000011110011101010011101100010010011 0001001111001010011011101000011111111000010110101000100101101011101110111001000110001100100100111001110000101110111101110110100110000100000010111000111000101100110000100111001010001011101111100101011111011011010101011110011011000100100010111110100001100010111011110000100101000001000101000011011010111000000100001000000010000111100001011100011000000110101111101110111111001001000001111111011100010010 0001011101010011000000011100110011001110011101011001110101101111000111101010101100011011000010010010010110011010000110010101111100111011101010100010111011101000010001111010101111011010100010110000010110010000110001111100001111111100010010101000100101000111001011111110000010010000100110110110000110011110001101010111011010000001011000011101010100010110000110101110001010110100000111000010101111100101 0101100010011010111000100011110000100101001001011000100000111000100001010011110011011000001100000011011110110001100100111001110011001000011011110000100000011010110010000000100001011101000001101011001111010101001100010110111101011101010110101110011001100000000011101111101111100111100111110000011101011001010100001000000100000110110101101000000111111000100101100110000110000100010101000001000101100101 0111111001111111011000101111000101110001010010100111101000111000001011100100010110010111100011000111111001011000100101010111011001101011011000111101001010111000110011101100000100101011001111100110000011001111000011011101000001101001001111011000100000101101100100001100010101011110100001011010001111001101000000010000000011000000011001110111001000001011011001110011101010000101011101010100101000111110 1111101000111001110010010000011110001100000010010000100111100011010011010011000000011110011000101010011101010101101011101110110111111101000111101011110001101111111001100010000000101011001110000011010111101000001011010001011011011010111100101101100101001101101111001100010111110001001011001001000110111100100100110100101111011111010110001010100110001101100100100101001101001001001110101001011001000101 1011101001101111011111010001111010110101110100110011110010101010010000000110011010011011101100111000000011110111110010101001111111100100000011101110001110011001100101010001000100001110011110110001101011001010100010110110110000001010000000110000101111111001010000000011011111110001010000001111101001111010101000110100000110100010100011010111100010110110111101110100001010010010001101110111001011110011 1111100101001111111010010110101001110011011101100111101110100111101011100011000111011001011011100001110000000000001001000001111101101011010111010101110101110001110111011001011110011100110110111001010011010111111100011111010010011010010011111111011110001010110000010000001000000001000000100111101011011100010011101011100011111011010110101011111000100001011111110000101010000011011110101111110111001000 1010011111000101100100001111010100001001101101011111110001100110101101110111010111100101000110011001110010000011110001100110111001101110100101011011100010111100100000111100010011101001101010010111011100111111101100000111111010001111011100001111000110111110011110000111101110111100010100100110010001110011111000100010011100000110111111011010111011100110001011010001011100011100110111101101010011010000 0110110000110000100001010100100011110000001111111110000101001101000111100100001110100000010111010110100011010101000010101001010111000010110000101111111100010010001001110110001101011011001001000100101011101010010101001011011001010101000000011011110001000111001010011100101100010000011111011110010011011100000111110011111011110000100111101110011100110000111101010110010001011010100011010001110011001000 0111100001010111001001000111001100100111010100100100111111111101000010001001101000010001000100000110100100111010011011000000100010010101001000010001000110001111111010000000111011110110111001101011101100010001101111111100010111010101001110110100100000110011000001111010100010100110000011010100010001111010010101000111111110010111011001110101001110010001110001011011100110000011011111000110111101101011 0000110010110111011100011101111100100010110101111001001001011110100101011000110100100001010010010100010001011001011001010110101010111010111011001111100011011011110110001011100111000110100011111010001011010101110101010111001010100101111001010010111110101001010010011001000010011111100000111100101001000001011000110011010100101001000101011111011011010101000100011110001010010110110011110011101011101001 1001000100101010111011010111000100001100101110011011001011000101101110111100001111101011011110000000110001111111010011100011101000111011110000000111111110100010111111110001000101100101110110001000101001101101100011011110001011011011001001111110110001010001110101001110110100010011001000000100011101001000111110011111110111011010110101100011000111111100110100100110110100111100100011111110101000011111 0111011011111111111010101110000111010110010101110010110101000110100000101010000101100001111010000111111110000011110100111000001100010011111111001001100001111011001000000010010111001110100010101100110111111101011101110011000110010011111000010100111111011101000100111011011111101011011111110101111101100001110011111001000011000010110111010011000101011110001111100011000000011011010110100111011000000101 1101111110011001011011100101010111000001110011001011111001000001001010100010101111111110100011011111001011111011100011001011101001010100000111000011110101101101100000010001111100111110101000001010011001100110001011011110111000010000101101100110110111110101100101110110001011100010110011000111010001110010000000011110001101010011010111101010010001001111111110101110101001101010001000010111100001001011
cTrader AlgocTrader

【cTrader】マルチタイムフレームな移動平均雲【Indicator】

4/28/2021 5/13/2021

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

移動平均線大好き

皆さんインジケータ使ってますか?ajinoriはあまりインジケーターは使わず、水平線やトレンドラインを描いてトレードをするタイプなのですが、移動平均線だけは好きでよく見ています。

 

200SMAが特に好き

表示させてるのは25,75,200の単純移動平均線(SMA)3本ですが、その中でも特に200本のSMAが好きです。ただの好みなんですが、200SMAを好む人は結構多い気がします。

で、例えば15分足チャート見てても、15分足の25MAとかよりも、上位足の200MAの方が気になっちゃうんですよね。でもそのたびにチャート切り替えるのも面倒じゃないですか。

じゃあチャートに他の時間足の200SMAも表示させてしまおうかな、と。これだけなら、よくあるマルチタイムフレーム系のインジケーター使えばいいわけなんですが、実はもう一つ気になる点が。

 

上位足のSMAタッチって・・・

例えばこれ、5分足に4時間足のMAを表示させたチャートです。赤線が4時間足の20MA。

どう見てもタッチしてませんよね?近いっちゃ近いけど、たぶんリアルタイムでこのチャート見てても、4時間足MAで反発した!とは判断しないと思います。

でも同じチャートを4時間足に切り替えてみたらこう見えます。

確かによく見ればタッチしてないけど、これはMA反発っぽくないかなぁ・・・と見る時間足によってどうしても感覚が異なってきてしまうんです。

せっかく表示させていても、4時間足チャート見てるときと違う感覚じゃ意味がないですよね。

なんでこんな違いが生まれるかというと一つはチャートの縮尺。縮尺がぐっと縮まるせいで、4時間足のチャートでは単一価格を示すはずのSMAも、視覚的にとらえるとかなりの幅を持って認識していることが原因の一つだと思います。

これを新たなインジケータで解決してみましょう。

 

MTF_MovingAverageCloud

機能概要

じゃあもう単純にぶっとく表示させてしまえばいいんじゃ?とこんなの作ってみました。

これだけだとよくわからないと思いますが、5分足のチャートに15分足(緑)、1時間足(黄色)、4時間足(赤)、日足(白)の200SMAを雲で表示させてます。線じゃなくて雲で。(青い線は普通のSMAを別に表示させてるだけです。)

ちなみにこれを使って、さっきのところの5分足を表示させるとこんな感じになります。

うむ、ちょっと反発っぽく見える気がする。

なお、雲の厚さは適当にATRを基準に決めてます。デフォルトでは14本ATRの4分1の太さで表示されますが、パラメータで変更可能です。もちろん期間や移動平均タイプも変更可能。

 

パラメータ

Period

移動平均線の期間を指定します。すべての時間足で同じ期間を使用します。

MA Type

移動平均線のタイプを指定します。デフォルトは単純移動平均(Simple)です。

Width Rate

雲の厚さを指定します。数字が大きいほど厚い雲になります。

 

ダウンロード

こちらからどうぞ。時間足は15分足、1時間足、4時間足、日足の固定です。

4本もいらねーよ!という方は2本バージョンのこちらをどうぞ。

こっちはパラメータに時間足が追加されていて、時間足を指定できます。

 

色変えるのはちょっと面倒

4本バージョンはパラメーターから色指定ができません!・・・ので、変えたい場合はソースコードいじってください。

プログラムわからない方でも大丈夫。まずはAutomateメニューでMTF_MovingAverageCloudを選んでください。

using cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;

namespace cAlgo {
    [Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
    [Cloud("MA1_upper", "MA1_lower", FirstColor = "Green", Opacity = 0.3)]
    [Cloud("MA2_upper", "MA2_lower", FirstColor = "Yellow", Opacity = 0.3)]
    [Cloud("MA3_upper", "MA3_lower", FirstColor = "Red", Opacity = 0.3)]
    [Cloud("MA4_upper", "MA4_lower", FirstColor = "White", Opacity = 0.3)]

そしてこの7-10行目のGreenとかRedとかの色の名前を好きな色に変更するだけなので。(書き換えたら上の方にあるBuildボタンをポチ)

 

2本バージョンは上側の線色に応じて雲の色も変わるようになってますが、必ず半透明色を選択してください。でないとチャートが見えなくなってしまいます。

あと、うっすら上側に境界線が見えてしまいます。気になるようであれば線を非表示にしてください。

 

 

意外にいいかも

ふと思い付きで作った割には結構使えそうな気がしてきました。

雲で表示させると、いつもよりもいっそう移動平均線が機能してるように見えてきますよね。・・・まぁ実際は脳が都合よく解釈してるだけなんですが。

これでなんか面白い手法出来ないかな。

 

(2021/5/13 追記)

雲じゃなくていい人用

ご要望にお応えして普通のマルチタイムフレームの移動平均線も用意しました。無駄に増やして5分足、15分足、60分足、4時間足、日足、週足の6本の移動平均線を表示するようにしました。

余計なお世話だったらごめんなさい。こっちは邪魔だったらプロパティのチェックはずせば消えますので。

ダウンロード

ソースコード付きです。


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

新しいコメント

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

cTrader's Life

© 2025 ajinori