Swingstat AvePercent

Optuma Forums Optuma Scripting Swingstat AvePercent

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #70247
    Krishen
    • Topics: 6
    • Replies: 3
    • Posts: 9

    Not sure what I’m doing wrong here:
    Screenshot_20230127_103042

    #70255
    Matthew
    • Topics: 5
    • Replies: 666
    • Posts: 671

    Hi,

    I think the value returned by the script is already a %, by adjusting the Chart Elements properties to % it is multiplying the result by 100 again.  In the script, try dividing it by 100 there, this should bring the result back to the expected range.

     

    #70537
    Krishen
    • Topics: 6
    • Replies: 3
    • Posts: 9

    That doesn’t seem to work: 1.105 can’t be the average percent change of the QQQ for the Volatility Swing indicator on the daily

    #70549
    Darren
    • Topics: 73
    • Replies: 937
    • Posts: 1,010

    Hi Krishen,

    The AvgPercent option is calculating the average retracement of the swings, not the percent change. If you change the Swing Count from 10 to 1 you will see it matches the P/R label in the Gann Swing Overlay chart. You could use AvgSwing instead but note this is in dollars not percent so I’ll log a request to make the average change percent to be added to the SwingStat output for version 2.2.

    Capture

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest