Really Nice ES Indicator for TradeStation

Discussion in 'Index Futures' started by playme4u2c2, Nov 22, 2002.

  1. OK...here you are......For everyone here.
    This is my little payback for all the information i've gotten on these pages.

    It's a TradeStation Indicator i wrote myself, (not sure if qcharts works the same way) and paints a pretty little picture on an "ES 100 tick" chart. This is my pride and joy (Ok...really just one of them!!! ), so use it right! Cut and paste everything between the stars and paste in as a "new indicator" in a separate "subgraph" on a 100 tick ES chart..

    Set it up as a "histogram"........ plot1 as weight1 (smallest bar), plot2 as weight2, plot3 as weight3, and plot4 as weight4 (nice thick bar!) and uncheck the "update indication" box for all plots. Easy to read and gives a nice insight to the prevailing market trends.

    For a real thrill, set up a second indicator and replace all the "20"'s with "10" and use both at the same time to get a little bit of an edge, but the 20 seems most important, to me anyway.

    I'll warn you....use it on a 100 tick chart only. It's not for minutes or any other tick time frame. Choppy markets still give it a fit, but it will show you the way on nice, longer term (10-20 minute) moves.

    Send your checks, money orders and cash directly to me. {}


    ***************************************************

    Inputs: TC(upticks-downticks);
    Plot1(5);
    Plot2(10);
    Plot3(15);
    Plot4(20);

    If average(tc,20) <= -12 then setplotcolor(1,red);
    If average(tc,20) <= -12 then setplotcolor(2,black);
    If average(tc,20) <= -12 then setplotcolor(3,black);
    If average(tc,20) <= -12 then setplotcolor(4,black);

    If average(tc,20) > -12 and average(tc,20) <= -6 then setplotcolor(1,red);
    If average(tc,20) > -12 and average(tc,20) <= -6 then setplotcolor(2,red);
    If average(tc,20) > -12 and average(tc,20) <= -6 then setplotcolor(3,black);
    If average(tc,20) > -12 and average(tc,20) <= -6 then setplotcolor(4,black);

    If average(tc,20) > -6 and average(tc,20) <= 0 then setplotcolor(1,yellow);
    If average(tc,20) > -6 and average(tc,20) <= 0 then setplotcolor(2,yellow);
    If average(tc,20) > -6 and average(tc,20) <= 0 then setplotcolor(3,black);
    If average(tc,20) > -6 and average(tc,20) <= 0 then setplotcolor(4,black);

    If average(tc,20) > 0 and average(tc,20) <= 6 then setplotcolor(1,yellow);
    If average(tc,20) > 0 and average(tc,20) <= 6 then setplotcolor(2,yellow);
    If average(tc,20) > 0 and average(tc,20) <= 6 then setplotcolor(3,yellow);
    If average(tc,20) > 0 and average(tc,20) <= 6 then setplotcolor(4,black);

    If average(tc,20) > 6 and average(tc,20) <= 12 then setplotcolor(1,green);
    If average(tc,20) > 6 and average(tc,20) <= 12 then setplotcolor(2,green);
    If average(tc,20) > 6 and average(tc,20) <= 12 then setplotcolor(3,green);
    If average(tc,20) > 6 and average(tc,20) <= 12 then setplotcolor(4,black);


    If average(tc,20) > 12 then setplotcolor(1,green);
    If average(tc,20) > 12 then setplotcolor(2,green);
    If average(tc,20) > 12 then setplotcolor(3,green);
    If average(tc,20) > 12 then setplotcolor(4,green);

    **************************************************
    Please do NOT forward this to anyone else. It's mine. I share it here only.

    It's quite simple and quite effective.
     
  2. I might be mistaken but if you plot first and set the color second then I think the new color doesn't take affect until the next bar is plotted. I always code color changes before the plot statements so I can't confirm your way lags by a bar but in theory it sure looks like it would.

    On second thought if update every tick is enabled then it only lags by 1 tick.
     
  3. It plots correctly. try it ...you'll be amazed.