Stocks & Commodities V. 24:11 (36-44): Sidebar: Algorithm for the Swing Indicator by Giorgos E. Siligardos, Ph.D.

Stocks & Commodities V. 24:11 (36-44): Sidebar: Algorithm for the Swing Indicator by Giorgos E. Siligardos, Ph.D.
Item# \V24\C11\208sb1.pdf
$2.95
Availability: In Stock

Product Description

Stocks & Commodities V. 24:11 (36-44): Sidebar: Algorithm for the Swing Indicator by Giorgos E. Siligardos, Ph.D.

The Pascal-like pseudolanguage here consists of two parts and gives the basic steps to construct the swing indicator (SI) using parameter threshold %. We consider the closing price of a trading vehicle an array of N values: CLOSE[1], CLOSE[2], ……CLOSE[N]. The first part of the code constructs the PIVOT array (PIVOT[1],PIVOT[2], ….PIVOT[N]), which carries information about the peaks and troughs of the SI by assigning “1” to cases where a swing high or low has occurred and zero otherwise.

The second part of the code constructs the SI array ( SI[1], SI[2], …SI[N] ) by getting the information from the PIVOT array and connecting the pivots using line segments.




FOR THOSE ORDERING ARTICLES SEPARATELY:
*Note: $2.95-$5.95 Articles are in PDF format only. No hard copy of the article(s) will be delivered. During checkout, click the "Download Now" button to immediately receive your article(s) purchase. STOCKS & COMMODITIES magazine is delivered via mail. After paying for your subscription at store.traders.com users can view the S&C Digital Edition in the subscriber's section on Traders.com.




Take Control of Your Trading.
Professional Traders' Starter Kit
All these items shown below only $299.99!
  • 5-year subscription to Technical Analysis of STOCKS & COMMODITIES, The Traders' magazine. (Shipping outside the US is extra. Washington state addresses require sales tax based on your locale.)
  • 5 year access to S&C Archive
  • 5 year access to S&C Digital Edition
  • 5-year subscription to Traders.com Advantage.
  • 5-year subscription to Working Money.
  • Free book selection.
  • Click Here to Order