indicator CDC action zone V2

Home Forums CDC Forums General Discussion — The Living Room indicator CDC action zone V2

Viewing 6 reply threads
  • Author
    Posts
    • #35699
      TW
      Participant

      รบกวนขอdownload indicator  “CDC action zone v2″ที่มีในTrading view ทีใช้สำหรับ Amibrokerด้วยครับ
      ขอบคุณครับ

    • #35700
      dreamscat
      Keymaster

      ยังไม่ได้แปลงให้เลยครับ ขอเวลาแปลงสักครู่นะครับท่าน

    • #35703
      dreamscat
      Keymaster

      การใช้โปรแกรม AMIBROKER เบื้องต้น Part 6.5 (การนำ SYSTEM ทีมีอยู่แล้วมาใส่ใน AMIBROKER) โดยอาจารย์พิริยะ ครับ

      // CDC ActionZone V2 29 Sep 2016
      // CDC ActionZone is based on a simple 2MA and is most suitable for use with medium volatility market
      // 11 Nov 2016 : Ported to Trading View with minor UI enhancement
      // from TradingView by Aj Piriya33 + convert to Amibroker by Dreamscat
      
      src = (O+H+L+C)/4;
      prd1 = 12;
      prd2 = 26;
      AP = ema(src,2);
      Fast = ema(AP,prd1);
      Slow = ema(AP,prd2);
      
      Bullish = Fast>Slow;
      Bearish = Fast<Slow;
      
      Green = Bullish and AP>Fast;
      Red = Bearish and AP<Fast;
      Yellow = Bullish and AP<Fast;
      Blue = Bearish and AP>Fast;
      
      Buy = Bullish and Ref(Bearish,-1);
      Sell = Bearish and Ref(Bullish,-1);
      
      //Plot
      Plot(Fast,"Fast",colorRed);
      Plot(Slow,"Slow",colorBlue,styleThick);
      BarColor = IIf(Green,colorLime,IIf(Red,colorRed,IIf(yellow,colorYellow,IIf(blue,colorlightBlue,colorWhite))));
      CloudColor = IIf(Green,colordarkgreen,IIf(Red,colordarkRed,IIf(yellow,colordarkYellow,IIf(blue,colordarkBlue,colorGrey50))));
      Plot(C,"Price",BarColor,styleCandle);
      PlotOHLC(Fast,Fast,Slow,Slow,"",CloudColor,styleCloud);

      • This reply was modified 3 years, 11 months ago by dreamscat.
      • This reply was modified 3 years, 11 months ago by dreamscat.
      • This reply was modified 3 years, 11 months ago by dreamscat.
    • #35712
      TW
      Participant

      ตามกราฟCDC action zone V2 จะมีแถบริบบิ้นสีที่ฐานด้านล่างกราฟว่ถ้าแดงขายและเขียวซื้อตามที่คุณลุงเคยเปิดให้ดูครับ แต่สูตรตามอีเมล์นี้ไม่มีแถบสีแสดงครับ รบกวนช่วยพิจารณาสูตรเพื่อโชว์แถบสีให้ด้วยครับ
      ขอบคุณครับ

      • #35713
        dreamscat
        Keymaster

        ขออนุญาตดัดแปลงให้สีของ cloud เป็นสีเหมือนแถบริบบิ้นใน metastock แทนนะครับ เนื่องจากเขียนสูตรแสดงแถบริบบิ้นเหมือนใน metastock บน amibroker ไม่เป็นครับ (ดังนั้นสูตรนี้สีของ cloud จะไม่เหมือนกับสูตรใน tradingview แบบดั้งเดิมนะครับ)

        // CDC ActionZone V2 29 Sep 2016
        // CDC ActionZone is based on a simple 2MA and is most suitable for use with medium volatility market
        // 11 Nov 2016 : Ported to Trading View with minor UI enhancement
        // from TradingView by Aj Piriya33 + convert to Amibroker by Dreamscat (V2.1 cloud color = Fast & Slow) - not original !!!
        
        src = (O+H+L+C)/4;
        prd1 = 12;
        prd2 = 26;
        AP = ema(src,2);
        Fast = ema(AP,prd1);
        Slow = ema(AP,prd2);
        
        Bullish = Fast>Slow;
        Bearish = Fast<Slow;
        
        Green = Bullish and AP>Fast;
        Red = Bearish and AP<Fast;
        Yellow = Bullish and AP<Fast;
        Blue = Bearish and AP>Fast;
        
        Buy = Bullish and Ref(Bearish,-1);
        Sell = Bearish and Ref(Bullish,-1);
        
        //Plot
        Plot(Fast,"Fast",colorRed);
        Plot(Slow,"Slow",colorBlue,styleThick);
        BarColor = IIf(Green,colorLime,IIf(Red,colorRed,IIf(yellow,colorYellow,IIf(blue,colorlightBlue,colorWhite))));
        CloudColor = IIf(Bullish,colordarkgreen,IIf(Bearish,colordarkRed,colorGrey50));
        Plot(C,"Price",BarColor,styleCandle);
        PlotOHLC(Fast,Fast,Slow,Slow,"",CloudColor,styleCloud);

        • This reply was modified 3 years, 11 months ago by dreamscat.
    • #35728
      TW
      Participant

      กรณีแท่งเทียนเป็นสีแดงและแถบพื้นที่เป็นสีแดงเป็นช่วงขายและกรณีสีเขียวเป็นช่วงซื้อ ในส่วนที่แท่งเทียนเป็นสีน้ำเงินและแถบเป็นสีเท่านั้นเป็นช่วยให้รอสัญญาโดยไม่ซื้อหรือขายใช่ไหมครับ
      ขอบคุณครับ

    • #35759
      TW
      Participant

      กรณีแท่งเทียนเป็นสีน้ำเงินหรือสีเหลือความหมายคือเป็นช่วยให้รอสัญญาโดยไม่ซื้อหรือขายใช่ไหมครับ
      ขอบคุณครับ

    • #35760
      TW
      Participant

      กรณีแท่งเทียนเป็นสีน้ำเงินหรือสีเหลือความหมายคือเป็นช่วยให้รอสัญญาโดยไม่ซื้อหรือขายใช่ไหมครับ ขอความรู้ด้วยครับ
      ขอบคุณครับ

Viewing 6 reply threads
  • You must be logged in to reply to this topic.