How to let a script draw a curve |
Ex. MOV(C,20,E) This short script draws a moving average of 20 periods of the Close price. Note. Exponential moving average means that greater attention is paid to the price bars closer in time than the ones farther back. How much more attention is determined by an exponential falling scale (just like a skeeing track back in time). In the scripting language you have access to a wide range of preset analysis methods, and also lots of versions of these. Ex. MOV(V,20,E)
Same formula as before but now operates on the trade volume instead. Ex. SUB( S , B )
Returns the difference between Bid- and Ask quotes. |