The High and Low are the high/low of the current bar. So the APZ take different parameters, and may return different values.
For the HiLo.. indic, it use TheHigh and TheLow dataSeries, so you can get the needed values there.
edit: oops, Mike was faster
Success requires no deodorant! (Sun Tzu)
The following user says Thank You to sam028 for this post:
In some of the Hurley strategies there is a need to avoid entries when the _ADXVMA_Alerts_v01_5 indicators show neutral, whether or not they also show rising or falling.
For a long the following is in the Entry Condition code (I have changed the indicator names a bit as it is from the Elite section):
Note there are 2 versions of _ADXVMA_Alerts_v01_5 used where the difference is limited to the colours of the Rising & Falling lines on the chart.
@gregid suggested the && (_ADXVMA_Alerts_v01_5_diff_colors(periodlength2, true).Signal[0] != 0) code but it doesn't appear to prevent entries as you can see on the attached chart.
Anyone have some suggestions how I can code to prevent entries when the _ADXVMA_Alerts_v01_5 is showing yellow (neutral) even if it is also rising (green and dark green) or falling (red or orange)?
In the attached chart segment, the circled _ADXVMA_Alerts_v01_5's show both rising and neutral, therefore I don't want to enter, but it still enters the trade.
Cheers,
Nano
The following user says Thank You to nanobiotech for this post:
I am looking for a simple strategy to learn, the basic code is if close > open range high, short and stop at 5 ticks profit or stop at 5 ticks loss done for the day. If close < low of open range long for 5 ticks target or 5 ticks stop done for the day. Strategies here are too advance for my learning.