Jump to content

JUINERTY2

Members
  • Posts

    180
  • Joined

  • Last visited

Posts posted by JUINERTY2

  1. Re: forex WARLORD

     

    another Scam !

    3 lines of code, and a loosing system!

     

    This is the complete code :

     

    #property copyright "EU M5"

    #property link ""

     

    extern double Lots = 1.0;

    extern double Risk = 5.0;

    extern double TakeProfit = 25.0;

    extern double Stoploss = 150.0;

    extern double TrendPower = 40.0;

    extern double TrendLevel = 300.0;

    extern double Sensitivity = 41.0;

    extern double Slippage = 2.0;

    extern double MagicNumber = 12225.0;

    double g_point_148;

    bool gi_156;

     

    int init() {

    g_point_148 = MarketInfo(Symbol(), MODE_POINT);

    gi_156 = TRUE;

    return (0);

    }

     

    int deinit() {

    return (0);

    }

     

    int start() {

    double l_imomentum_16;

    double l_iadx_24;

    double l_iosma_40;

    double l_iwpr_48;

    double l_imacd_56;

    if (TimeMonth(TimeCurrent() && TimeYear(TimeCurrent())) >= 12.2029 && gi_156 == TRUE) {

    Alert("The EA has expired");

    gi_156 = FALSE;

    }

    if (gi_156 == FALSE) return (0);

    double l_lots_0 = 0;

    int l_pos_8 = 0;

    if (Bars < 10) {

    Print("No Trade !!");

    return (0);

    }

    if (OrdersTotal() < 1) {

    if (AccountFreeMargin() < 1.0 * Lots) {

    Print("Money is Not Enough !!");

    return (0);

    }

    l_lots_0 = MathCeil(AccountEquity() * Risk / 10000.0) / 10.0;

    HideTestIndicators(TRUE);

    l_imomentum_16 = iMomentum(NULL, 0, TrendLevel, PRICE_OPEN, 0);

    l_iadx_24 = iADX(NULL, 0, TrendPower, PRICE_CLOSE, MODE_MAIN, 0);

    l_iosma_40 = iOsMA(NULL, 0, 90, 99, 88, PRICE_OPEN, 1);

    l_iwpr_48 = iWPR(NULL, 0, Sensitivity, 0);

    l_imacd_56 = iMACD(NULL, 0, 90, 99, 88, PRICE_TYPICAL, MODE_SIGNAL, 0);

    HideTestIndicators(FALSE);

    if (l_imacd_56 > 0.0 && l_iosma_40 > 0.0 && l_imomentum_16 > 100.0 && l_iadx_24 > 21.0 && l_iwpr_48 < -80.0) {

    OrderSend(Symbol(), OP_BUY, l_lots_0, Bid, Slippage, Bid - Stoploss * g_point_148, Ask + TakeProfit * g_point_148, "Buy(#" + MagicNumber + ")", MagicNumber, 0, Blue);

    return (0);

    }

    if (l_imacd_56 < 0.0 && l_iosma_40 < 0.0 && l_imomentum_16 < 100.0 && l_iadx_24 < 21.0 && l_iwpr_48 > -20.0) {

    OrderSend(Symbol(), OP_SELL, l_lots_0, Ask, Slippage, Ask + Stoploss * g_point_148, Bid - TakeProfit * g_point_148, "Sell(#" + MagicNumber + ")", MagicNumber, 0, Red);

    return (0);

    }

    }

    int l_ord_total_12 = OrdersTotal();

    for (l_pos_8 = 0; l_pos_8 < OrdersTotal(); l_pos_8++) {

    OrderSelect(l_pos_8, SELECT_BY_POS, MODE_TRADES);

    if (OrderType() <= OP_SELL && OrderSymbol() == Symbol()) {

    if (OrderType() == OP_BUY) {

    if (OrderOpenTime() - (TimeCurrent() >= 300) || AccountProfit() > 2.0) {

    if (TimeCurrent() - (OrderOpenTime() >= 300) || AccountProfit() > 2.0) {

    OrderClose(OrderTicket(), OrderLots(), Ask, 0, Violet);

    return (0);

    }

    }

    }

    }

    }

    l_ord_total_12 = OrdersTotal();

    for (l_pos_8 = 0; l_pos_8 < OrdersTotal(); l_pos_8++) {

    OrderSelect(l_pos_8, SELECT_BY_POS, MODE_TRADES);

    if (OrderType() <= OP_BUY && OrderSymbol() == Symbol()) {

    if (OrderType() == OP_SELL) {

    if (TimeCurrent() - (OrderOpenTime() >= 300) || AccountProfit() > 2.0) {

    OrderClose(OrderTicket(), OrderLots(), Bid, 0, Violet);

    return (0);

    }

    }

    }

    }

    return (0);

    }

  2. Re: Megadroid Pro

     

    This my version of MD PRo

    MdPro, Juinerty 2 version :

     

    This version works with fixed lots, not sure the MM works.

    Actually I disabled Gmtoffset, so the hours are server hours (gmt+1)

    I removed many boolean variables that are fixed to true or false

    I removed some code parts that are not used

    I try to arrange the code for a better view, and also to rename most of variables. Not sure the name is accurate for 100% of the variables, but this could help.

    I also erase most of the displayed informations ,and replace by mine : Lots, hours, spread (lower left corner).

    There is an option to close at breakeven : SAFE (between SafeOpenHour and SafeCloseHour)

    There is an option to close all at CloseAllTimeDefaut

    Enjoy !

    hxxp://[email protected]/228809

    (Kudos will be appreciated)

  3. Re: {share}europewave

     

    I have used thsi Ea both in demo and real.

    first I thought it was a winner (according to my backtest) althought I knew it was a copy of DP. I thought it worth to play it like an optimised parameter DP

    Now I removed since I saw after 2 months live I lost more money than I won.

    Better use the original , I mean DP

  4. Re: Megadroid Pro

     

    I removed eurchf, now I also thinking about remove eurgbp

    I have very nice results with eurusd, gbpusd, usdchf, usdcad, gbpchf, usdjpy and eurjpy.

     

    I have wash the code from many unused boollean variables, and try to give a smart name to many variables. I will post my version soon for those who want to understand the logic inside Md Pro. Still have a litthe work....

  5. Re: PIPS MINER EA

     

    I have backtest and optimized this version. Very nice results with Booster =3, maxtrades=8 and Trailing=35 for 2009. Unfortunately it's no good for previous years.

    Do not find any way to improve, will lose one day or another

    I stop to play with this Ea for some time.

  6. Re: caspian EA

     

    Caspian on M5 ? :o I didn't thought about that, but it could be a nice idea. Does it perform better than with M15?

    I removed many pairs traded with Caspian. Now I only trade UsdJpy and UsdCad because they are the best performers. By the way it's what the author says (caspian is pure copy of Volatility scalp please look at the original => hxxp://volatily-scalp.blogspot.com/2009/04/entry-rule.html).

    I use defaut settings.

×
×
  • Create New...