Jump to content

muruku

Members
  • Posts

    183
  • Joined

  • Last visited

Posts posted by muruku

  1. Sharing news EA for GU (not trading EA), you can clone them so that to be news EA for any pair you like, for case of EU, turn on EUR = true in global variable. & turn off any irrelevance current pair you think not related to your currency pair...

    put them in separate chart so that they will warn you for incoming news.

    Again put in the X integer which is offset of you and the broker... that will warn you on any news in LOCAL TIME too.

    You need to get WebGet.dll & WebGet.mqh from other forums...

     

     

    string upcomLocalTime = TimeToStr(dt+ X*3600);

     

    ..

    string prevLocalTime = TimeToStr(dt[i-1]+ X*3600);

     

    ..

    string nextLocalTime = TimeToStr(dt+ X*3600);

  2. Guys, i realized many new comers visiting this thread which are greatly welcome but still asking some basic questions that had been answered in previous couple pages. I would like your folks go to read them, understand & do your coding accordingly.

    Thus, that said, i will not answer them again & again...

     

    Now, I'm interested on how are you doing on Demo or Live acc , PIPS per week, your strategy, performance, any delays from your brokers using my DIFF logic showed you before....

    My delays from broker is 30-35s compared to local time after i caught them played nasty with 7-10 minutes this Monday. Now, I had tamed them up... not sure what's the next trick then.. I keep on changing EA name & magic#.

  3. See my answers !

     

    Hi muruku,

     

    Thanks for all your idea and support. I’m interesting in demoing this EA and looking forward to running it in live account. But I wonder about some matter, could you please help me explain it ?

     

    -I have a bit scare about running this EA w/o SL ? If the price run away, and there are many open position are loss floating, how should I cope with it ? Could you share your thinking about that and what do you recommend me if I stuck in that problem ?

    >> the ATR_pips filters able to get rid of EA to trade during NY session OR you manually turn it off. Usually if no unexpected big wave where the EA enter the trades in ranging mode.. hopefully those open positions can be closed happily.

    I wrote a warning that if open position more than 5, i need to watch whether i should slam them manually. (see my previous thread, i stuck last friday with -200 pips, slammed it & managed to recover 240 pips in these 2 days....

     

     

    -Do you use Close All Trade when Min Profit hit or Close each trade that get the min profit ?

    >> I answered this many times using WHILE loop logic.. again, check them out !

     

    -I read that you run 1 instance full time, + another 1 one during NY to Asian session. May you give you some detail ?

    For 1 instance full time, I guest you use it 24h and use ATR-pip filter and no use time limit (use TelagaMas = true)? Is that right ? Can I use CableLarikan ok 24h for the first instance ?

    For the second instance you use during NY to Asian session : Can I also use CableLarikan ok 24H with the TelagaMas= false and set the time for the second instance ?

    >> all my 2 instances are exactly cloning copies, except the diff in magic#. Here's my style, 1 instance from Asian to NY, more than 0.1 lot (ATR_pips did a great job to filter storm from econ news...greedy a bit, due to less risk)

    Turn on 2 instances, 0.1 lots after NY session to Asian session...

     

    I have a idea, could we add the news filter function FFcal to this EA to avoid red news ? the same with the function in Megadroid N1...What do you think about it ?

     

    >> yeah.. pretty good.... i 'm part timer actually, if you got free time, why not ?

    Sorry for too many question, :)

     

    Thanks in advance

  4. Let's modify based on your code. DONE ! Happy pips !

     

     

    double Pips = TotalProfit(Magic);

    if (Pips > MinProfit){

     

    while(MyOrdersTotal(Magic) != 0) {

    DeletePendingOrders(Magic);

    CloseAllTrades(0, Magic)

    }

    }

     

     

     

     

    My instafx result for today :-

     

    http://i475.photobucket.com/albums/rr116/azam575/cr_10pair.png

     

    10pair , 0.01 lot (1cent). closebasket 1pair = 15pips, closeALLPair = 1.50usd

     

    Hi there Mr. Muruku,

    I've changed the ATR values however is this where I put the WHILE loop?

     

    Original code from Cable Larikan ok 24 HR

     

    // latest by muruku

    /*

    double Pips = TotalProfit(Magic); ---------- Do I keep this line?

    if (Pips > MinProfit){ ---------- Do I start here?

    DeletePendingOrders(Magic);

    CloseAllTrades(0, Magic)

    } */ ---------- Do I keep the asterisk and the forward slash? Not in your new coding.

     

     

    This is your code

     

    if (Pips >= MinProfit){

    while(MyOrdersTotal(Magic) != 0) {

    CloseAllTrades(1, Magic);

    CloseAllTrades(2, Magic);

    DeletePendingOrders(Magic);

    }

     

    Just want to make sure with you first because I would like it to work properly and you're the MAN in this forum.

    Dankaschoen,

    Tom

  5. The final version ? this is what you should code-in yourself LOL.

    Hello Guys. How are you?

    So far i have seen many versions of this EA and i really don't know which one are you using to get a good results and safe trading. can anyone able to share the final version and if there's any version which has SL and Tp please share as well...!!

     

    Thanks in advance!

    Regards

  6. that's why in the manual, it oredi stated this is Scalper...

    the ATR_Pips filter play a very important role in this play.. & as you see 70-80% of price actions are in swing mode, that's why we are scalping 15-17 pips per entry in majority of swinging period & should be OFF manually if we know when euro (very rare) & NY econ news arrival (happened almost every day)...

     

     

     

     

    based on my (maybe inaccurate) observation, that Cable EA is opening the buy-limit and sell-limit at the safe price (after filtered with ATR), AND expecting the opened orders will hit TP or close in total profit/pips. If no reverse and price against, Cable EA will open another against trend order, until close in total profit/pips OR ...

    IF the price never comes back (and Cable had opened some positions), then we may see a trader with sad face..

     

    i think this Cable EA is good for swinging/flatting season, but is a disaster at a really strong trend market..

  7. Last weekend, as i mentioned in previous thread, i was fool :P, turned on the EA & came cross eco news :- USD New Home Sales , was stucked with -200 pips (so as Ca*** in FPA until today too, not progressing... you can refer to it) .. so I forced to slam down these -ve pips & restart the $$ rolling game this week.

     

    I would say, if you stuck with that situation, why not just slam them & restart the new day ?

  8. guys, for those who never diligently read back the previous threads that some of them contained very IMPORTANT message..

    here's the latest code you can refer to

     

    1)in ATR_pips.mq4, the extern int ATR_Period=7; you can play around with 6 or 7

     

    2)You can refer to Azam's code (CableLari etc etc) as your base

    =================================================

    double ATRPeriod1 = 3.0;

    double ATRPeriod2 = 4.0; // safer at 5 <-- sometime I like to switch around 4 or 5

     

    double ATRUpLimit1 = 13.0;

    double ATRDnLimit1 = 7.0;

     

    double ATRUpLimit2 = 21.0;

    double ATRDnLimit2 = 16.0;

     

    double ATRUpLimit3 = 28.0;

    double ATRDnLimit3 = 25.0;

     

    3)To solve the serious problem faced by all complaints of when Winning trades NOT close properly, you need the WHILE loop to sweep out all the active /pending orders to regain the profit happily !

     

    if (Pips >= MinProfit){

    while(MyOrdersTotal(Magic) != 0) {

    CloseAllTrades(1, Magic);

    CloseAllTrades(2, Magic);

    DeletePendingOrders(Magic);

    }

     

    4) To monitor if NASTY broker delays the time to prevent you earn happy pips

    you may want to Print out below 3 parameters on your screen to see if they fool you around.

    If they are good, the delay should NOT more than 0.55 min.

    LET ME KNOW WHAT"S YOUR "DIFF" :)

    X is an integer variable, offset of your location to the broker..

    here i put if Diff more than/equal to 3 minutes, send an email to keep track

     

    int LastNastyTimeStamp; <-- global variable

     

    int init() {

    LastNastyTimeStamp =0;

    return (0);

    }

     

    ..

    ..

    string Local_Time = TimeToStr(TimeLocal(), TIME_MINUTES|TIME_SECONDS);

    string Server_Time = TimeToStr(TimeCurrent()+ X*3600,TIME_MINUTES|TIME_SECONDS);

    double Diff = NormalizeDouble(MathAbs(TimeLocal() - (TimeCurrent()+ X*3600))/60,2);

    if (Diff >= 3 && LastNastyTimeStamp != TimeMinute(TimeCurrent()) ) {

    SendMail("bad broker "+ Period(),

    "EA:"

    + WindowExpertName()

    + "\n"

    + "Local Time:"

    + TimeToStr(TimeLocal(), TIME_DATE|TIME_MINUTES|TIME_SECONDS)

    + "\n"

    + "Server Time:"

    + TimeToStr(TimeCurrent()+ X*3600,TIME_DATE|TIME_MINUTES|TIME_SECONDS)

    + "\n"

    + "Server Time after added offset of +X hrs:"

    + TimeToStr(TimeCurrent()+ X*3600,TIME_DATE|TIME_MINUTES|TIME_SECONDS)

    + "\n"

    + "Delay for minutes:"

    + Diff);

     

    LastNastyTimeStamp = TimeMinute(TimeCurrent());

    }

  9. I 'm pretty sure the nasty broker will NOT HAPPY when they detect you run this EA & earn good $ .. couple tricks they can manipulate & the notorious one can be delaying their server time, i saw the delays was up to 10 minutes & i just wrote an email for a head' s up of unpleasing....

     

    string Local_Time = TimeToStr(TimeLocal(), TIME_MINUTES); <-- your local PC

    string Server_Time = TimeToStr(TimeCurrent()+ X*3600,TIME_MINUTES); <-- your broker time time of GU pair , X= offset of your local time to the broker, this is integer

    double Diff = NormalizeDouble(MathAbs(TimeLocal() - (TimeCurrent()+ 5*3600))/60,2);

     

    so if you see DIFF more than 2 minutes .. than this is NASTY !

     

    Any skillful programmer can write a log file to track all this delay ? so that we can file them properly ?

  10. ok to make it crystal clear to all of you..

    below are my fx server time 20, 13 & 14 (GMT+2 or +3) which are equivalent to my time GMT + 8 1am, 6pm & 7pm .. for case of CSIPPIKE, you seemed need to set them with 19,12 & 13..

     

    Again, i seldom trust b/test data..

     

    int EntryHourFrom = 20; // 1am local GMT +8

    int EntryHourTo = 13; // 6pm still can trade

    int ExitHour = 14; // 7pm Stop trade

     

     

    ** you can press Thanks Icon at your bottom left

     

    post_thanks.php?do=post_thanks_add&p=104969&securitytoken=1285497394-4c66250bf4bbe6519c0ca619c81e7be501e2d960

     

     

    Dear Muruku,

     

    I need a little bit help: The time zones are a little bit confusing below:

     

     

    You wrote:

     

    // Suggested Active 5am until 4pm at GMT +8

    int EntryHourFrom = 20; // 1am local GMT +8

    int EntryHourTo = 13; // 6pm still can trade

    int ExitHour = 14; // 7pm Stop trade

     

    I do not really understand the 4 timeframe rows above

    Is it possible to show them in GMT = 0 time? Then if I have a GMT + 2 Broker, then I simply have to modifiy the given times with +2. Now honestly I do not know, how to modify the given timeframes even if you write me, that you have GMT +8... becasue it is not clear.

     

    Please help me (us ) out with this.

     

    thank you

     

    PS: I would like to send a BIG "thank you" for your usuful post. How can I do it in this forum?

  11. This is the fifth set of backtest data, for SL function.. LOL ? write yours pls.

    See details attached..

     

    Yes I was with 0.1 lot... but in my day trade in LIVE, I like to trade with 0.11lot until before NY session.

     

     

    int EntryHourFrom = 20; // 1am local GMT +8

    int EntryHourTo = 13; // 6pm still can trade

    int ExitHour = 14; // 7pm Stop trade

     

    if(!TelagaEmas && !IsTradeTime()) { DeletePendingOrders(Magic); return (0);}

     

    bool IsTradeTime()

    {

    bool Result=false;

    if((EntryHourFrom<=EntryHourTo && Hour()>=EntryHourFrom && Hour()<=EntryHourTo) ||

    (EntryHourFrom>EntryHourTo && (Hour()>=EntryHourFrom || Hour()<=EntryHourTo)))

    {

    Result=true;

    if(Hour()>=ExitHour)

    if((EntryHourFrom<=EntryHourTo && ExitHour>=EntryHourFrom) ||

    (EntryHourFrom>EntryHourTo && ExitHour>=EntryHourFrom) ||

    (EntryHourFrom>EntryHourTo && ExitHour<=EntryHourTo))

    Result=false;

    }

    return(Result);

    }

     

     

     

     

    5. SL 197, ATRPeriod1,ATRPeriod2 = 3,5, Not 24hrs Running. 10K->profit 1285.70, DD 6.44%

    http://img6.imageshack.us/img6/5177/strategytesterz.gif

  12. I never like to backtest EA nowadays; However, i have some interesting data for you all

     

    1 Hour (H1) 2010.08.23 00:00 - 2010.09.24 22:00 (2010.08.22 - 2010.09.26)

    =============================================================

    1. SL 197, ATRPeriod1,ATRPeriod2 = 3,4, 24hrs Running. 10K->profit 1148.83, DD 14.94%

    2. SL 197, ATRPeriod1,ATRPeriod2 = 3,5, 24hrs Running. 10K->profit 1092.60, DD 14.19%

    3. SL 197, ATRPeriod1,ATRPeriod2 = 3,4, Not 24hrs Running. 10K->profit 700.54, DD 8.52%

    4. SL 197, ATRPeriod1,ATRPeriod2 = 3,5, Not 24hrs Running. 10K->profit 1195.90, DD 6.45%

     

     

    So here's my time filter...

    // Suggested Active 5am until 7pm at GMT +8

    int EntryHourFrom = 1; // 5am

    int EntryHourTo = 13; // 6pm still can trade

    int ExitHour = 14; // 7pm Stop trade = 7am NY session

     

     

    Arrh fifth set of data

     

    // Suggested Active 5am until 4pm at GMT +8

    int EntryHourFrom = 20; // 1am local GMT +8

    int EntryHourTo = 13; // 6pm still can trade

    int ExitHour = 14; // 7pm Stop trade

     

    5. SL 197, ATRPeriod1,ATRPeriod2 = 3,5, Not 24hrs Running. 10K->profit 1285.70, DD 6.44%

     

     

    So, option 5 apparently better & safer.. Maybe your guys had better optimizations.. share pls !

  13. from Profitable FX :-

    ==================

    UPDATE ABOUT CABLE RUN : Probably we will have new version of Cable Run already this Friday,but we will be neede 1 or 2 weeks more to test that,if all is wroking perfectly. Please be patient, we will eMail you our dear buyers, as all will be ready.

    Thank you for you attention !

     

    The New Updates on the site and other rocking things will come already soon, follow us for more info...We have a lot of new fresh ideas !

     

    Sorry for a bit slow support as we have hundreds of eMails daily we are trying to answer them as fast as we can ,if you want just real fast support just pm us in skype (the username is tyomma1) . Thanks for your attention !

     

     

     

  14. arr .. there's no such thing holygrail with 100% success rate. CRun in FPA is plummet with few hundred pips down that anytime will burn up the equity..

    so was myself with minus positions of -200 pips as attempting to sneak few greedy pips during friday closing end before NY session..

    hmm.. I kept reminding myself many many times not to fool around with Friday closing end, but still jump into ..

    Tough & good learning.. so, 2 things can be done .. set a reasonable sl to this EA to secure the equity & pray to regain back with few positive pips & close them all..

    Thus, if you are swamp into this dilemma, let's change the MinProfit to small pips & let the EA to close all pos.. or manual close asap ..

  15. Well, let's solve your basic problem before thinking of adding twists & bells..

    so many type of EAs as we are know abt.. martingale, scalper, trailing, trend, grid, hedge, breakout, reverse trend, candlestick pattern, sooo many until i can not describe...

    You can go to read what is the nature of this GRID EA & you will forget of adding trailing stop to it.

    I strongly suggest we need to put SL for each entry..

     

    thank you very much for helping me but if i am going to do it manually i will have to sleep beside the PC 24H/5days :)).. you think i can set SL of TP with a TrialingStop .. would be good ?
  16. do you think you can MANUAL enter the trade with 3.7 lots ?

    if you can do it, your EA should also get thru .. if not, blame noone ok ?

     

    2010.09.24 16:39:38 2010.09.20 02:26 CableLarikan_ok_24H GBPUSD,H1: #1 Error: 130 Function: NewOrder(2,3.7,1.5658,0,0) 17

     

    getting this error friends...i have no skill in programming so it would have to be spoon feeding please.

  17. I'm not with 5 digits broker so I won't experience what was the issue or how to solve.

    EA is just a script to automated our manual trading process...

    If you spot the EA never work for your case NewOrder(3,0.1,1.524,0,0) 26 ==> placing pending orders at 0.1 lot, at price 1.5240, tp & sl = 0..repeating 26 trials also never get thru ..

    why not you try manual entry ? if it able to execute your order, something logic in EA need to fix, if not succeed with manual way, how you expect the EA can do the job ? does it very make sense ?

    Here's my guess to your problem

    - Your Broker never accept Tp/SL of 0 (mostly suspected)

    - Your Broker prohibit you to enter trade, keep on rejecting ==> notorious phrase REQUOTE , it mostly happen during news time !.. check your journal tab to spot kind of trade entry rejection message..

     

     

     

    really you are doing great in here and i ask God to bless you cuz you and all the people who help the others.

     

    i just keep getting this error GBPUSD,H1: #0 Error: 4105 Function: NewOrder(3,0.1,1.524,0,0) 26

     

    i am using Alpari Uk and it's 5 digits.. how can i fix this ? and how much SL and TP does this EA always set and can you please tell me what strategy does it use for trading?

  18. from myfxbook stat analysis, the best pips to grab is from Euro-->NY session...

    After NY to Asian session, the market will be too quiet for this EA.. & since the minProfit >= 15..

    so this target sometime hardly to be achieved..maybe waste your electricity bill while grab less pips...

     

    Using ATR_pips is to ensure the market go ranging (indicated by FLATTEN ) before jump into the trade.

     

    and please tell us what is the best time of trading for this ea!!
  19. Can you be analytical a bit to the code.. ?

     

    NewOrder(2,50,1.5253,0,0) 5

     

    Your Bot trying to place a buylimit order for repeating trial for 5 times for

    50 LOT at 1.5253, tp & sl = 0..

     

    So does it make sense to execute ?

     

    what does this error means "GBPUSD,H1: #0 Error: 4105 Function: NewOrder(2,50,1.5253,0,0) 5 and how to avoid it !!

     

    Regards, Shady

    "

×
×
  • Create New...