Steven S![]() Member Posts: 10 Joined: 1/3/2009 ![]() | Manfred, Thanks for the assistance. What I was trying to do originally was rewrite Matthew's SMA code to be able to use H,L,O,or C as the value that price is calculating from instead of only being able to use close (which is the default). I am a novice when it comes to writing code, so could I put in Dim A,B as single A = H B = SMA(A,"periods"), or is there a way to add a parameter with H,L,O,orC as the choices in his code or would I have to write a new indicator that uses Matthews SMA in it? I hope I am making sense? Thanks. Steven |