A method of determining parameters of a hearing aid for preserving spatial cues of sounds arriving at a user of the hearing aid, the hearing aid comprising a BTE hearing aid housing configured to be worn behind the pinna of the user, at least one BTE sound input transducer accommodated in the BTE hearing aid housing and comprising at least one BTE microphone (14-1,..., 14-M), each of which is configured for conversion of acoustic sound into a respective audio signal, an ITE microphone housing configured to be positioned in the outer ear of the user for fastening and retaining in its intended position at least one ITE microphone (26-1,..., 26-N) accommodated in the ITE microphone housing, each of which is configured for conversion of acoustic sound into a respective audio signal, at least one cue filter (44-1,..., 44-M) having an input that is provided with an output signal from a respective one of the at least one BTE sound input transducer (14-1,..., 14-M), and at least one cue filter (42-1,..., 42-N) having an input that is provided with an output signal from a respective one of the at least one ITE microphone (26-1,..., 26-N), a processor configured to generate a hearing loss compensated output signal based on a combination of the filtered audio signals output by the cue filters, an output transducer for conversion of the hearing loss compensated output signal to an auditory output signal that can be received by the human auditory system, the method comprising the steps of: for a set of directions (l) with relation to the BTE hearing aid, determine the Head-Related Transfer functions HRTF l ( f), the hearing aid related transfer functions H l, i ITEC f of the i th microphone of the at least one ITE microphone (26-1,..., 26-N)for direction, the hearing aid related transfer functions H l, j BTEC f of the j th microphone of the at least one BTE microphone (14-1,..., 14-M), determine the transfer function H FB, i IEC f of a feedback path associated with the i th microphone of the at least one ITE microphone, determine the transfer function H FB, j BTEC f of a feedback path associated with the j th microphone of the at least one BTE sound input transducer, and determine transfer functions G i IEC f of the i th cue filter of the at least one cue filter filtering audio signals of the at least one ITE microphone (26-1,..., 26-N), determine transfer functions G j BTEC f of the j th cue filter of the at least one cue filter filtering audio signals of the at least one BTE microphone (14-1,..., 14-M) by solving: min G i IEC f, G i BTEC f ∑ l = 0 L − 1 W l ‖ W l HRT F l f − ∑ i G i IEC f H l, i IEC f − ∑ j G j BTEC f H l, j BTEC f ‖ p wherein W(l) is an angular weighting factor, W(f) is a frequency dependent weighting factor, and p is a positive integer. for a set of directions (l) with relation to the BTE hearing aid, determine the Head-Related Transfer functions HRTF l ( f), the hearing aid related transfer functions H l, i ITEC f of the i th microphone of the at least one ITE microphone (26-1,..., 26-N)for direction, the hearing aid related transfer functions H l, j BTEC f of the j th microphone of the at least one BTE microphone (14-1,..., 14-M), the Head-Related Transfer functions HRTF l ( f), the hearing aid related transfer functions H l, i ITEC f of the i th microphone of the at least one ITE microphone (26-1,..., 26-N)for direction, the hearing aid related transfer functions H l, j BTEC f of the j th microphone of the at least one BTE microphone (14-1,..., 14-M), determine the transfer function H FB, i IEC f of a feedback path associated with the i th microphone of the at least one ITE microphone, determine the transfer function H FB, j BTEC f of a feedback path associated with the j th microphone of the at least one BTE sound input transducer, and determine transfer functions G i IEC f of the i th cue filter of the at least one cue filter filtering audio signals of the at least one ITE microphone (26-1,..., 26-N), determine transfer functions G j BTEC f of the j th cue filter of the at least one cue filter filtering audio signals of the at least one BTE microphone (14-1,..., 14-M) by solving: min G i IEC f, G i BTEC f ∑ l = 0 L − 1 W l ‖ W l HRT F l f − ∑ i G i IEC f H l, i IEC f − ∑ j G j BTEC f H l, j BTEC f ‖ p W(l) is an angular weighting factor, W(f) is a frequency dependent weighting factor, and p is a positive integer.