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

Re[2]: Help- I have seen this problem before- I just can't remember the solution



PureBytes Links

Trading Reference Links

Sorry sent before replied.


The T3 I have is one by Bob Fulks and it is actually named T3 Series.
If you open the function you will see Inputs: Price(NumericSeries)  If
it says NumericSimple then I think it is simple.

Now I'm not the code guru but in the JMA example below if you are not
calling the JMA on every bar I think you are supposed to use the flex
version of it.  Now the way you do that is you call the function and
it is named JRC.JMA.flex.2k   The plain Jane function is JRC.JMA.2k.
This is detailed on Mark Jurik's site I think.  It has been several
years since I had to use the flex version.  I'm no longer flexable you
might say.  That is supposed to be funny not accurate for those that
take things too serious.

Jimmy

Thursday, October 7, 2004, 4:35:29 AM, you wrote:

MM> Is T3 a "simple" function or a "series" function?

MM> Best Regards,

MM> Mike
MM> mailto:omegalist@xxxxxxxxxxx



MM> Bob Fulks wrote:
>> 
>> The average function must be a "simple" function (not a "series" function)
>> for this to work. I do not know if Jrc.jma.2k is a "simple" function but I
>> am sure Jurik supplies one.
>> 
>> Bob Fulks
>> 
>> 
>> At 06:39 PM 9/28/2004, you wrote:
>> 
>> 
>>>I am attempting to do a calculation based on a higher time frame ( daily
>>>data using Data2 ) from within an indicator plotted on a lower time frame
>>>chart(45 min data1). It is essentially a moving average of the higher time
>>>frame which I am plotting on the lower time frame. I put in some logic to so
>>>it skips the calculation if the higher time frame is still on the same bar
>>>but it still does not calculate properly even tho I have verified the logic
>>>works properly by putting a print statement in the loop. I remember seeing
>>>this before. Does anyone know what the solution is ? Below is a snipit of
>>>the logic.
>>>
>>>Input: Price(Close of data2);
>>>Vars:Init(True);
>>>
>>>If Init then begin
>>>       Init=False;
>>>       Cbar=CurrentBar of Data2;
>>>       end;
>>>
>>>If CBar< CurrentBar of Data2 then Begin
>>>       Tavg=Jrc.jma.2k(Price,Len,Speed);
>>>       Print(Date,time);                       { This is to check logic }
>>>       CBar=CurrentBar of data2;
>>>       end;
>> 
>> 



-- 
Best regards,
 Jimmy                            mailto:jhsnowden@xxxxxxxxxxxxx