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

RE: Easy Language Help



PureBytes Links

Trading Reference Links

Michael,

Here is a copy of an earlier post from Bob Fulks, showing existing TS
functions that will give you swing points.

Neil


|  -----Original Message-----
|  From: Bob Fulks [mailto:bfulks@xxxxxxxxxxxx]
|  Sent: Wednesday, July 08, 1998 5:23 PM
|  To: Ulrich-Wolfram Kästner
|  Cc: omega-list@xxxxxxxxxx
|  Subject: Re: Is there really another way
|
|
|  >You wrote:
|  >
|  >> We can create a "ShowMe" that will plot points on the
|  highs and lows using
|  >> the SwingHigh and SwingLow functions in TradeStation.
|  >
|  >Please tell me how. I tried hard, but didn´t manage.
|
|
|
|  The following code will do it. Create it as a ShowMe.
|
|  Bob Fulks
|
|  ----------------
|
|  Inputs:  Strength(5);
|
|  Value1 = SwingHigh(1, H, Strength, Strength+1);
|  Value2 = SwingLow (1, L, Strength, Strength+1);
|
|  if Value1 > 0 then Plot1[Strength](Value1, "High");
|  if Value2 > 0 then Plot2[Strength](Value2, "Low");
|
|

|  -----Original Message-----
|  From: Michael Harris [mailto:eagleinc@xxxxxxxxx]
|  Sent: Wednesday, July 22, 1998 7:29 AM
|  To: omega-list@xxxxxxxxxx
|  Subject: Easy Language Help
|
|
|  Can someone please help me with:
|
|  I'm trying to write a SHOWME that will place a mark above every bar
|  whose high is is higher than the highs of the bar before and after it
|
|  and
|
|  place a mark below every bar whose low is is lower than the
|  lows of the
|  bar before and after it.
|
|  This is similar to a swinghigh and swinglow.  Thank you in advance.
|
|  Mike
|