Hello and welcome to our community! Is this your first visit?
Trang 1 của 2 12 CuốiCuối
Kết quả 1 đến 10 của 20
  1. #1
    Guest

  2. #2
    Ngày tham gia
    Nov 2020
    Đang ở
    https://t.me/pump_upp
    Bài viết
    4
    Giới thiệu với các bác công thức của RMO Trade Mode trong AmiBroker nè:


    //////
    _SECTION_BEGIN("RMO");
    SwingTrd1 = 100 * (Close - ((MA(C,2)+
    MA(MA(C,2),2)+
    MA(MA(MA(C,2),2),2) +
    MA(MA(MA(MA(C,2),2),2),2) +
    MA(MA(MA(MA(MA(C,2),2),2),2),2) +
    MA(MA(MA(MA(MA(MA(C,2),2),2),2),2),2) +
    MA(MA(MA(MA(MA(MA(MA(C,2),2),2),2),2),2),2)+
    MA(MA(MA(MA(MA(MA(MA(MA(C,2),2),2),2),2),2),2),2)+
    MA(MA(MA(MA(MA(MA(MA(MA(MA(C,2),2),2),2),2),2),2), 2),2)+
    MA(MA(MA(MA(MA(MA(MA(MA(MA(MA(C,2),2),2),2),2),2), 2),2),2),2))/10))/(HHV(C,10)-LLV(C,10));
    SwingTrd2=EMA(SwingTrd1,30);
    SwingTrd3=EMA(SwingTrd2,30);
    RMO= EMA(SwingTrd1,81);
    Buy=Cross(SwingTrd2,SwingTrd3);
    Sell=Cross(SwingTrd3,SwingTrd2);
    Bull_Trend=EMA(SwingTrd1,81)>0;
    Bear_Trend=EMA(SwingTrd1,81)<0;
    Ribbon_kol=IIf(Bull_Trend,colorGreen, IIf(Bear_Trend,colorRed, colorBlack));
    Plot(4, "ribbon", Ribbon_kol, styleOwnScale|styleArea|styleNoLabel, -0.5,100);
    Impulse_UP= EMA(SwingTrd1,30) > 0;
    Impulse_Down= EMA(SwingTrd1,81) < 0;
    bar_kol=IIf(impulse_UP, colorBlue, IIf(impulse_Down, colorRed,IIf(Bull_Trend, colorRed, colorBlue)));
    Plot(Close,"Close",bar_kol,styleBar | styleThick );
    shape = Buy * shapeUpArrow + Sell * shapeDownArrow;
    PlotShapes( shape, IIf( Buy, colorBlue, colorRed ),0, IIf( Buy, Low, High ) );
    _SECTION_END();
    /////

  3. #3
    mrgakute1987 Guest
    Sau đây là code của PatternExplorer:



    //|------------------------------------------------------------------
    //|SECTION 21 - default buy, sell, short and cover rules. They are added to the PatternExplorer signals.
    //|------------------------------------------------------------------
    def_Buy = 1;
    def_Sell = 1;
    def_Short = 1;
    def_Cover = 1;
    //|------------------------------------------------------------------


    //|------------------------------------------------------------------
    //|SECTION 22 - Use Param from Chart
    //|------------------------------------------------------------------
    // NOT all parameters are possible. Currently only sensitivity is possible.
    def_UseFromChart = 1;
    //|------------------------------------------------------------------


    //-------------------------------------------------------------------------------------------------------------------------------------
    //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 !

  4. #4
    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 !

  5. #5
    imported_duonua1s Guest
    Mọi người lưu bý điểm khác biệt cơ bản giữa Explore và Indicator nhé:

    - Explore đóng vai trò như bộ lọc đầu vào. Sau khi lọc xong chúng ta vẫn phải tét lại bằng các công cụ PTKT khác

    - Indicator là công cụ PT cụ thể nhưng cũng có thể được tích hợp và Explore để tăng tính hiệu quả và giảm bớt công sức tét

  6. #6
    Ngày tham gia
    Dec 2022
    Bài viết
    98
    Hệ thống của bác hơi bị cũ rồi bác ạ. Em có cái này còn ác chiến và hiện đại hơn nhiều

    (lưu ý là hơi khỏ sử dụng nhé [IMG]images/smilies/biggrin.gif[/IMG][IMG]images/smilies/biggrin.gif[/IMG][IMG]images/smilies/biggrin.gif[/IMG][IMG]images/smilies/biggrin.gif[/IMG])

    /// AFBI Channel System ///
    FixV=6;
    x=MA(((H+L)/2)+(O-C),5);
    i=DEMA(x,5);
    j=(x+StDev(x,FixV))+ATR(2)/1.5;
    k=(x-StDev(x,FixV))-ATR(2)/1;
    color=IIf(BarsSince(Cross(k,C))>
    BarsSince(Cross(C,j)), colorBrightGreen,colorRed);
    Plot(C,"",Color,64);
    Plot(J,"J",colorGreen);
    Plot(K,"K",colorDarkRed);
    Title=Name()+" "+Date()+" "+EncodeColor(colorSkyblue)+" AFBI Channel System "+EncodeColor(colorYellow)+" Vol="+NumToStr(Volume,1.0)+" "+" O="+Open+" H="+HHV(H,1)+" L="+LLV(L,1)+"
    Close="+ Close+""+"("+numtostr((Close-ref(C,-1))/ref(c,-1)*100,1.2)+" %)";

  7. #7
    myphamuc93 Guest
    Mình mới tìm được một hệ thống trade tương đối lạ này. Các bác thử nhé:

    Chaloke Simple Trailing Stop

    ///// Chaloke Simple Trailing Stop /////

    Prd1=Param("ATR Period 1-20",4,1,20,1);//{Default = 4 Because most traders use 5}
    Prd2=Param("LookBack Period 1-20",11,1,20,1);//{Default = 11 Because most traders use 10}

    //{Green} {Start Long position when Close>Green}
    Green=HHV(LLV(L,Prd1)+ATR(Prd1),Prd2);

    //{Red} {Stop loss when Close<Red}
    RED=LLV(HHV(H,Prd1)-ATR(Prd1),Prd2);

    Color=IIf(C>Green ,colorBrightGreen,IIf(C < RED,colorRed,colorBlue));


    Plot(Green,"Green",colorBrightGreen,styleLine);
    Plot(RED,"Red",colorRed,styleLine);
    Plot(C,"Chaloke Simple Trailing Stop System",Color,64);


    Plot(LLV(HHV(H,5)-ATR(5),6),"",colorBlack);
    Plot(LLV(HHV(H,5)-ATR(5),5),"",colorBlack);
    Plot(LLV(HHV(H,5)-ATR(5),4),"",colorBlack);
    Plot(LLV(HHV(H,5)-ATR(5),3),"",colorBlack);

  8. #8
    hoangvo97 Guest
    Em thì không hoành tráng như các bác. Có đoạn code này khá đơn giản nhưng thấy khá hữu ích

    Các bác xài thử rùi cho ý kiến đóng góp cho em nó [IMG]images/smilies/smile.gif[/IMG][IMG]images/smilies/smile.gif[/IMG][IMG]images/smilies/smile.gif[/IMG][IMG]images/smilies/smile.gif[/IMG]

    weeklyopen = TimeFrameGetPrice("O",inWeekly);
    weeklyhigh = TimeFrameGetPrice("H",inWeekly);
    weeklylow = TimeFrameGetPrice("L",inWeekly);
    weeklyclose = TimeFrameGetPrice("C",inWeekly);

    weeklyOpen = TimeFrameCompress( weeklyOpen, inWeekly );weeklyHigh = TimeFrameCompress( weeklyHigh, inWeekly );weeklyLow = TimeFrameCompress( weeklyLow, inWeekly );weeklyClose = TimeFrameCompress( weeklyClose, inWeekly );

    PlotOHLC(weeklyopen,weeklyhigh,weeklylow,weeklyclo se,"WEEK",colorBlack,styleCandle);

  9. #9
    hoangphuong0689 Guest
    Hệ thống của bác xài được đấy. Tuy nhiên hình như hơi chậm (cỡ BMW thôi). Có cái nào cỡ Ferrari post lên cho anh em khai quan điểm nhãn cái

  10. #10
    hoangphuong0689 Guest
    Các bác dạo này cũng hi-tech ghê nhỉ. Em thì không có nhiều hệ thống phức tạp chỉ có cái này thôi. Các bác xem qua cho ý kiến

    //Chaloke Stochastic///

    x1= StochK(14 ,7 ) ;
    x2= TEMA(x1 ,5 ) ;
    x3= EMA(x2 ,5 ) ;

    Plot(x2, "Chaloke Stochastic" ,colorBlue,4);
    Plot(x3,"",colorRed,1);


 

Các Chủ đề tương tự

  1. Phần mềm Amibroker 6.00.2 | Amibroker 6.0 Full Crack | Hướng dẫn Crack Amibroker 6.0
    Bởi imported_truongtiengka trong diễn đàn Phân tích kỹ thuật AmiBroker
    Trả lời: 5
    Bài viết cuối: 05-09-2017, 01:02 PM
  2. [Video] Những tuyệt chiêu trong Ichimoku
    Bởi ducthangseo trong diễn đàn CLB Chứng khoán
    Trả lời: 0
    Bài viết cuối: 31-10-2015, 05:40 AM
  3. Tuyệt chiêu của bố!
    Bởi diepminhchau113 trong diễn đàn CHỨNG KHOÁN CƯỜI
    Trả lời: 1
    Bài viết cuối: 30-05-2014, 04:50 AM
  4. Tuyệt chiêu phái Kền Kền: Chụp dao rơi - Vietstock Blog
    Bởi ductuan1109 trong diễn đàn CLB Chứng khoán
    Trả lời: 10
    Bài viết cuối: 07-11-2012, 06:55 AM
  5. Tuyệt chiêu trong MetaStock
    Bởi imported_diemktr trong diễn đàn Phân tích kỹ thuật MetaStock
    Trả lời: 12
    Bài viết cuối: 03-03-2011, 09:53 AM

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
  •