Page 5 of 13 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 123
  45 45 Attachment(s)    

Thread: Parabolic SAR EA

  1. #41

    Default

    Hi funyoo,

    Do you think you can replace the parabolic with this custom indicator. The indicator basically plot arrows on the chart, red for down and blue for up. The indicator has several indicators working together to give the signal, parabolic included, anyway there is a manual trading system based on this and I think EA as well.

    You could leave the current parabolic as is and use the two indy to confirm each other for signal. Maybe have a extern disable option for both indicator anyway what ever suits you best. Thanks again

    Cheers.



    Quote Originally Posted by funyoo View Post
    TrailingProfit parameter added (TrailingStop enabled when TrailingProfit reached).
    Attached Files Attached Files

  2. #42

    Default

    Quote Originally Posted by crissfx View Post
    Hello,

    I had run the EA since Monday still now on three currencypairs. EUR/USD and EUR/GBP on 30 min. and at GBP/USD on H1 timeframe. I stopped some minutes ago. The colour of the supertrend changes also on higher timeframes. With this, it is senseless to use the EA. I have attached a image. You will see opend buy orders while supertrend show downtrend signal and vice versa. The basement is always the colour change for some minutes of supertrend.

    But although, i think this can be a very good EA. I would give this EA another try on Demo next week. But i would like to change the exit rule. The exit rule " close position when supertrend changes coulour" has to be connected with the rule "close position when parabolic sar changes signal". So only when both showing opposit signal, the position getting closed. I searched some hours in the code but i did not found the right place. Can someone tell me?

    Regards

    Crissfx

    How can we place limit and stop on this EA? fix or trailing? how many pips? ... pheraps it is better fix, isnt'It?
    Last edited by 823; 05-01-2009 at 12:43.

  3. #43

    Default

    I would like to try an EA that follows these rules:


    if supertrend(green) and PSAR(downside) show buy signal --> buy order;
    if supertrend(red) and PSAR(upside) show sell signal --> sell order;
    When position is open, place a stop at 50 pips a trailing limit that increase at 50 pips/step.
    Exit rules:
    if supertrend changes colour and psar is opposite then aperture --> close position;


    N.B.
    Is there a way to proced with a order ONLY on candlestik signal closed and not first?

    Someone can build It for me, please?
    -funyoo- ?

    Thanks
    Last edited by 823; 05-01-2009 at 12:45.

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

    Default

    Hey funyoo,

    Thanks very much for your time and efforts on the previous EA's. I have been playing with the 'Parabolic SAR and 3 SMA' EA taking out 1 SMA which has helped (only looking at 1 min TF) BUT how do you modify it so it will ONLY take 1 trade per candle formation.

    I have seen it take multiple trades on the same candle which is killing the account. If you could do that, i would be extremely grateful and will post some results when i get some joy.
    Attached Files Attached Files

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

    Default

    Quote Originally Posted by 823 View Post
    I would like to try an EA that follows these rules:


    if supertrend(green) and PSAR(downside) show buy signal --> buy order;
    if supertrend(red) and PSAR(upside) show sell signal --> sell order;
    When position is open, place a stop at 50 pips a trailing limit that increase at 50 pips/step.
    Exit rules:
    if supertrend changes colour and psar is opposite then aperture --> close position;


    N.B.
    Is there a way to proced with a order ONLY on candlestik signal closed and not first?

    Someone can build It for me, please?
    -funyoo- ?

    Thanks
    Hi 823 and welcome,

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

    Quote Originally Posted by taz_1891 View Post
    Hey funyoo,

    Thanks very much for your time and efforts on the previous EA's. I have been playing with the 'Parabolic SAR and 3 SMA' EA taking out 1 SMA which has helped (only looking at 1 min TF) BUT how do you modify it so it will ONLY take 1 trade per candle formation.

    I have seen it take multiple trades on the same candle which is killing the account. If you could do that, i would be extremely grateful and will post some results when i get some joy.
    Hi taz_1891 and welcome,

    See here : Max trade per bar

  6. #46
    Junior Member
    Join Date
    Apr 2009
    Posts
    9

    Default

    Sorry Funyoo,

    Im trying the 'max trade per bar' example but have stuffed the code a few times. Im not very compentant with coding, just trying to save time. Any chance you could quickly do it. Sorry....

  7. #47
    Junior Member
    Join Date
    Apr 2009
    Posts
    9

    Default

    All good thanks Funyoo. Worked it out eventually. Thanks for the guidance

  8. #48
    Junior Member
    Join Date
    Apr 2009
    Posts
    9

    Default

    Funyoo, sorry to bother you again. Is there a way to make the EA not trade...say 2 or more bars after a previous close of a trade?

    Thanks again

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

    Default

    Quote Originally Posted by taz_1891 View Post
    Funyoo, sorry to bother you again. Is there a way to make the EA not trade...say 2 or more bars after a previous close of a trade?

    Thanks again
    Yes you can use a Sleep function, for example :

    Sleep(10000); after the OrderClose(); functions.

    10000=10 seconds.

  10. #50
    Junior Member
    Join Date
    Apr 2009
    Posts
    9

    Default

    As soon as i do i receive the following message:

    '\end_of_program' - unbalanced left parenthesis

    after i try to compile it. Any ideas?

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
  •