>>PA = ParamList("Price Array","O|H|L|C|(O+H)/2|(O+H+L+C)/4",3);if(PA == "O" ) PriceArray = O; else if( PA == "H" ) PriceArray = H; else if( PA == "L" ) PriceArray = L; else if( PA == "C" ) PriceArray = C; else if( PA == "(O+H)/2" ) PriceArray = (O+H)/2; else if( PA == "(O+H+L+C)/4" ) PriceArray = (O+H+L+C)/4; Plot(C,"",1,128); Plot(PriceArray,PA,colorRed,styleLine);<< Thanks Herman, that sample code was just what I needed. Bill
