Page 6 of 13 FirstFirst ... 45678 ... LastLast
Results 51 to 60 of 123
  45 45 Attachment(s)    

Thread: Parabolic SAR EA

  1. #51
    Junior Member
    Join Date
    Apr 2009
    Posts
    9

    Default

    I got it in with no errors thanks. But it'ts not doing anything.... no sleep. I have added a couple of extra zeros but nothing. Thanks for being patient with me.

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

    Default

    Quote Originally Posted by taz_1891 View Post
    I got it in with no errors thanks. But it'ts not doing anything.... no sleep. I have added a couple of extra zeros but nothing. Thanks for being patient with me.
    Unfortunately, the Sleep function doesn't work in the strategy tester. There is another way to do to get the sleep during backesting, but I have not it in mind. You should find the solution on mql4.com

  3. #53

    Default Sorry

    Quote Originally Posted by funyoo View Post
    Hi 823 and welcome,

    As it is a different strategy, read this : http://www.tradingsystemforex.com/id...t-request.html
    Hi at all,

    Funyoo I'm sorry if I've seemed arrogant, but my english isn't good. Sorry

    I'm testing your EA: "PSar SuperTrend EA v202.mq4 "
    You've done really a great job!

    I read the code but i don't understand the exactly difference between v.202 and v.201;
    You wrote: "TrailingProfit parameter added (TrailingStop enabled when TrailingProfit reached)." (v.202) How much pips stops has?
    How much is the step? and trailingprofit?
    .....because the value on the code is always 0; and when PSar SuperTrend EA v202 place an order on my metatrader no stop or limit order is placed.

    I've modified your PSar SuperTrend EA v202 in PSar SuperTrend EA v202 SL 50 TP 100 TS 75 Tstep 25.mq4
    I've tried to put:
    Stop loss 50
    Trailing Profit 100
    Trailing stop 75
    Trailing step 25
    ---->
    extern string S3="---------------- Order Management";

    extern int StopLoss=50;//|------------------------stop loss
    extern int TakeProfit=0;//|----------------------take profit
    extern bool HideSL=false;//|---------------------hide stop loss
    extern bool HideTP=false;//|---------------------hide take profit
    extern int TrailingProfit=100;//|------------------trailing stop after profit reached
    extern int TrailingStop=75;//|--------------------trailing stop
    extern int TrailingStep=25;//|--------------------trailing step
    extern int BreakEven=0;//|-----------------------break even
    extern int MaxOrders=100;//|---------------------maximum orders allowed
    extern int Slippage=3;//|------------------------slippage
    extern int Magic=2009;//|------------------------magic number


    and also down:

    extern string S6="---------------- Extras";

    extern bool Hedge=false;//|----------------------enter an opposite trade
    extern int HedgeSL=50;//|-------------------------stop loss
    extern int HedgeTP=0;//|-------------------------take profit
    extern bool ReverseSystem=false;//|--------------buy instead of sell, sell instead of buy


    Is it correct?

    this is the result on EU H4 from 2008/01: very low, isn't it?
    PSar SuperTrend EA v202 SL 50 TP 100 TS 75 Tstep 25.mq4



    Funyoo I've a problem with first EA of this thread:
    Parabolic SAR EA.mq4 and also Double Parabolic SAR EA.mq4 don't work; it says: Cannot open .... on EU h4, Why?
    Someone can help me please?

    Thank you very much


    p.s.s.
    I'm trading manual mode in a real account, with parabolic sar indicator on EU and UC on H4 timeframe (sometimes H1) with good results (from about a year). But I have no more time to analyse graph, and so I'm thinking about an EA robotised.
    I didn't used the supertrend, but it may be a good idea insert it on EA (but only in few cross).
    Last edited by 823; 05-03-2009 at 09:21.

  4. #54
    Junior Member
    Join Date
    Apr 2009
    Posts
    9

    Default PSAR with multiple EMA's EA

    Hey Funyoo,

    I have slightly modified one of your EA's to serve slightly a different purpose and have had good results in backtesting as much data as i could.

    Please find attached the EA and the results.

    If you find it worthwhile i need some help with more modifications to make this much better.

    At the moment, it will only do buy orders and not sell orders and i have no idea why.
    Also, if a function could be setup so it would close the trade if price touched the 2nd or 3rd EMA. Is that possible?

    I personally think this would be great if we can get past these obstacles. You will see what i mean. This uses the trend to its full potential but i know there is more room for improvement.

    Thanks mate...

    The pic below is 1 month of data in the 1 min TF. Max risk per trade is 1%
    Attached Images Attached Images Parabolic SAR EA-psar-with-12-emas-gif 
    Attached Files Attached Files
    Last edited by taz_1891; 05-03-2009 at 01:54.

  5. #55

    Default

    Quote Originally Posted by funyoo View Post


    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)
    This Ea follow this simple rules?

    ---- PSAR(downside) show buy signal --> buy order;
    ---- PSAR(upside) show sell signal --> sell order;
    Exit rules:
    if PSAR changes position. ---->close; (Psar signal will take into consideration only when candelstick is closed! and not first)

    This Ea doesn't works on my MT4: Cannot open file "Parabolic SAR EA.mq4"; Why?
    Last edited by 823; 05-03-2009 at 14:32.

  6. #56

    Default

    You need to compile it with Meta Editor...then you'll get an .ex4 file that goes in the /experts directory

  7. #57
    Senior Member
    Join Date
    Jan 2009
    Location
    Australia
    Posts
    631

    Default

    it is asking for the supertrend.exe indicator, cna someone post it for me

    Quote Originally Posted by 823 View Post
    Hi at all,

    Funyoo I'm sorry if I've seemed arrogant, but my english isn't good. Sorry

    I'm testing your EA: "PSar SuperTrend EA v202.mq4 "
    You've done really a great job!

    I read the code but i don't understand the exactly difference between v.202 and v.201;
    You wrote: "TrailingProfit parameter added (TrailingStop enabled when TrailingProfit reached)." (v.202) How much pips stops has?
    How much is the step? and trailingprofit?
    .....because the value on the code is always 0; and when PSar SuperTrend EA v202 place an order on my metatrader no stop or limit order is placed.

    I've modified your PSar SuperTrend EA v202 in PSar SuperTrend EA v202 SL 50 TP 100 TS 75 Tstep 25.mq4
    I've tried to put:
    Stop loss 50
    Trailing Profit 100
    Trailing stop 75
    Trailing step 25
    ---->
    extern string S3="---------------- Order Management";

    extern int StopLoss=50;//|------------------------stop loss
    extern int TakeProfit=0;//|----------------------take profit
    extern bool HideSL=false;//|---------------------hide stop loss
    extern bool HideTP=false;//|---------------------hide take profit
    extern int TrailingProfit=100;//|------------------trailing stop after profit reached
    extern int TrailingStop=75;//|--------------------trailing stop
    extern int TrailingStep=25;//|--------------------trailing step
    extern int BreakEven=0;//|-----------------------break even
    extern int MaxOrders=100;//|---------------------maximum orders allowed
    extern int Slippage=3;//|------------------------slippage
    extern int Magic=2009;//|------------------------magic number


    and also down:

    extern string S6="---------------- Extras";

    extern bool Hedge=false;//|----------------------enter an opposite trade
    extern int HedgeSL=50;//|-------------------------stop loss
    extern int HedgeTP=0;//|-------------------------take profit
    extern bool ReverseSystem=false;//|--------------buy instead of sell, sell instead of buy


    Is it correct?

    this is the result on EU H4 from 2008/01: very low, isn't it?
    PSar SuperTrend EA v202 SL 50 TP 100 TS 75 Tstep 25.mq4



    Funyoo I've a problem with first EA of this thread:
    Parabolic SAR EA.mq4 and also Double Parabolic SAR EA.mq4 don't work; it says: Cannot open .... on EU h4, Why?
    Someone can help me please?

    Thank you very much


    p.s.s.
    I'm trading manual mode in a real account, with parabolic sar indicator on EU and UC on H4 timeframe (sometimes H1) with good results (from about a year). But I have no more time to analyse graph, and so I'm thinking about an EA robotised.
    I didn't used the supertrend, but it may be a good idea insert it on EA (but only in few cross).

  8. #58
    Member
    Join Date
    Mar 2009
    Location
    Florida, USA
    Posts
    278

    Default

    Here, I'll give you some of my Gucci stuff.
    Attached Files Attached Files
    Think of adversity as that tiny piece of sand that gets trapped in the oyster's shell. Although it's a pain in the oyster's arse, he eventually makes a pearl out of it.

    http://hft.serialcoder.com/ -- Quantitative Market Reversal Levels --- The only indicator you'll ever need.

  9. #59
    Senior Member
    Join Date
    Jan 2009
    Location
    Australia
    Posts
    631

    Default

    It still says i need the supertrend.ex4 indicator, that is the error i am getting when backtesting
    Last edited by wannaberich; 05-03-2009 at 15:32.

  10. #60
    Member
    Join Date
    Mar 2009
    Location
    Florida, USA
    Posts
    278

    Default

    Here's a proprietary MTF Supertrend for you as well. You'll really like this.
    Attached Files Attached Files
    Think of adversity as that tiny piece of sand that gets trapped in the oyster's shell. Although it's a pain in the oyster's arse, he eventually makes a pearl out of it.

    http://hft.serialcoder.com/ -- Quantitative Market Reversal Levels --- The only indicator you'll ever need.

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
  •