Tuyệt Chiêu AmiBroker
  • Thông báo


    Kết quả 1 đến 20 của 81

    Threaded View

    1. #4
      Ngày tham gia
      Oct 2009
      Bài viết
      1,925
      Được cám ơn 617 lần trong 428 bài gởi

      Mặc định

      Còn đây là đoạn code thứ 2 nè các bạn:


      //-------------------------------------------------------------------------------------------------------------------------------------
      //SECTION 23 - Add custom code before PatternExplorer code.
      //-------------------------------------------------------------------------------------------------------------------------------------
      //The following code allows you to add any custom code to any tool. Just use the Formula names as displayed in the workspace.

      procedure AddCustomCodeBeforePE()
      **
      if(FormulaName == "PE - SI Relative Strength")
      **
      def_Filter = 1;//Filter set to 1 because common filter conditions are mostly not useful in the composite indicators. }
      }
      else
      if(FormulaName == "PE - SI Trend")
      **
      def_Filter = 1;//Filter set to 1 because common filter conditions are mostly not useful in the composite indicators.
      }
      else
      if(FormulaName == "PE - Candlesticks")
      **
      // AddColumn(MA(C, 5) > MA(C, 20), "MA(C, 5) > MA(C, 20)", 1.0);// Example to add a column before all the PatternExplorer columns, only in the Candlestick tool.
      // Plot(PeTaio(), "PeTaio", colorBlue, 1+styleOwnScale, -100, 100);//Example to overlay the TAIO indicator over the Price Chart in the Candlestick tool.
      }
      else
      **
      // do anything
      }
      }
      //-------------------------------------------------------------------------------------------------------------------------------------


      // -------------------------------------------------------------------------------------------------------------------------------------
      // SECTION 24 - Add custom code after PatternExplorer code.
      // -------------------------------------------------------------------------------------------------------------------------------------
      procedure AddCustomCodeAfterPE()
      **
      if(FormulaName == "PE - Alert 1 - Price")
      **
      // AddColumn(H == HHV(H, 20), "H == HHV(H, 20)", 1.0);// Example to add a column after PatternExplorer columns in PE - Alert 1 - Price.
      }
      // AddColumn(RSI() < 30, "RSI() < 30");// Example to add a column after PatternExplorer columns in all tools.
      }
      //-------------------------------------------------------------------------------------------------------------------------------------


      //V3 - End of settings - Caution: Never change or remove this line !

    2. Những thành viên sau đã cám ơn :
      tronghoangfi (04-10-2012)

    Thông tin của chủ đề

    Users Browsing this Thread

    Có 1 thành viên đang xem chủ đề này. (0 thành viên và 1 khách vãng lai)

       

    Similar Threads

    1. Tuyệt chiêu trong MetaStock
      By tigeran in forum Phân tích kỹ thuật MetaStock
      Trả lời: 12
      Bài viết cuối: 03-03-2011, 08:53 AM
    2. Tóm tắt buổi tọa đàm chiều 14.11 tại 59C Nguyễn Đình Chiểu
      By luxubu50 in forum Nhận định Thị trường
      Trả lời: 0
      Bài viết cuối: 15-11-2009, 10:30 AM

    Bookmarks

    Quyền viết bài

    • Bạn Không thể gửi Chủ đề mới
    • Bạn Không thể Gửi trả lời
    • Bạn Không thể Gửi file đính kèm
    • Bạn Không thể Sửa bài viết của mình