in Search

Plotting MA on a lower time frame and swing trend

Last post 10-22-2007, 8:49 by Branden Russell. 1 replies.
Sort Posts: Previous Next
  •  10-20-2007, 22:07 25576

    Plotting MA on a lower time frame and swing trend

    Hi,

    1) Is there a dll or coding where moving average of 5 min or other time frame be plotted on a 1 min chart?

    2) How to code a indicator of 2, 3 or 5 day swing trend filter on a 1 min intraday chart? Eg for a 3 days swing, if the current intraday price is lower than the high of the previous 3 days, the trend is down. A 1, 0 or -1 value on the indicator for the trend.

    Flexi

  •  10-22-2007, 8:49 25578 in reply to 25576

    Re: Plotting MA on a lower time frame and swing trend

    You can pass data into your DLL with the MetaStock Formula Language when you call your DLL. That'd be where you pass in the 1 minute date from a 1 minute chart.
    Then you can use the MSFL (MetaStock File Library) to access a 5 minute data file and read the data from that to perform your calculations.
    You must pass back your results as if it is a one minute chart. Each data pont will be plotted every one minute.


    Equis International, Inc.
    A Reuters Company
    90 S. 400 W Suite 620
    SLC, UT 84101
View as RSS news feed in XML