TradeStation Tools compatible product  line

 


 TradeStation TOOLS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Overlays

 DLL's for TradeStation TOOLS


 Instead of defining support  and resistance levels in a classical manner 
(function of Open High Low, Close of the previous daily bar),
  we determine the values from a statistical point of view.
Two information are of interest: The price level of the accumulation peaks
  (usually acting as support/ resistance)  and the price level of valley 
  (this is where the major moves appear, speed increases, 
and their use is more obvious than the peaks accumulation of prices).
This piece of code has more than  20  customizable inputs, 
allowing a lot of displays, filtering and extracting methods of the price 
and tic volume distribution levels.
Even historical distribution can be imported, concatened with the current one,
  and a dampening efect added to minimize the effect of oldest data.
The best  thing to do is to carefully examine the following screenshots
  with   the explanations overlaid on them.
We hope that they will make things more clear than any discurse.

 

 

Overlays ( Long term profiles)

over0.gif (37191 bytes)
Printed using TradeStation™ 4 by TradeStation Technologies
Click on the above thumbnail image to get the full size picture

Distribution of the prices (histogram is shown to the left).
This picture shows what are peaks and valley, how we define them,
and their relationship with the price levels and raw prices  (prices are white bars charts).
Notice that  price levels (horizontal lines) are known in advance and update realtime.
Also see the increase of speed prices when crossing the valley level.

 EXAMPLES:

over3.gif (27364 bytes)
Printed using TradeStation™ 4 by TradeStation Technologies
Click on the above thumbnail image to get the full size picture

This double picture shows two Overlays on the same copy 
of two identical 10 min S&P intraday chart.
The left picture shows the 4 closest valley to the active (current) price.
The right screen shows the closest valley and the above and below closest peaks.
The active valley displays as a white horizontal line.
Any white line level on the right screen  matches one colored line of the left chart.
The observed jumps come from the changing situation of the closest to price valley
that moves to an other level  when price changes from a gaussian distribution to a next one.

 

 

over1.gif (31881 bytes)
Printed using TradeStation™ 4 by TradeStation Technologies
Click on the above thumbnail image to get the full size picture

A wider screen of the valley level display.
Magenta stairs like (left) means that no price were seen above (highest valley)

 

over4.gif (30827 bytes)
Printed using TradeStation™ 4 by TradeStation Technologies
Click on the above thumbnail image to get the full size picture

A wider screen of the valley level display.
Same screen than before , but with a lower overlay resolution.
This one shows less details, but keeps more important levels.
You will have to select the rsolution that fit your needs, up to the tic level.

 


TRADESTATION INPUTS TO THE DLL CODE:

We cannot explain herein details all of  the meanings...

inputs:  ech(2),Deals withraw data resolution
        _crx(2), Affects display
        _stat(2), Affects price levels calcuation mode
        _sample(5),Deals with histogram sampling
        _tic(1);  Allows tick volume histogram calculation

 

vars: longueur(0),fin(0),statut(0),sup(0),res(0);

var:     ctrl_reinit(1),ctrltic_time(0),ctrl_lect(0),ctrl_ecrit(0),ctrl_compteur(0),
        ctrl_calcul(0),ctrl_detrend(0),ctrl_picscreux(0),ctrl_stat(0),nb_sample(0),
        xdelta(0),amort_time(0),amort_seuil(0),amort(0),amort_sup(0),
        echelle(0),rang(0),nbsum(0),argument(0),recul(0),rangsup(0),nbsumsup(0),
        nbswing(0),badtick(0),value_fin(0),value_haut(0),value_bas(0),mmdernier(0),udticks(0),
        A1(0),A2(0),B1(0),B2(0);



definedllfunc:"c:\exportd\ts_overd.dll",int,"overlay",
        long,long,long,long,long,long,long,long,long,long,
        lpfloat,long,long,lpfloat,lpfloat,
        long,long,long,long,long,long,long,long,lpfloat,
        long,lpfloat,lpfloat,lpfloat,long,
        lpfloat,lpfloat,lpfloat,lpfloat;

        ctrl_reinit=0;
        ctrltic_time=_tic;
        ctrl_lect=0;
        ctrl_ecrit=0;
        ctrl_compteur=1;
        ctrl_calcul=1;
        ctrl_detrend=1;
        ctrl_picscreux=_crx;
        ctrl_stat=_stat;
        nb_sample=_sample;
        xdelta=15;
        amort_time=3000;
        amort_seuil=30;
        amort=.9;
        amort_sup=.9;
        echelle=ech;
        rang=2;
        nbsum=7;
        argument=2;
        recul=7;
        rangsup=1;
        nbsumsup=7;
        nbswing=4;
        badtick=10;

        value_fin=barnumber; value_haut=h; value_bas=l;
        mmdernier=average(c,3); udticks=upticks+downticks;
        fin=longueur;

if date<>date[1] then amort_time=1;
if fin=51 then ctrl_reinit=1;
if (longueur>50) then begin

overlay(
    ctrl_reinit,ctrltic_time,ctrl_lect,ctrl_ecrit,ctrl_compteur,ctrl_calcul,ctrl_detrend,
    ctrl_picscreux,ctrl_stat,nb_sample,
    &xdelta,amort_time,amort_seuil,&amort,&amort_sup,
    echelle,rang,argument,nbsum,recul,rangsup,nbsumsup,nbswing,&badtick,
    value_fin,&value_haut,&value_bas,&mmdernier,udticks,
    &A1,&A2,&B1,&B2);
ctrl_reinit=0;


plot3(A1,"A1");
plot4(A2,"A2");
plot1(B1,"B1");
plot2(B2,"B2");
end; {fin du if longueur>50}

longueur=longueur+1;

 


Ordering: see the ORDER section on this web

PRICE  is  600€

SEE OUR SPECIAL PRICE OFFER FOR ALL OUR TRADESTATION DLL's.

EC users must ad 19.6%VAT or provide their international VAT number when ordering.
Please provide your name , address, TradeStation or Supercharts Realtime Block Number.

TradeStation Code ©1996-1998 Philippe Lembo- HLG Gestion & Pierre Orphelin-Sirtrade International .
Sirtrade International 110, avenue du President Wilson -F93100 Montreuil. FRANCE.

 

 


See also...

Up
General
Maximum Entropy
Lomb Periodogram
FFT filtering
Market Profile
Overlays
Tomorrow DLL
Compression Bars
Pt & Figures DLL
Equity Curve
 

Overlays...

This DLL produces a long term view of the price or volume accumulation distribution levels over several days.

It can be seen as a long term Market Profile®, but it only displays the peak and valley signifiant levels closest of the current active price or  "volume at price" level.

The histogram of price /volume distribution over time produces imbricated gaussian like   distributions from which we attempt to extract the useful information.

 

Previous Up Next