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

Re: Pushin' and Popin' Ticks...



PureBytes Links

Trading Reference Links

Hi Ian,

IW> I have two charts in the same workspace. In the Cash chart I have 
IW> attached the following Indicator:

IW> DefineDLLFunc: "PUSHPOP.DLL", VOID, "PUSH", LONG, LONG, LONG, DOUBLE;
IW> DefineDLLFunc: "PUSHPOP.DLL", VOID, "PUSHCLEAN", LONG;

IW> inputs: Index#(1001), Price(Close);

IW> if CurrentBar = 1 then begin
IW>  PushClean(Index#);
IW> end;

IW> PUSH(Index#,Date,Time,Price);


IW> In the Futures chart I have attached the following Indicator:

IW> DefineDLLFunc: "PUSHPOP.DLL", DOUBLE, "POPLast", LONG, LONG, LONG;

IW> Vars: Cash_Close(00);
IW> inputs: Index#(1001);
IW> Cash_Close=PopLast(Index#,Date,Time) ;

IW> plot1(Cash_Close,"cc")
        
   Both  of  your  indicators  appear to be coded correctly.
   This should work fine.

IW> Both are 1-Tick charts, the Indicators are set to update every tick.

IW> The indicator plots the Cash price but only every minute, not every 
IW> Tick.

   My  first  inclination  would  be to double check on your
   plotted  indicator  on the futures chart that the setting
   for "Update on Every Tick is Enabled."
   

-- 
Dave Nadeau
Fort Collins, CO