Page 11 of 14 FirstFirst ... 910111213 ... LastLast
Results 101 to 110 of 133
  11 11 Attachment(s)    

Thread: Sniper Forex Expert Advisor

  1. #101

    Default

    The code doesn't seem very optimal. There are so many calls to iCustom() (iCustom is very slow) and also so many unnecessary calculations. e.g. *point should be done in init(), not in functions that are called on every single received tick (e.g. start()).

    I haven't tried backtesting this yet, but someone earlier in the thread said it's extremely slow, and just by looking at the code it's obvious why.

    Rewriting the code to minimize calculations and avoiding the use of iCustom() would make backtesting and optimization much faster.

    Also, in case you didn't know, the "Sniper" indicator itself calls iCustom() 6 times (for SHMA).
    Last edited by hyperdimension; 08-14-2009 at 01:15.

  2. #102
    Junior Member
    Join Date
    Aug 2009
    Posts
    1

    Default

    Who can help me in explaining this EA?!?
    The EA is running and trading but I do not know how to change the settings because I do not understand!


    S2=---------------- Money Management
    Lots=0.2
    RiskMM=0 ==> Why 0?
    RiskPercent=1.0
    Martingale=0
    Multiplier=1.0 ==> Why to use a multiplier? And what is the reason?
    BasketProfitLoss=1 ==> Is this a percentage and/or does it refer to the whole account?
    MinLots=0.01 ==> When do I need that?
    MaxLots=100.0

    S3=---------------- Order Management
    AutomatedSL=0 ==> What is the difference between SL and AutomatedSL?
    AutomatedTS=0
    Open5Orders=1
    StopLoss=10 ==> When does the EA work with this MM? Which settings?
    TakeProfit1=15
    TakeProfit2=25
    TakeProfit3=30
    TakeProfit4=50
    TakeProfit5=80
    HideSL=0 ==> I guess I have to fill in my max. SL and the broker is not seeing it?!?
    HideTP=0
    TrailingStop=10
    TrailingStep=1
    BreakEven=10
    MaxOrders=100 ==> Why maximum orders again? What is "Open5Orders" doing?
    Slippage=4
    Magic=2009

    S6=---------------- Extras
    ReverseSystem=0 ==> What is the ReverseSystem doing?

    Btw I see the alarm to go long or short but it rarely takes the trade?!?

    Thank you for any help!!!

    Manuel

  3. #103
    Junior Member
    Join Date
    Jul 2009
    Posts
    1

    Default

    great work

  4. #104
    Junior Member
    Join Date
    Aug 2009
    Location
    Valrico, FL, USA
    Posts
    23

    Default

    I'll take a crack:

    RiskMM=0 Why 0?

    RiskMM is a switch: 1=on(True), 0=off(False). If you leave it off, the EA will trade the lotsize specified in "Lots" entry immediately above.

    Multiplier=1.0 ==> Why to use a multiplier? And what is the reason?

    The Multiplier is if you are using Martingale (a strategy that doubles the lot size after a losing order). If you set this to 2.0, that is traditional Martingale. You could set lower than 2.0 for less risk on Martingale strategy, or set higher than 2.0 for even more risk (highly unrecommended!).

    BasketProfitLoss=1 ==> Is this a percentage and/or does it refer to the whole account?

    This is another switch: 1=on(True), 0=off(False). However, the code in the EA has been commented out so this does nothing.

    MinLots=0.01 ==> When do I need that?

    MinLots is used to set the minimum lot size for an order. If MM is on and it computes a number for lotsize lower than the MinLots setting, the lot size is set to MinLots. You should specify .10 if your broker does not support micro lots.

    MaxLots is there to control lot size if using a Martingale strategy. If Martingale is on and you have several losses in a row, the lot size can get quite large pretty quick (depending on the multiplier). This prevents the EA from opening orders with a lot size larger than you desire.

    AutomatedSL=0 ==> What is the difference between SL and AutomatedSL?

    Another switch. Automated SL will set the StopLoss based on the Sniper SL dots. If the dot is not present above/below the bar entered on, it will use the "StopLoss" value.

    StopLoss=10 ==> When does the EA work with this MM? Which settings?

    It will use this setting if both AutomatedSL and AutomatedTS are 0 (false).

    HideSL=0 ==> I guess I have to fill in my max. SL and the broker is not seeing it?!?

    Another switch. If you set this to True, the EA will hide the SL from the broker.

    MaxOrders=100 ==> Why maximum orders again? What is "Open5Orders" doing?

    MaxOrders is the maximum number of open orders the EA will manage. Open5Orders tells the EA to use the "Advanced Strategy" explained in the Sniper User Guide. It will open 5 orders with various TP levels to scale out of the trade. TP levels are specified by TakeProfit1, TakeProfit2, TakeProfit3, TakeProfit4 and TakeProfit5. The Sniper User Guide suggests 25, 50, 75, 100 and let the fifth run with the trend until it stops out or a signal in the other direction occurs.

    ReverseSystem=0 ==> What is the ReverseSystem doing?

    Another switch. Turn it on and the EA will trade in the opposite direction of what Sniper indicators tell it.

  5. #105

    Default

    Thanks for your posting # 85 Cookiemonster. IMHO I would advise all those enjoying the profitability of Sniper Forex to seriously consider your thoughts regarding the "thunder" trend A and trend B has to offer. I am personally very cautious about straying from the "canned package" Gary delivered, and do so only to allow for my PERSONAL goals and methods. I have followed the concept you delivered for some time now, and consider it a current asset to the original system (subject to change). FWIW

  6. #106
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,002

    Default

    Quote Originally Posted by hyperdimension View Post
    The code doesn't seem very optimal. There are so many calls to iCustom() (iCustom is very slow) and also so many unnecessary calculations. e.g. *point should be done in init(), not in functions that are called on every single received tick (e.g. start()).

    I haven't tried backtesting this yet, but someone earlier in the thread said it's extremely slow, and just by looking at the code it's obvious why.

    Rewriting the code to minimize calculations and avoiding the use of iCustom() would make backtesting and optimization much faster.

    Also, in case you didn't know, the "Sniper" indicator itself calls iCustom() 6 times (for SHMA).
    Hi hyperdimension,

    That's not possible as I am not the owner of the copyrights.

    Quote Originally Posted by cookiemonster View Post
    This is a weird EA, it's doesn't trade entirely by the rules. If an entry signal is given and the rules are not met it doesn't take the trade, that is good, but in the manual it says when the conditions have been met you can enter the trade. But when it takes a trade, boy oh boy, definately a winner. I've managed +42% last month only with the EA. This month it's not taking trades it's missing alot of oppertunities according the rules of the system.
    Hi cookiemonster,

    I have enhanced the logics in the third version, it should be as per the rules now.

    Quote Originally Posted by cookiemonster View Post
    1. There is supposed to be some sort of mechanism that checks after an entry signal, every new candle to see if the rules have been met and if it is okay to enter the trade according to predefined MM.

    2. The developer advises not to trade the asia session when using pound dollar pair the recommended pair to trade. There is no way to preload the timings of the sessions and just say asia=false, europe=true, newyork=true.

    3. This is what I've observed (not in the rules) When Trend_A and Trend_B are not meeting the conditions of the rule after a conditions met entry the trade just continues (the rules are okay with that), but in my opinion there should be a possibility for extra precaution to be able to exit upon Trend_A or/and Trend_B counter indicating the original signal. After studying charts from 07 to 09, I've seen that it's preferable to exit at this signal rather than the auto stop of the system.

    If the conditions of the original signal are met again after the previous exit upon trend_a and/or trend_b counter indicating, you should have the possibility to renter, it should be a choice though since not part of the original rules. This is what I've seen so far.

    I may have more remarks coming, but overall the system is great !
    Thanks for these suggestions,

    I have added them in the new version : Sniper Forex EA v3

  7. #107

    Default

    Great work Funyoo, writing an EA for Sniper has been on my "to do" list...!

    Will test and have a look how we can tweak it and maximize profitability.

    Very kind of you to share the mq4.


  8. #108
    Junior Member
    Join Date
    Oct 2009
    Posts
    2

    Default

    the ea has a problem... it doesn't open a trade... it says invalid stops

  9. #109
    Junior Member
    Join Date
    Oct 2009
    Posts
    3

    Default

    Hi all
    dear Funyoo thanks for your great work on Sniper Forex EA.
    jus i wanna know that is there any set file for tha last your EA -V3?

    there is too many arameters that it will made me crazy if i want to check via try and error, specially whenever you see the low backtest speed.

    anyway, it will be my appreciated if anyone can help me about the set file or any user guid!!

    Regards
    Last edited by supertramp; 10-17-2009 at 11:30.

  10. #110
    Junior Member
    Join Date
    Oct 2009
    Posts
    2

    Default

    i think that problem can be with ecn broker...

Similar Threads

  1. Stealth Forex Expert Advisor
    By funyoo in forum Commercial expert advisors
    Replies: 9
    Last Post: 06-18-2012, 17:46
  2. FPM EA - Forex Profit Monster Expert Advisor
    By miles4x in forum Commercial expert advisors
    Replies: 0
    Last Post: 06-06-2011, 20:30
  3. Forex expert advisor
    By xingxu in forum Softwares
    Replies: 0
    Last Post: 02-27-2011, 18:29
  4. Forex Expert Advisor
    By mel8331 in forum Ideas for expert advisors
    Replies: 1
    Last Post: 12-17-2009, 05:00

Tags for this Thread

100, 100 pips, advisor, alarm, alpari, alpari uk, auto trading, automatic, average, backtest, backtesting, breakeven, broker, brokers, candle, change, closing, color, demo, ea works, ecn, elite, eur, eur/usd, eurjpy, eurusd, ex4, expert, expert advisor, experts, fap turbo, forex, forex ea, forex expert advisor, forex news, forex system, forex trading, forex trading system, free, free ea, gbpusd, guide, hedging, high, home, how to, indicator, indicators, live, live account, long term, low, magic, magic number, managed, manual, manual trading, martingale, metatrader, mq4, mt4, news, offer, online, pairs, price action, profit, profitable, programmer, programming, real, request, robot, server, signal, signals, simple, stock trading, stop, stoploss, strategy, study, support, system, test, thank you, time, tool, trading, trading software, trading system, trailing, trend, trend trading, turbo, usd, user guide

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •