Page 1 of 13 12311 ... LastLast
Results 1 to 10 of 123
  45 45 Attachment(s)    

Thread: Parabolic SAR EA

  1. #1
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default Parabolic SAR EA



    Parabolic SAR expert advisor.

    Parabolic SAR file has to be put in the indicators folder.

    EU H1. Step 0.002 Maximum 0.2.

    MDD : 7.82%

    Ratio : 16.62 (Profit Factor/MDD)
    Attached Images Attached Images Parabolic SAR EA-strategytester-parabolic-sar-eu-h1-0-002-0-2-gif 
    Attached Files Attached Files

  2. #2
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default



    Double Parabolic SAR expert advisor.

    EU H1. 0.05 0.05 0.01 0.01.

    MDD : 38.81%

    Ratio : 7.49 (Profit Factor/MDD)
    Attached Images Attached Images Parabolic SAR EA-strategytester-parabolic-sar-eu-h1-0-05-0-01-gif 
    Attached Files Attached Files

  3. #3
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    SMA Double Parabolic SAR expert advisor. The SMA is used as a filter.

    EU H1. 0.02 0.2. SMA 120

    MDD : 9.96%

    Ratio : 13.95 (Profit Factor/MDD)
    Attached Images Attached Images Parabolic SAR EA-strategytester-sma-parabolic-sar-ea-eu-h1-sma-120-gif 
    Attached Files Attached Files

  4. #4

    Default

    hi

    can someone list an explanation to the parameters. I'd like to give this a go but am not sure about what all the parameters mean.

    thanks

  5. #5
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by automatic View Post
    hi

    can someone list an explanation to the parameters. I'd like to give this a go but am not sure about what all the parameters mean.

    thanks
    Hi automatic,

    Welcome!

    extern string SMA = "---------------- SMA";
    extern double SMAPeriod=100; //period of the simple ma
    extern string Lot1 = "---------------- Lot Management";
    extern double Lots = 0.1; //lots
    extern int mm = 0; //money managemet 1=enabled
    extern double Risk = 10; //percentage risk
    extern string Tstb = "---------------- TP SL TS BE";
    extern bool RealStopLoss_Enabled = false; //for SL under 15
    extern int RealStopLoss = 5;
    extern bool RealTakeProfit_Enabled = false; //for TP under 10
    extern int RealTakeProfit = 10;
    extern int StopLoss = 0; // stop loss
    extern int TakeProfit = 0; // take profit
    bool TradeAtCloseBar = false; //orders sent if signal confirmed
    extern bool Reverse = false; //reverse of the system
    extern int TrailingStop = 0; //trailing stop
    extern int TrailingStep = 1; //margin in pips allowed to the price before to enable the trailing stop
    extern int BreakEven = 0; //break even
    extern string Extras = "---------------- Extras";
    extern bool CanAddPos=true; //cumulate positions
    extern int MaxOpenOrders=100; //maximum opened orders
    extern int MagicNumber=0; //magic number

  6. #6

    Default

    thanks. i was actually thinking of using the first post basic ea. i have been on live trades manually and it works ok for me. i think why some ea get a poor test is because people think there is one set of parameters of an ea that can cope with three different trading sessions each with their own characteristics depending on the currency? in my experience ea's need to be optimised for the characteristics of each session.

    thanks again.

  7. #7
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by automatic View Post
    thanks. i was actually thinking of using the first post basic ea. i have been on live trades manually and it works ok for me. i think why some ea get a poor test is because people think there is one set of parameters of an ea that can cope with three different trading sessions each with their own characteristics depending on the currency? in my experience ea's need to be optimised for the characteristics of each session.

    thanks again.
    Correct,

    Don't forget to share your detailed statements and the settings if you get interesting results in demo or backtesting.


  8. #8

    Default

    on the parabolic sar ea parameters what are

    repeat and periods. the current setting is 3 and 5

    does reverse mean it will close the trade then open a new one when sar changes?

    breakeven : how does that work? what value does one put in it?

    thanks.

  9. #9
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by automatic View Post
    on the parabolic sar ea parameters what are

    repeat and periods. the current setting is 3 and 5
    The code will try several times to send the alerts if it doesn't work at the beginning.

    Quote Originally Posted by automatic View Post
    does reverse mean it will close the trade then open a new one when sar changes?
    No it will simply reverse the system, buy instead of sell, sell instead of buy.

    Quote Originally Posted by automatic View Post
    breakeven : how does that work? what value does one put in it?

    thanks.
    The code will move your stop loss to the open price + breakeven when it will be possible.

  10. #10

    Default

    hi

    i do not understand what the ma filter does. how does it affect buy sell orders?

    thanks

    edit

    what would be useful is a condition to only buy up sar signal if above an ma and only sell down sar signal below ma .

    this in effect would then be similar to the manual system of hector trading.
    Last edited by automatic; 11-26-2008 at 13:45.

Similar Threads

  1. Parabolic SAR EA
    By mehoolsheth in forum Expert advisors backtesting
    Replies: 1
    Last Post: 03-18-2011, 14:16
  2. SAR Parabolic Indicator
    By tattoo-angel in forum Indicators
    Replies: 2
    Last Post: 03-07-2011, 10:53
  3. FT_Scalp Parabolic MMR
    By Chilibowl in forum Expert advisors backtesting
    Replies: 12
    Last Post: 09-13-2010, 23:13
  4. Parabolic question
    By forexpop in forum MQL programming
    Replies: 2
    Last Post: 05-08-2009, 10:14
  5. FT_Scalp Parabolic
    By funyoo in forum Expert advisors live statements
    Replies: 6
    Last Post: 03-03-2009, 22:17

Tags for this Thread

100, 2011, advisor, automatic, average, backtest, backtesting, beginner, breakeven, candle, change, closing, coding, color, copy, custom indicator, demo, eas, elite, eur, eur/usd, eurusd, ex4, expert, expert advisor, experts, forex, free, gbpusd, guide, hedge, home, indicator, indicators, live, macd, magic, magic number, main, manual, manual trading, manual trading system, martingale, metatrader, moving average, mq4, mql, mt4, offer, online, oscillator, osma, parabolic sar, profit, profit factor, profitable, programming, real, renko, repaint, request, robot, rsi, sells, signal, signals, simple, slippage, sma, stop, stoploss, strategy, support, system, test, thank you, time, timefilter, tool, trading, trading system, trailing, trailingstep, trailingstop, trend, usd

Posting Permissions

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