Jump to content

haliban

Members
  • Posts

    93
  • Joined

  • Last visited

Posts posted by haliban

  1. Hello Guys,

     

    I would like to have buyer and seller script that runs with predifined SL and TP.

     

    I researched a little bit and found these two scripts in MQL codebase that are for the same thing.

     

    
    #include <stdlib.mqh>
    #include <WinUser32.mqh>
    extern double Lots = 0.01; // change this number to change the lotsize
    extern double stoploss = 100;  // change this number to change the stoploss
    extern double takeprofit = 50; // change this number to change the takeprofit
    
    
    int start()
     {
    OrderSend(Symbol(),OP_BUY,Lots,Ask,3,Bid-stoploss*Point,Bid+takeprofit*Point,"comment",0,0,CLR_NONE);
    int ticket=OrderSend(Symbol(),OP_BUY,1.0,Ask,3,,0,"expert comment",255,0,CLR_NONE);
      if(ticket<1)
        {
         int error=GetLastError();
    
    
    }
    
    

     

    
    Seller one
    
    #include <stdlib.mqh>
    #include <WinUser32.mqh>
    
    extern double Lots = 0.01; // change this number to change the lotsize
    extern double stoploss = 100;  // change this number to change the stoploss
    extern double takeprofit = 5; // change this number to change the takeprofit
    
    int start()
     {
    OrderSend(Symbol(),OP_SELL,Lots,Bid,3,Ask+stoploss*Point,Ask-takeprofit*Point,"comment",0,0,CLR_NONE);
    int ticket=OrderSend(Symbol(),
    
    }
    
    

     

    The issue I have is that both scripts are not working when I try to execute them.

     

    If I replace

    OrderSend(Symbol(),OP_SELL,Lots,Bid,3,Ask+stoploss*Point,Ask-takeprofit*Point,"comment",0,0,CLR_NONE);

    wiht

    OrderSend(Symbol(),OP_BUY,0.1,Ask,3,0,0);

    it works fine but

    SL and TP are not defined!

     

    I would appriciate if somebody with better mql understanding can give me a hand on this issue.

     

    Thanks in advance,

    H@liban

  2. Re: [REQ] Ebay EA

     

    It looks very interesting. I saw very good statement analysis. It may be possible but before I test it myself on account managed by me I will not believe it ...!

     

    Other thing is that even liliput sells his eas for about $200 and clearly stat that they are profitable but do not 100% winning rate, simply because FX is random number generator.

     

    If there is a way to test it before buy it I would be happy to but to pay $5000 ... !

     

     

    Have fun guys

  3. Re: F0r3x5hok3r

     

    sounds interesting

     

    Forex Shocker 2.0 has been vastly improved from version 1.1 in these ways:
    
    1. The trading algorithm has been modified for much greater 
    profitability. Our backtests for this year show that Forex Shocker 
    2.0 has improved profits by a very significant percentage over the 
    previous version. Using the exact same money management setting of 
    "Aggressive" in our backtests, total net profits for 2009 were 
    increased in version 2.0 over version 1.1 by the following amounts:
    
    EUR/USD 100%
    
    GBP/USD 273%
    
    USD/CAD 159%
    
    USD/CHF 150%
    
    EUR/CHF 346%
    
    EUR/GBP 148%
    
    We have attached these backtests to this e-mail. You will also notice 
    that drawdowns have been decreased by an amazing amount!
    
    2. Forex Shocker 2.0's advanced Neural Network (NN) algorithm is now 
    coded inside a separate file called NN.dll which will take trades 
    according to the many variants of the market. This NN.dll file should 
    be placed in the same "libraries" folder as the shocker.dll (now 
    renamed Shocker2.dll).
    
    3. One manner in which profitability was improved is through 
    implementing an optimized trade closing algorithm. If a trade is 
    taking too long to close, using optimized probabilities as coded in 
    the NN.dll file, Forex Shocker 2.0 may now close a trade for a small 
    loss or less profit instead of lingering and increasing the risk that 
    the trade hitting the stop loss.
    
    4. Your broker's GMT offset is now automatically calculated by Forex 
    Shocker 2.0 and users no longer have to input the "StartTime" and 
    "EndTime".
    
    5. Forex Shocker 2.0 now determines if your broker is using 4 digit 
    or 5 digit quotes automatically so users no longer have to use the 
    "IsFiveDigits" input.
    
    6. Users no longer have to change the magic numbers for each pair 
    being traded.
    
    7. There is a new external input called "TradesSlippage", which is 
    set by default to 0. Users can modify this setting to 1 if they wish. 
    By changing the slippage setting to 1, users will allow trades to be 
    executed with a 1 pip maximum slippage. Because Forex Shocker 2.0 is 
    a scalper, the execution needs to be precise and a high amount of 
    slippage will only cause poor trades. It's better to not execute a 
    trade when there is too much volatility. So we coded Forex Shocker so 
    that users cannot permit a higher degree of slippage than 1 pip.
    
    8. The problem of OrderSend Error 131 (ERR_INVALID_TRADE_VOLUME) when 
    using money management for accounts under $980 has been fixed.
    
    9. Forex Shocker 2.0 is now more user-friendly. The user need only 
    change the "Logic" input for each pair being traded:
    
    If you're trading EUR/USD, enter 1.
    
    If you're trading GBP/USD, enter 2.
    
    If you're trading USD/CHF, enter 3.
    
    If you're trading EUR/CHF, enter 4.
    
    If you're trading EUR/GBP, enter 5.
    
    If you're trading USD/CAD, enter 6.
    

     

     

    Will see how good/bad is the new version

  4. Re: What eas do you use with CFX (TheCollectiveFX)

     

    Thanks for your replay "JoeCocker",

     

    I am still doing testing on MDPro and found that it is performing better on 15M chart that on 1H on CFX or at least for the last 3 trades. On 15m it took 15 pips profit in comparison to 0.1 or 3 pips on 1H.

     

    Shocker on eur/chf is not bad but you have to use news indicator and avoid news on eur and chf otherwise can be devastating.

     

    Any other members on CFX that would like to share their opinion?

  5. Re: The Collective FX

     

    When I calculated how much I have paid to GoM because of the spread difference it appearce to be more than the monthly fee for CFX. Spread is much lower and price feed looks pure and unfiltered.

     

    Othere issue I found is that EA that show good performance as MD are not trading in the same way as in GoM, they trade less for some reasons.

     

    Cheers

  6. Re: (REQ) B@llentine Bre@kout EA

     

    I had the same problem with GBPUSD. I changed the license key (any random number) and it started placing orders.

    Hope it helps.

     

    I have put gbp\usd the EA on a new chart and it put new orders, may be I need to do this every day :(

     

    Seems that on the second day it is not working, it says "License checking..., Mode Safe"

     

    Cheers

  7. Re: (REQ) B@llentine Bre@kout EA

     

    Has anyone been able to get the GJ version of this ea to trade? The GU version is working fine, but the GJ doesn't seem to. I have compared the code and I do see some license verfication code left in the GJ. I have tried just tweaking the GU to trade GJ but that didn't work for me (not a coder by any stretch).

     

    I can confirm on the GJ, I am getting message .."Please wait the next trade session" all the time!

     

    GU is working fine.

     

    Please some coder to take a look on GJ, it would be highly kuded ;)

     

    Cheers

  8. Since 2 months ago opened an account with TheCollectiveFX broker.

     

    The spread is good, execution is good as well.

     

    The main issue I am having so far is that Expert Advisers like MD, Primus 1.2 are not trading in the same way like they do on GoMarket or Tadawulfx.

     

    These experts simply do not trade at all! :?: ;)) @-) which is very suspicious to me.

     

    There is no useful information inside log files so far.

     

    I would like to ask other members that trade with CFX to share their opinion, please.

     

    What kind of ea do you use?

     

    Seems that Shocker and CrapTurbo are trading trouble free! The things with these eas are that they are not very consistent in their profitability!

     

    Maybe it needs to change some of the settings of MD to make it working, please advise.

     

    I would like to use MD 1.2 on CFX but so far the only work around seems to be "copier" which is not very reliable option X_X

     

    Your help is greatly appreciated!

     

    Cheers

    H@liB@n

  9. Re: GOmega GBPJPY

     

    I was doing few weeks testing and result was very good in the beginning few wins and then series of losing trades as a concluding in the end of the month it was in the negative.

     

    This is mine own opinion #:-S I wont try it on live account.

     

    Cheers

  10. Re: DRAGONPIPS

     

    hmm...I tried demo in The collective Fx broker platform, no trades at all.

    But it can be backtested.

    Anybody knows why ??

     

    :-? :-?

     

    I am having the same issue with "The Collective FX", nither dragonpips nithere MD1.2 are trading in the same way as on other brokers. I am not sure why, spread is good but for some reasons eas do not trade!

     

    Please anyone more expirenced to share opinion!

     

    Cheers

×
×
  • Create New...