TradeStationメモ: スキップ語の一覧

EasyLanguage では、コードが自然な英語に近くなるようにスキップ語というワードをコード内に含めることができます。 スキップ語は意味を持たないワードとして単純に無視されます。

スキップ語として定義されているワードは以下の通りです。

  • a
  • an
  • at
  • based
  • by
  • does
  • from
  • is
  • of
  • on
  • place
  • than
  • the
  • was

下記のコードは、スキップ語を使って自然な英語に近づけた例です。

if the Close > the High of 1 bar ago then Buy on the next bar at the market

これは下記のように短く書いても同じ意味になります。

if Close > High[1] then Buy next bar market

なお、High[1]High of 1 bar ago を短縮した表現です。