2 Moving Average Cross Indicator- Help Need

 
....
 
Cant you change your code where it reads PRICE_CLOSE and make it read PRICE_TYPICAL or PRICE_MEDIAN ?
 
...