Announcement

Collapse
No announcement yet.

Plot the Price Slope

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Plot the Price Slope

    How can i plot the price slope of the previous x bars ( lets say 15), in a histogram or line plot

    Slope being defined as Highest high of the last x bars minus the lowest low of the last x bars, divided by x bars, to be updated each bar

    ????????????

    Phil

  • #2
    Have you tried looking in the fileshare area and performing a text search? This is an excellent way to get started. Find a script that is close to what you want, and modify it to suit your needs. This accomplishes two things.

    First, 90% of the work is already done for you.

    Second, modifying the efs is an excellent way to learn.

    I went ahead and did a text search in fileshare here is the link. There are a number of files in there that perform regression analysis that you can modify.

    If you start in this manner, and then run into trouble, post another request for help. The people on the board like helping people who are trying to help themselves...

    Comment

    Working...
    X