For the experts of Metastock

Discussion in 'Technical Analysis' started by Shax, Jun 12, 2021.

  1. Shax

    Shax

    Hi,

    in this site:

    https://www.wisestocktrader.com/ind...rt-and-resistance-by-mel-widner-for-metastock

    there is the Metastock formula of the indicator: Automatic Support and Resistance by Mel Widner, of which I have imported the relative
    file: MS90FORM.DTA, but when I insert in the chart the various indicators one by one (with the exception of R1 which is inserted correctly in the chart),
    with the other indicators: R2, R3,.....S1, S2, ..etc..., the window appears: Scaling Options For...where I confirm: Display new scale on left,
    and the various indicators remain in the upper part above the chart (see image 1), instead of appearing as in the example on the site (see image 2):
    If someone can solve the problem....thanks a lot.

    [​IMG]

    [​IMG]
     
    salenanolen likes this.
  2. Shax

    Shax

    I report here for convenience the various formulas of the Indicators to be imported one by one in Metastock;
    the indicators S1 through S6 and R1 through R6 should be plotted as points and not as a continuous line;
    the Indicators: WSO and WRO should be inserted in a new window.

    -----------------------------------------------------------------------
    Indicators:

    S1:IF(Ref(LOW,-4)=LLV(LOW,9),Ref(LOW,-4),PREVIOUS)
    S2:IF(Fml("S1")=Ref(Fml("S1"),-1),PREVIOUS,Ref(Fml("S1"),-1))
    S3:IF(Fml("S1")=Ref(Fml("S1"),-1),PREVIOUS,Ref(Fml("S2"),-1))
    S4:IF(Fml("S1")=Ref(Fml("S1"),-1),PREVIOUS,Ref(Fml("S3"),-1))
    S5:IF(Fml("S1")=Ref(Fml("S1"),-1),PREVIOUS,Ref(Fml("S4"),-1))
    S6:IF(Fml("S1")=Ref(Fml("S1"),-1),PREVIOUS,Ref(Fml("S5"),-1))

    -------------------------------------------------------------------------

    R1:IF(Ref(HIGH,-4)=HHV(HIGH,9),Ref(HIGH,-4),PREVIOUS)
    R2:IF(Fml("R1")=Ref(Fml("R1"),-1),PREVIOUS,Ref(Fml("R1"),-1))
    R3:IF(Fml("R1")=Ref(Fml("R1"),-1),PREVIOUS,Ref(Fml("R2"),-1))
    R4:IF(Fml("R1")=Ref(Fml("R1"),-1),PREVIOUS,Ref(Fml("R3"),-1))
    R5:IF(Fml("R1")=Ref(Fml("R1"),-1),PREVIOUS,Ref(Fml("R4"),-1))
    R6:IF(Fml("R1")=Ref(Fml("R1"),-1),PREVIOUS,Ref(Fml("R5"),-1))

    --------------------------------------------------------------------------

    WSO:
    100*(1-(
    Int(Fml("S1")/CLOSE) + Int(Fml("S2")/CLOSE) +
    Int(Fml("S3")/CLOSE) + Int(Fml("S4")/CLOSE) +
    Int(Fml("S5")/CLOSE) + Int(Fml("S6")/CLOSE)) / 6)

    ----------------------------------------------------------------------------

    WRO:
    100*(1-(
    Int(Fml("R1")/CLOSE) + Int(Fml("R2")/CLOSE) +
    Int(Fml("R3")/CLOSE) + Int(Fml("R4")/CLOSE) +
    Int(Fml("R5")/CLOSE) + Int(Fml("R6")/CLOSE)) / 6)

    -----------------------------------------------------------------------------