×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts

Changes

Jump to navigation Jump to search

Below

No change in size, 11:15, 27 February 2012
To open a short position if a 5-period moving average crosses below a 10-period moving average:
<syntaxhighlight>
if If (Average(Close, 5) cross below Average(Close, 10)) then SellShort ("ES") 1 contracts next bar at marketMarket;
</syntaxhighlight>
[[Category:Comparisons and Loops]]

Navigation menu