Reply To: Percent Swing – Script to Show Highs and Lows on Chart

Optuma Forums Optuma Scripting Percent Swing – Script to Show Highs and Lows on Chart Reply To: Percent Swing – Script to Show Highs and Lows on Chart

#66883
Jonathan
  • Topics: 1
  • Replies: 2
  • Posts: 3

Hi Darren,
Thankyou, this all worked perfectly.

One final question:  Is there a way to change the basis of calculation for the Percent Swing Highs vs Lows?

A typical Percent Swing Chart (set at 10%) will use 10% of the low price for the minimum swing up, and 10% of the high price for the minimum swing down.  In this normal scenario, for swings that are equal in terms of %, the dollar values of those swings is less for the Swing Down than Swing Up.

Is it possible to have the Swing Down calculated based on 10% of the lowest price in the swing (rather than starting high price)?  That way the swing up and swing down would be using the same basis for calculation (in terms of actual dollar movements).

Cheers,

Jon

Pin It on Pinterest