The ACD Method

Discussion in 'Technical Analysis' started by sbrowne126, Jul 16, 2009.

  1. himself

    himself

    MAV-
    Looking at your A lines for this year I notice that they are closer together than the ATR of any of the last 10 years. Why is this? Do you forsee that this year will be an unusually narrow range?
     
    #12851     Feb 23, 2017
  2. Maverick74

    Maverick74

    We had a very tight OR this year. That should portend a very big move this year.
     
    #12852     Feb 23, 2017
  3. Any one watching the Yen today?

    The lights came on correlation went to 1 and all the bugs and cockroaches scurried off in the same direction :)
     
    #12853     Feb 24, 2017
  4. Maverick74

    Maverick74

    The USD/JPY has been a 100 times better market short then the ES. Nobody is talking about it. Seems like I mentioned something about quiet trades before on here....hmm. :)
     
    #12854     Feb 24, 2017
    redbaron1981 likes this.
  5. We must have the same make of binoculars....
     
    #12855     Feb 24, 2017
  6. anyone have a simple chart script that will automatically mark the ACD levels ?
     
    #12856     Feb 26, 2017
  7. Which platform are you using?
     
    #12857     Feb 26, 2017
  8. TT and ibkr for execution I have used investor rt and tradestation for charting.
     
    #12858     Feb 26, 2017
  9. If you Pm me your email address I can send the tradestation indicator code to you.
     
    #12859     Feb 27, 2017
  10. I posted a link to an ACD indicator my father and I coded above on Trading View. It's free (requires registration) and has data on a lot of different markets.

    I also have ACD indicators for ThinkOrSwim:

    Daily:
    input OR_Start_Time = 0400;
    input OR_End_Time = 0530;
    input ATR_Multiplier=0.1;

    def OR_Start_Seconds = SecondsFromTime(OR_Start_Time);

    def secondsFromOpen = SecondsFromTime(OR_Start_Time);
    def secondsFromClose = SecondsTillTime(OR_End_Time);
    def agg = AggregationPeriod.FIFTEEN_MIN;


    def H = high(period = agg);
    def L = low(period = agg);
    def H2;
    if secondsFromOpen >= 0 and secondsFromClose > 0 {
    H2 = H;
    }
    else
    {
    H2 = H2[1];
    }
    plot H1 = H2;

    H1.SetLineWeight(3);
    H1.SetStyle(Curve.SHORT_DASH);
    H1.SetDefaultColor(Color.BLUE);
    def L2;
    if secondsFromOpen >= 0 and secondsFromClose > 0 {
    L2 = L;
    } else {
    L2 = L2[1];
    }
    plot L1 = L2;
    L1.SetLineWeight(3);
    L1.SetStyle(Curve.SHORT_DASH);
    L1.SetDefaultColor(Color.RED);

    def atr10 = Average(TrueRange(high(period = "day"), close(period = "day"), low(period = "day")), 10);
    def ATR;
    if secondsFromOpen >= 0 and secondsFromClose > 0 {
    ATR = atr10;
    } else {
    ATR = ATR[1];
    }
    plot DailyAUp = H1 + (ATR * ATR_Multiplier);
    DailyAup.SetDefaultColor(Color.Green);
    plot DailyADn = L1 - (ATR *ATR_Multiplier);
    DailyADn.SetDefaultColor(Color.Yellow);

    Weekly:
    input ATR_Length = 10;
    input ATR_Multiplier=0.1;

    def date=GetYYYYMMDD();
    def H = High(period="day");
    def L= Low(period="day");
    def H2;
    if GetDayOfWeek(date)==0 or GetDayOfWeek(date)==1 {
    H2=H;
    } else {
    H2=H2[1];
    }
    plot H1 = H2;
    H1.SetLineWeight(3);
    H1.SetStyle(Curve.SHORT_DASH);
    H1.SetDefaultColor(Color.BLUE);
    def L2;
    if GetDayOfWeek(date)==0 or GetDayOfWeek(date)==1 {
    L2=L;
    } else {
    L2=L2[1];
    }
    plot L1 = L2;
    L1.SetLineWeight(3);
    L1.SetStyle(Curve.SHORT_DASH);
    L1.SetDefaultColor(Color.Red);
    def atr10 = Average(TrueRange(high(period = "week"), close(period = "week"), low(period = "week")), ATR_Length);
    plot Weekly_AUp = H2 + (atr10 * ATR_Multiplier);
    Weekly_Aup.SetDefaultColor(Color.Green);
    plot Weekly_ADown= L2 - (atr10 * ATR_Multiplier);
    Weekly_ADown.SetDefaultColor(Color.Yellow);

    Monthly:
    input ATR_Length = 10;
    input ATR_Multiplier = 0.1;

    #plot H = high(period = "day");
    #plot L = low(period = "day");
    def H = high(period = "day");
    def L = low(period = "day");

    def date = GetYYYYMMDD();
    def H2;
    if GetMonth() != GetMonth()[1] {
    H2=H;
    }
    else
    {
    H2 = H2[1];
    }
    plot H1 = H2;
    H1.SetLineWeight(3);
    H1.SetStyle(Curve.SHORT_DASH);
    H1.SetDefaultColor(Color.BLUE);
    def L2;
    if GetMonth() != GetMonth()[1]
    {
    L2 = L;
    } else {
    L2 = L2[1];
    }
    plot L1 = L2;
    L1.SetLineWeight(3);
    L1.SetStyle(Curve.SHORT_DASH);
    L1.SetDefaultColor(Color.RED);
    def atr10 = Average(TrueRange(high(period = "week"), close(period = "week"), low(period = "week")), ATR_Length);
    def ATR;
    if GetDayOfMonth(date) == 1 {
    ATR = atr10;
    } else if GetDayOfMonth(date) == 2 {
    ATR = atr10;
    } else if GetDayOfMonth(date) == 3 {
    ATR = atr10;
    }

    else
    {
    ATR = ATR[1];
    }
    plot Weekly_AUp = H2 + (ATR * ATR_Multiplier);
    Weekly_AUp.SetDefaultColor(Color.GREEN);
    plot Weekly_ADown = L2 - (ATR * ATR_Multiplier);
    Weekly_ADown.SetDefaultColor(Color.YELLOW);
     
    #12860     Feb 27, 2017
    sparkyunited and deltastrike like this.