Jump to content

halcyonn

Members
  • Posts

    804
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by halcyonn

  1. friends,for last many hours i have the ea open only two positions and not many as it did before.the opened ones are on usdjpy and audusd ..shorts.

     

    and it closed many of the opened ones on these two for profit a number of times but without reaching tp of basket.anyone experiencing something similar.it has happened on two different demos and different vps.

  2. just put it on an account with delta 350 , it has opened loads of usdjpy shorts. I had to adjust the max trades as it went a bit gung ho, but has gone straight into profit with no dd..

     

    nice !

     

    Lolzz...the deltas as studied by the ea are correctly interpreted too and just the right number of trades are opened i feel.right now running demo and will see it trade some more.

  3. Dear Tomi from what i could deduce if someone makes the delta external input of 50 or 100 then there can be as many as 100 positions.higher delta fewer positions and smaller dd

     

    delta inputs of 300 to 400 and 5 minutes of update time before allowing trades and you shall have smooth and profitable trading.

     

    ---

     

    here is also a worded thanx to 50 Pips for his superb share!

  4. got a mail stating that doors close for all soon

     

    If you've been watching Currency Strength Robot in the last

    few days, you've probably noticed A LOT of activity...

     

    Over 500 people posted comments about CSR in the last few

    days alone, and that's not counting the hundreds of emails

    I'm getting DAILY!

     

    Needless to day, there's A LOT of interest in CSR...

     

    ...which brings the "bad news".

     

    Based on my current server capacity and the attention that

    my staff and I are promising to each CSR members, I'm a

    little worried, to say the least.

     

    I never really thought it would get this big, and as it is

    now, there is just no possible way to get everyone in...

     

    However, because you are on my personal list, and I want

    you to have as much advance notice as possible, I will keep

    the door open for at least 48 hours after the official

    launch, which is precisely at 5:00pm EST (10PM GMT) today,

    March 28, 2011...

     

    VIDEO: Currency Strength Robot Official Launch

     

    I hope I won't be kicking myself later for making this

    promise, because I am not really looking forward to work

    around the clock for the next few days setting up new

    servers... But don't get me wrong, I'm thrilled to have you

    on board.

     

    So here's final video for CSR. Go watch it now:

     

    VIDEO: Currency Strength Robot Official Launch

     

     

     

    best regards,

     

    Henry Liu

     

    P.S. I probably don't need to mention this... but there is

    a 30 days no questions asked money-back policy with CSR, so

    you can just try it out with no risk.

  5. My bad Halcyonn, sorry about that - juts remove first 3 or 4 rows :) everything to the #property copyright....

    but it is with 5 pips limit and 1000 stop.... so, on 99.5 % success rate it will be at break-even, bellow will be for loosing, and above (between 99.5-100%) will be profitable

     

     

    i am not going to run it on anything which is its default.

     

    thanx for guidance to fix the code!

  6. Danny if you use a larger sl and tp with ratio of 1.5 and 1 for tp and sl then its a good ea in dates after the ones in the code.

     

     

    i liked its performance where i optimsied it over one month period and then backtested the optimised settings over 1 year and 2 months and it gave really good results.i will be using it for trading too.

  7. Here is 50 MA Cross ea.i only adjusted the default values of sl and tp to fit the 5 digit.all else default value.its 30 pip sl and 50 pip tp in this test.eurusd is the only pair i have tested so far.i like what i see in backtest.the backtest trades lots of 0.10 size throughout the test.here it is...

     

     

    http://depositfiles.com/files/z2n9rj81w

     

    Strategy Tester Report

    50 MA Cross

    Tripleafx-AAAFx Demo (Build 229)

     

    Symbol EURUSD (Euro vs US Dollar)

    Period 30 Minutes (M30) 2010.01.03 23:00 - 2011.01.20 23:30 (2010.01.01 - 2011.01.21)

    Model Every tick (the most precise method based on all available least timeframes)

    Parameters MinutesBetweenOrders=120; MAperiod=50; StopLoss=300; TakeProfit=500; TrailingStop=0; clOpenBuy=Blue; clCloseBuy=Aqua; clOpenSell=Red; clCloseSell=Violet; clModiBuy=Blue; clModiSell=Red; Name_Expert="MA Cross"; Slippage=5; UseSound=true; NameFileSound="alert.wav"; Lots=0.1;

     

    Bars in test 10482 Ticks modelled 8942103 Modelling quality 90.00%

    Mismatched charts errors 3

     

    Initial deposit 10000.00

    Total net profit 1549.16 Gross profit 5946.29 Gross loss -4397.14

    Profit factor 1.35 Expected payoff 6.05

    Absolute drawdown 159.03 Maximal drawdown 299.63 (2.62%) Relative drawdown 2.91% (294.85)

     

    Total trades 256 Short positions (won %) 129 (47.29%) Long positions (won %) 127 (45.67%)

    Profit trades (% of total) 119 (46.48%) Loss trades (% of total) 137 (53.52%)

    Largest profit trade 50.92 loss trade -33.79

    Average profit trade 49.97 loss trade -32.10

    Maximum consecutive wins (profit in money) 4 (200.21) consecutive losses (loss in money) 8 (-257.58)

    Maximal consecutive profit (count of wins) 200.21 (4) consecutive loss (count of losses) -257.58 (8)

    Average consecutive wins 2 consecutive losses 2

  8. Anyone can insert an external for magic number please?

     

     

    //+------------------------------------------------------------------+

    //| Copyright 2006, Malinouski Yury |

    //| mailto:[email protected] |

    //| version 4.0 |

    //| 01.04.2006 |

    //+------------------------------------------------------------------+

     

    // Çà îñíîâó âçÿò ýêñïåðò MA cross.mq4 (àâòîð Alexey42)

    // Äîáàâëåíû ñëåäóþùèå ïàðàìåòðû: ma_method, TrailingStop, applied_price

    // Ýêñïåðò îòêðûâàåò è çàêðûâàåò ïîçèöèè ïî ôàêòó ïåðåñå÷åíèÿ ñðåäíèõ

    // Êòî ñìîæåò ðåàëèçîâàòü âûñòàâëåíèå stop_loss ïî ïàðàáîëèêó?

     

    extern int ma_fast=8; // Ïåðèîä áûñòðîé ÌÀ

    extern int ma_slow=21; // Ïåðèîä ìåäëåííîé ÌÀ

    extern double ma_method=1;/*MODE_SMA 0 Ïðîñòîå ñêîëüçÿùåå ñðåäíåå

    MODE_EMA 1 Ýêñïîíåíöèàëüíîå ñêîëüçÿùåå ñðåäíåå

    MODE_SMMA 2 Ñãëàæåííîå ñêîëüçÿùåå ñðåäíåå

    MODE_LWMA 3 Ëèíåéíî-âçâåøåííîå ñêîëüçÿùåå ñðåäíåå

    */

    extern int stop_loss=110;

    extern int take_profit=370;

    extern double TrailingStop=110;

    extern double applied_price=0;/*PRICE_CLOSE 0 Öåíà çàêðûòèÿ

    PRICE_OPEN 1 Öåíà îòêðûòèÿ

    PRICE_HIGH 2 Ìàêñèìàëüíàÿ öåíà

    PRICE_LOW 3 Ìèíèìàëüíàÿ öåíà

    PRICE_MEDIAN 4 Ñðåäíÿÿ öåíà, (high+low)/2

    PRICE_TYPICAL 5 Òèïè÷íàÿ öåíà, (high+low+close)/3

    PRICE_WEIGHTED 6 Âçâåøåííàÿ öåíà çàêðûòèÿ, (high+low+close+close)/4 */

    extern int ma_shifft=0; // Ñäâèã èíäèêàòîðà îòíîñèòåëüíî öåíîâîãî ãðàôèêà

    extern double Lots=0.1;

    double m1=1;

    double m2=1;

    double s1=1;

    double s2=1;

    double b=1;

    int cnt=0;

    //-------------------------------------------------------------------------------------------------------------

     

     

    int start()

    {

    if (b<Bars)

    {

    m1=iMA(NULL,0,ma_fast, ma_shifft, ma_method, applied_price, 1);

    m2=iMA(NULL,0,ma_fast, ma_shifft, ma_method, applied_price, 2);

    s1=iMA(NULL,0,ma_slow, ma_shifft, ma_method, applied_price, 1);

    s2=iMA(NULL,0,ma_slow, ma_shifft, ma_method, applied_price, 2);

     

    if (OrdersTotal()<1)

    {

    if

    ((s2>m2)&&(s1<m1))

    {

    OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Ask-stop_loss*Point,Ask+take_profit*Point,"buy60",1221,0,Blue);

    b=Bars;

    }

    if

    ((s2<m2)&&(s1>m1))

    {

    OrderSend(Symbol(),OP_SELL,Lots,Bid,3,Bid+stop_loss*Point,Bid-take_profit*Point,"sell60",1222,0,Red);

    b=Bars;

    }

    }

     

     

     

    for(cnt=0;cnt<4;cnt++)

    {

    OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);

    if(OrderType()<=OP_SELL && // check for opened position

    OrderSymbol()==Symbol()) // check for symbol

    {

    if(OrderType()==OP_BUY) // long position is opened

    {

    // should it be closed?

    if ((s2<m2)&&(s1>m1)&&(b<Bars))

    {b=Bars;

    OrderClose(OrderTicket(),OrderLots(),Bid,3,Violet); // close position

    OrderSend(Symbol(),OP_SELL,Lots,Bid,3,Bid+stop_loss*Point,Bid-take_profit*Point,"sell60",1222,0,Red);

    return(0); // exit

    }

    // check for trailing stop

    if(TrailingStop>0)

    {

    if(Bid-OrderOpenPrice()>Point*TrailingStop)

    {

    if(OrderStopLoss()<Bid-Point*TrailingStop)

    {

    OrderModify(OrderTicket(),OrderOpenPrice(),Bid-Point*TrailingStop,OrderTakeProfit(),0,Green);

    return(0);

    }

    }

    }

    }

    else // go to short position

    {

    // should it be closed?

    if ((s2>m2)&&(s1<m1)&&(b<Bars))

     

     

    {b=Bars;

    OrderClose(OrderTicket(),OrderLots(),Ask,3,Violet); // close position

    OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Ask-stop_loss*Point,Ask+take_profit*Point,"buy60",1221,0,Blue);

    return(0); // exit

    }

    // check for trailing stop

    if(TrailingStop>0)

    {

    if((OrderOpenPrice()-Ask)>(Point*TrailingStop))

    {

    if((OrderStopLoss()>(Ask+Point*TrailingStop)) || (OrderStopLoss()==0))

    {

    OrderModify(OrderTicket(),OrderOpenPrice(),Ask+Point*TrailingStop,OrderTakeProfit(),0,Red);

    return(0);

    }

    }

    }

    }

    }

    }

     

     

     

    //----

    return(0);

    }

    }

×
×
  • Create New...