| So the complete syntax that we arrived at for MSH and
MSL follow: MSH
HI.2 > HI.3 AND HI.2 > HI.1 AND
CL.1 < OP.1 AND LO < LO.1 AND CL.3 > OP.3 AND CL.2 > OP.2
MSL
LO.2 < LO.3 AND LO.2 < LO.1 AND
CL.1 > OP.1 AND HI > HI.1 AND CL.3 < OP.3 AND CL.2 < OP.2
Marking The Apex
Now, if you use this syntax in a signal, and add the signal marker
to a chart, the market is going to mark the 4th candle in the structure.
Some many prefer to mark the "apex" of the structure (candle 2).
There are two was this can be accomplished. The first method uses
the following trick. Let's assume we saved the two signals above
with names "MSH" and "MSL". We would just create two more signals,
named "MSH_Shifted" and "MSL_Shifted", with the following syntax:
MSH_Shifted
MA(SIGNAL) = 1
MSL_Shifted
MA(SIGNAL) = 1
Where SIGNAL is setup setup as the signal "MSH" in "MSH_Shifted", and
"MSL" in "MSL_Shifted". MA is setup as seen below:

Notice that the "Shift" checkbox is checked, and it is
setup to shift the data 2 bars left (to the apex). Also make sure
that the MA is setup for a Simple 1 period smoothing (no smoothing).
There is an easier way to shift the signals markers.
Directly in the "Signal Marker" indicator preferences, there is a "Shift
Markers Left/Right X Bars" options. You can actually select (click
on) any signal marker, and then use the right and left arrows on your
keyboard to shift them righ and left. I mentioned the other method
first because many users complain about the line that is drawn that
connects the markers back to the bars on which their signal conditions
were actually true. Keep in mind that these markers are "cheating"
in that they are looking into the future two bars.
The chart below displays these shifted markers using the
first method. This chart definition for this chart can be download
by right-clicking here and
choosing "Save Target As". |