×

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

238 bytes added, 11:15, 27 February 2012
Used in combination with [[Cross]] to specify the direction of the cross. [['''Below]] ''' specifies a downward (greater to a lesser value) direction.
The plot of A is defined as having crossed [[== Usage ==<syntaxhighlight>Plot1 Cross Below]] the plot of B if the value of A is less than the value of B and one of the following is true: Plot2</syntaxhighlight>
a) The value of A was more than the value of B on the bar immediately preceding the current bar, or
or<syntaxhighlight>E1 Cross Below E2</syntaxhighlight>
b) The values of A and B were equal for a consecutive sequence of one or more bars immediately preceding the current bar and the value of A was more than the value of B on the bar immediately preceding this sequence of bars. Where:
For more information see [[Cross]]:'''E''' - a numerical expression.
==== Usage ==Notes ==<syntaxhighlight>E1 Cross The plot of A is defined as having crossed Below E2</syntaxhighlight> the plot of B if the value of A is less than the value of B and one of the following is true: *The value of A was more than the value of B on the bar immediately preceding the current bar, or*The values of A and B were equal for a consecutive sequence of one or more bars immediately preceding the current bar and the value of A was more than the value of B on the bar immediately preceding this sequence of bars.
or: For more information see [[Cross]].
<syntaxhighlight>Plot1 Cross Below Plot2</syntaxhighlight> == Examples ==Trigger an alert on the bar where the Close price crosses below 1350.00:
Where: [[E]] - a numerical expression ==== Example ====<syntaxhighlight>Trigger an alert on the bar where the Plot1(Close price crosses below 1350.00: );
Plot1(Close);
If Plot1 Cross Below 1350.50 Then
Alert("Price has crossed below 1350.00");</syntaxhighlight>
To open a short position if a 5-period moving average crosses below a 10-period moving average:<syntaxhighlight>If (Average(Close, 5) cross below Average(Close, 10)) then SellShort ("ES") 1 contracts next bar at Market; </syntaxhighlight>
[[Category:Comparisons and Loops]]

Navigation menu