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

Re: Gann Swing Chart



PureBytes Links

Trading Reference Links

>Date: Fri, 04 Jan 1980 12:06:34 -0800
>Reply-To: realtraders@xxxxxxxxxxxxxxxxxxx
>Sender: owner-realtraders@xxxxxxxxxxxxxxxxxxx
>From: "schong@xxxxxxxxxxxxxxxxxx" <schong@xxxxxxxxxxxxxxxxxx>
>To: RealTraders Discussion Group <realtraders@xxxxxxxxxxxxxx>
>Subject: Re: Gann Swing Chart
>X-To: realtraders@xxxxxxxxxxxxxxxxxxx
>X-Mailer: Mozilla 3.01Gold (Win16; I)
>
>Daniel wrote:
>> 
>> I noticed while having the indicator running in real time intraday, with
>> 9 tick bars, it formed more jagged lines, that is, it followed the price
>> action pretty closely more like a moving average with a fairly short
>> period, and the lines did not filter out all the retracements.  I had
>> Filter set to 2.  However, if you open up the chart at the end of the
>> day, after all the data is stored, the indicator forms nice straight
>> lines between the swing peaks and filters out the retracements.
>> 
>> Without analyzing the code in great detail - I am a Easy Language novice
>> -  any ideas out there as to why it works this way?
>> 
>> Daniel
>
>
>
>Daniel,
>
>I have a suspcision that TradeStation realtime does not 
>replot everything in realtime. It only sends the last
>piece of data to the program. That's is probably the
>reason why you are seeing different things in realtime
>as compared to end of day. 
>
>To fix the problem, if you would forego the last 
>piece of action, remove all the code between 
>
>  if((date = lastcalcdate) and (time = lastcalctime)) then
>     begin
>      .... 
>      ....
>     end;
>
>inclusive.
>
>Please remember that if this is done the direction of
>the swing is always lagging. So if the swing
>chart is pointing upwards then the trend is down and
>if the swing chart is pointing downwards the swing is
>up.
>
>Or alternately, you have to find a way to force
>tradestation to redraw with the whole data.
>Maybe switching compression to daily and back again 
>would help?
>
>
>
>