Page 8 of 13 FirstFirst ... 678910 ... LastLast
Results 71 to 80 of 123
  45 45 Attachment(s)    

Thread: Parabolic SAR EA

  1. #71

    Default

    Quote Originally Posted by funyoo View Post
    You can use both.
    Both? Can you explain better please?


    ---------------

    [SIZE="1"]extern int StopLoss=0;//|------------------------stop loss
    extern int TakeProfit=0;//|----------------------take profit

    If i use only the trailing stop and trailing step like this:
    extern int TrailingProfit=0;//|------------------trailing stop after profit reached
    extern int TrailingStop=50;//|--------------------trailing stop
    extern int TrailingStep=30;//|--------------------trailing step
    the stop moves of 30 pips when maket is >50 isn't it?
    Witch is the difference using the trailing Profit? and the difference between trailingProfit and TakeProfit?
    extern int Slippage=3;//|------------------------slippage <--what is it?


    Thanks

  2. #72

    Default

    823 I copied this from elsewhere but I think it answers your question....



    Say you buy 1 contract (Y1000 per pip) EUR/JPY at our price of 124.417/124.447

    You decide to add a Trailing Stop with a Stop distance of 30 points and a
    Step size of 10 points

    This means that your Stop will automatically keep a distance of 30 points,
    repositioning each time the market moves 10 points in your favour.

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

    Default

    Quote Originally Posted by 823 View Post
    Both? Can you explain better please?


    ---------------

    [size="1"]extern int StopLoss=0;//|------------------------stop loss
    extern int TakeProfit=0;//|----------------------take profit

    If i use only the trailing stop and trailing step like this:
    extern int TrailingProfit=0;//|------------------trailing stop after profit reached
    extern int TrailingStop=50;//|--------------------trailing stop
    extern int TrailingStep=30;//|--------------------trailing step
    the stop moves of 30 pips when maket is >50 isn't it?
    You can ignore the TrailingStep. Here, it will be like to have a 80 pips trailing stop. The EA will place a stop loss of 80 pips and then will move the SL as the market moves in the wanted direction.

    Quote Originally Posted by 823 View Post
    Witch is the difference using the trailing Profit? and the difference between trailingProfit and TakeProfit?
    The trailing stop will be enabled as soon as there is a profit at least equal to trailing profit (in fact the trailing profit has the function of the trailing step). The Takeprofit is the the target in pips. The code will close the order if the target is reached.

    Quote Originally Posted by 823 View Post
    extern int Slippage=3;//|------------------------slippage <--what is it?


    Thanks
    It is the maximum difference in pips between the signal to execute an order, and the price at which the order will be executed.

  4. #74

    Default

    ok thanks.


    Quote Originally Posted by funyoo View Post

    It's useful only if you attach the EA to several charts of a same pair.
    If i have the same EA running in eurusd H1 / eurusd H4 / eurusd H30
    Have I to change the magicnumber? and so create 3 "differents" EAs?

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

    Default

    Quote Originally Posted by 823 View Post
    ok thanks.




    If i have the same EA running in eurusd H1 / eurusd H4 / eurusd H30
    Have I to change the magicnumber? and so create 3 "differents" EAs?
    Yes you have to do it.

  6. #76

    Default

    Ok thanks. Now I test this EA!


    Someone else have tried the parabolic SAR combined with some indicator that produce good results?



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

    Default

    Where do i find the actual indicator from

    Quote Originally Posted by jezzer1961 View Post
    I'm not so sure that simply renaming the indicator is the best thing to do in this situation. Especially so as one of the attached indicators seemed to be a MTF version and was a binary without any source, so it's not as though you actually know what it's doing on the inside.

    I really think you'd be better off finding the Real McCoy to use.

  8. #78

    Default

    -------------
    Last edited by 823; 05-24-2009 at 22:13.

  9. #79

    Default

    Hi

    funyoo can you insert a stop loss, take profit, trailing stop and trailing step at the first Ea you've created in this 3d "Parabolic SAR EA.mq4 "

    thanks

  10. #80

    Default

    Quote Originally Posted by funyoo View Post
    Parabolic SAR and 3 SMA EA.

    EU H1. On one year.

    Default with EnterOnlyAtSARCross = true, EnterOnlyAtSMACross = true, MM = true, Risk = 5, StopLoss = 220, TakeProfit = 140, and AddPositions = true.

    Total net profit : 93.38%
    RDD : 28.89%

    Funyoo can you also post this EA??

    ...because i tried to make it but it doesn't place any order
    and refering this post:
    Quote Originally Posted by automatic View Post
    hi


    maybe use a 3sma filter?

    if ALL 3 sma in order e.g for uptrend if 30sma is over 50sma which is over 100sma then buy 1 next up sar signal. opposite for downtrend ie if 30 is under 50 which is under 100 sell 1 next sell sar.

    if 3 sma not in order no sar trade. 1 trade open only so need close of any existing trade before new trade. wait for first signal. Use one sar. if stopped out or tp then wait for next sar condition. ie no automatic open of new trade.



    maybe also usual options like add positions, time filter etc

    logic is sar is a trending signal so needs a strong trend filter. 3 sma in order signal should help keep it out of trades in ranges ie when 3 sma not in order.
    I've traded in manually with good results using this rule:
    Parabolic Sar + 3 SMA: 10, 25, 50.


    If 10sma cross from down to top the 25 and 50 and PSAR(downside)--> buy
    If 10sma cross from up to down the 25 and 50 and PSAR(upside)---> sell

    Is it possible create an Ea having this rule?

    thank you very much funyoo
    Last edited by 823; 05-11-2009 at 21:46.

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
  •