Announcement

Collapse
No announcement yet.

Williams AD with SMA

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

  • Williams AD with SMA

    Can someone assist me in script to plot Williams AD with a SMA. Unfortuntaley I've had no luck finding anything in the forum or file share. I have attempted myself using the EFS wizard with no luck.

    as i,m not that savy on the programming, I would appreciate any help.
    Thanks

    /{{EFSWizard_Declarations
    var vAccDist = new AccDistStudy();
    var vSMA57 = new MAStudy(57, 0, "Close", MAStudy.SIMPLE);
    var vLastAlert = -1

    {EFSWizard_PreMain
    setPriceStudy(false);
    setStudyTitle("");
    setCursorLabelName("?", 0);
    setDefaultBarStyle(PS_SOLID, 0);
    setDefaultBarFgColor(Color.red, 0);
    setDefaultBarThickness(1, 0);
    setPlotType(PLOTTYPE_LINE, 0);

  • #2
    Re: Williams AD with SMA

    PT
    If you want to use the Formula Wizard to write your script [which is possible in the case of the indicator you are trying to develop] then you may want to go through the Formula Wizard Guide which is available here in the Help Guides and Tutorials folder of the EFS KnowledgeBase (you may want to bookmark this link BTW)
    In the Formula Wizard Guide you will find a detailed explanation of how to create a study on study in the Example 1. That example shows how to create an MA of RSI and you can just follow those steps replacing the RSI study with the AccDist study.
    If you still have problems after that post your entire code [or attach the efs to your post] and someone will try to assist you further
    Alex


    Originally posted by PT
    Can someone assist me in script to plot Williams AD with a SMA. Unfortuntaley I've had no luck finding anything in the forum or file share. I have attempted myself using the EFS wizard with no luck.

    as i,m not that savy on the programming, I would appreciate any help.
    Thanks

    /{{EFSWizard_Declarations
    var vAccDist = new AccDistStudy();
    var vSMA57 = new MAStudy(57, 0, "Close", MAStudy.SIMPLE);
    var vLastAlert = -1

    {EFSWizard_PreMain
    setPriceStudy(false);
    setStudyTitle("");
    setCursorLabelName("?", 0);
    setDefaultBarStyle(PS_SOLID, 0);
    setDefaultBarFgColor(Color.red, 0);
    setDefaultBarThickness(1, 0);
    setPlotType(PLOTTYPE_LINE, 0);

    Comment


    • #3
      Thanks Alexis, worked out fine.

      Comment


      • #4
        PT
        You are most welcome and I am glad to hear that worked out fine
        Alex


        Originally posted by PT
        Thanks Alexis, worked out fine.

        Comment


        • #5
          MA on AD

          Alexis,

          i have followed your suggested process below and have completed the MA on AD indicator and works well in intra day periods. Unfortunately I'm having no success when i want it to plot daily or weekly. Can you help?
          thanks
          P

          Comment


          • #6
            Re: MA on AD

            PT
            Are you saying that the efs is not returning anything when you are running it on a daily or weekly chart?
            Post the efs as you have it so that I or someone else can run it to try to duplicate the issue you are seeing.
            Alex


            Originally posted by PT
            Alexis,

            i have followed your suggested process below and have completed the MA on AD indicator and works well in intra day periods. Unfortunately I'm having no success when i want it to plot daily or weekly. Can you help?
            thanks
            P

            Comment

            Working...
            X