PureBytes Links
Trading Reference Links
|
Better yet, if you execute the Xaverage function only once, you'll cut your
computational overhead by 75% on each bar-- a significant reduction if
you're running multiple Indicators/Systems/WorkSpaces. TS & SC are already
burdened with overhead problems, no need to make it worse.
This code will give you a signal each time the XAverage turns up, but not on
subsequent upward excursions.
Example:
Value1 = XAverage(close, 13);
If Value1 > Value1[1] and Value1[2] >= Value1[1] then ...
___________________________________
At 01:48 PM 8/24/98 PDT, you wrote:
>David,
>
>Try:
>
>(XAverage(close, 13) > XAverage(close, 13)[1]) and
>(XAverage(close, 13)[1] <= XAverage(close, 13)[2])
>
>Chris Norrie
>
>
>> Hello,
>>
>> Can someone give me a quick EL way to show when the following
>> occurs......
>>
>> XAverage(close, 13) > XAverage(close, 13)[1]
>>
>>
>> BUT I only want the Show Me to show when the XAverage(close,13) turns
>> higher than the bar before ONCE. With the statement above, I'm getting
>> Show Me's on every bar that the moving average is rising. I'm
>> interested only in when it turns, up or down.
>>
>> Thank you.
>>
>> David
>
>
>
|