[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Noon Bar



PureBytes Links

Trading Reference Links

Carl,

IF time = 1200 then BEGIN
Value2 = Value1;   This will move the value of the last occurance into the
previous value
Value1 = Close;  This will capture the current
END:

The trick here is to capture the value at noon and put it in a variable VALUE1.
BUT -- before doing that you need to move the last captured value into the
variable VALUE2 to hold the previous value.

Hope this helps.

John




Carl Oberman wrote:

> if i wanted the value of close of the 12:00 bar yesturday for purposes of
> comparing it to the 12:00 bar today, how would i do that?
>
> Value1  =       Yesturdays Noon Bar;
> Value2  =       Todays Noon Bar;
> Value3  =       Value2-Value1;
>
> i probably have value3 correct but i bet value1 and value2 need some work  :)-
>
> thanks







  • References: