Reason I ask Jules is that I currently use AB and MarketDelta concurrently... 
Obviously it would be nice to migrate to one platform and really take control 
of the output in ways I probably couldn't even manage under MarketDelta.
I hadn't taken on the task you seem to have because,

1. I wasn't convinced it could be done logistically or with enough speed to 
make it a goer without it being written natively by TJ.

2. I wasn't sure, and still aren't, just how big a task it would be. Do you 
think the bulk has to be written in C++...? For a decent one man programmer are 
we talking 1 month or 4 months time requirement...? 

Any feedback would be great...

Cheers




--- In [email protected], "jooleanlogic" <juliangoods...@...> wrote:
>
> It took a while Sidharta.:)
> 
> Depends how fast you mean by realtime? The chart in the picture takes around 
> 70ms on my p4 3.2ghz.
> The only real bottleneck is the GDI drawing so performance is almost entirely 
> dependent on how much is being rendered. 
> If you turn "Display chart timing on" in Preferences->Miscellaneous, the 
> following code should give you an idea of the cost of rendering. You'll see 
> it's highly variable.
> 
> 
> GfxSelectFont("", 8, 400);
> GfxSetBkMode(1);
> 
> rows = Param("Rows", 50, 0, 500);
> Cols = Param("Cols", 50, 0, 500);
> showText = ParamToggle("Show Text", "No|Yes");
> fastText = ParamToggle("Fast Text", "No|Yes");
> switchColors = ParamToggle("Switch Colors", "No|Yes");
> bswitch = True;
> 
> cellHeight = Status("pxchartheight") / rows;
> cellWidth = Status("pxchartwidth") / Cols;
> 
> for (row=0; row<rows; row++){
>       y = row * cellHeight;
>       for (Col=0; Col<Cols; Col++){
>               x = Col*CellWidth;
>       
>               if (switchColors){
>                       bswitch = !bswitch;
>                       if (bswitch)
>                               GfxSelectSolidBrush(colorLightBlue);
>                       else
>                               GfxSelectSolidBrush(colorLightOrange);
>               }
> 
>               GfxRectangle(x, y, x+CellWidth, y+CellHeight);
>               if (showText){
>                       if (fastText)
>                               GfxTextOut("blah", x, y);
>                       else
>                               GfxDrawText("blah", x, y, x+CellWidth, 
> y+CellHeight);
>               }
>       }
> }
> 
> 
> 
> 
> --- In [email protected], "sidhartha70" <sidhartha70@> wrote:
> >
> > Jules, out of interest 2 questions if I can...
> > 
> > 1. How long did it take you to write...?
> > 2. Does it run fast enough to be fully operational in real time trading...?
> > 
> > Thanks
> > 
> > --- In [email protected], "jooleanlogic" <juliangoodsell@> wrote:
> > >
> > > Thanks. Yes I'm aware of Market Delta and yes, c++ and gfx.
> > >
> >
>


Reply via email to