in Search

RMO Intraday code (From another forum)

Last post 05-03-2008, 19:25 by billsingh. 2 replies.
Sort Posts: Previous Next
  •  05-01-2008, 11:40 27103

    RMO Intraday code (From another forum)

    Hi All,

           Since RMO does not work less then 15 minutes here is the code I find from another forum

    More code from the same author:

    And here is Intraday Automatic Exploration (set time to 5 Min.) i've coded with audio alerts.
    Gives live signals if you have Real Time Streaming Data -eSignal or Quote.com.
    Pl do not use with PIB/Odin convertors or ***** data (datafetchers et. all) - will waste a good system.

    Following is RMO training link. Please go through the video at least 3 times before using RMO.
    http://www.equis.com/customer/training/rmo/

    Enjoy!


    //RMO EXPLORATIONS - INTRADAY
    _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);
    New_Bullish = IIf(RMO > 0 AND Ref(RMO, -1) <= 0,1,0);
    New_Bearish = IIf(RMO < 0 AND Ref(RMO, -1) >= 0,1,0);
    New_Buy_Arrow = IIf(Cross(SwingTrd2,SwingTrd3),1,0) AND RMO >0;
    New_Sell_Arrow = IIf(Cross(SwingTrd3,SwingTrd2),1,0) AND RMO <0;
    New_Blue_Bar = IIf(Cross(SwingTrd2,0),1,0) AND RMO >0;
    New_Red_Bar = IIf(Cross(0,SwingTrd2),1,0) AND RMO <0;
    Old_Bullish = IIf(RMO > 0 AND Ref(RMO, -1) > 0,1,0);
    Old_Bearish = IIf(RMO < 0 AND Ref(RMO, -1) < 0,1,0);
    New_Buy_Bar = IIf(Ref(New_Buy_Arrow,-1) AND C > Ref(H,-1), 1, 0);
    New_Sell_Bar = IIf(Ref(New_Sell_Arrow,-1) AND C < Ref(L,-1), 1, 0);
    P_Buy = (Ref(RMO,-1) > 0) AND (Ref(New_Blue_Bar,-1) > 0);
    P_Sell= (Ref(RMO,-1) < 0) AND (Ref(New_Red_Bar,-1) > 0);
    CBR = RMO;
    CBS2= SwingTrd2;
    CBS3= SwingTrd3;
    PBR = Ref(RMO,-1);
    PBS2= Ref(SwingTrd2,-1);
    PBS3= Ref(SwingTrd3,-1);
    New3CBuy = ((CBR > 0) AND (CBS2 >0) AND (CBS2 > CBS3) AND ((PBR <= 0) AND (PBS2 <=0) AND (PBS2 <= PBS3)));
    New3CSell= ((CBR < 0) AND (CBS2 <0) AND (CBS2 < CBS3) AND ((PBR >= 0) AND (PBS2 >=0) AND (PBS2 >= PBS3)));
    New_Arrow_New_Bar_Buy = ((CBR > 0) AND (CBS2 >0) AND (CBS2 > CBS3) AND ((PBS2 <=0) AND (PBS2 <= PBS3)));
    New_Arrow_New_Bar_Sell= ((CBR < 0) AND (CBS2 <0) AND (CBS2 < CBS3) AND ((PBS2 >=0) AND (PBS2 >= PBS3)));
    B1=New_Buy_Bar;
    S1=New_Sell_Bar;
    B2=New3CBuy;
    S2=New3CSell;
    B3=New_Buy_Arrow;
    S3=New_Sell_Arrow;
    B4=New_Buy_Arrow;
    S4=New_Sell_Arrow;
    B5=New_Blue_Bar;
    S5=New_Red_Bar;
    B6=New_Bullish;
    S6=New_Bearish;
    Buy= (B1 OR B2 OR B3 OR B4 OR B5 OR B6) ;
    Sell= (S1 OR S2 OR S3 OR S4 OR S5 OR S6);
    Filter=Buy OR Sell;
    SetOption("NoDefaultColumns", True );
    AddTextColumn(Name(),"Security",1.2, colorDefault, colorDefault, 90);
    AddColumn( DateTime(), "Date", formatDateTime, colorDefault,colorDefault,100);
    AddColumn(IIf(B1,66,IIf(S1,83,32)),"New Trade Bar", formatChar, colorWhite, bkcolor =IIf(B1, colorGreen,IIf(S1,colorRed,colorDefault)));
    AddColumn(IIf(B2,66,IIf(S2,83,32)),"New3C", formatChar, colorWhite, bkcolor =IIf(B2, colorGreen,IIf(S2,colorRed,colorDefault)));
    AddColumn(IIf(B3,66,IIf(S3,83,32)),"New Arrow+Bar", formatChar, colorWhite, bkcolor =IIf(B3, colorGreen,IIf(S3,colorRed,colorDefault)));
    AddColumn(IIf(B4,66,IIf(S4,83,32)),"New Arrow", formatChar, colorWhite, bkcolor =IIf(B4, colorGreen,IIf(S4,colorRed,colorDefault)));
    AddColumn(IIf(B5,66,IIf(S5,83,32)),"New Bar", formatChar, colorWhite, bkcolor =IIf(B5, colorGreen,IIf(S5,colorRed,colorDefault)));
    AddColumn(IIf(B6,66,IIf(S6,83,32)),"New RMO", formatChar, colorWhite, bkcolor =IIf(B6, colorGreen,IIf(S6,colorRed,colorDefault)));
    AlertIf( Buy, "SOUND C:\\Windows\\Media\\chimes.wav", "Audio alert", 1, 1+8 );
    AlertIf( Sell, "SOUND C:\\Windows\\Media\\ding.wav", "Audio alert", 2, 1+8 );
    _SECTION_END();

  •  05-01-2008, 18:40 27104 in reply to 27103

    Re: RMO Intraday code (From another forum)

    As the post says, go through the free online training video three or more times.

    Indicators like this are not written for a specific time frame, they are applied to charts which have different time frame data on them.

    A lot of information regarding to the RMO has already been posted here.  If the forum search function does not help you out, then try using google: http://www.google.com.au/search?hl=en&q=%2BRMO+%2Bintraday+%2Bsite%3Aforum.equis.com&btnG=Google+Search&meta=lr%3Dlang_en

    In your journeys through the forum, you will find the MetaStock codes for the RMO and its derivatives (or codes that closely replicate the original functions) along with discussions from members who have successfully (?) used the RMO for trading, and posts from those who have failed to use this "system".



    Hope this helps.


    wabbit Big Smile [:D]

    P.S. Please don't multipost.

    MS: 6.52 EOD, 7.x EOD, 8.0 PRO, 9.2 PRO w/QC, 10 PRO w/QC & MDK
    For custom MetaStock programming : http://www.wabbit.com.au
    My SkyPE status : wabbit.com.au SkyPE online status
    My SkyPE account : wabbit.com.au

  •  05-03-2008, 19:25 27121 in reply to 27104

    Re: RMO Intraday code (From another forum)

    Thanks Wabbit...you are helpful as always...I am still playing with the RMO comes with metastock.

View as RSS news feed in XML