Page 4 of 15 FirstFirst ... 2345614 ... LastLast
Results 31 to 40 of 146
Like Tree18Likes

Thread: Idea for 121 EA

  1. #31
    Member
    Join Date
    Jan 2012
    Posts
    44
    Hi Guys,

    Sorry maybe I can shed some light, I put together the EA for John very quickly so he could test the basic principles of his strategy. Couple of points that may help those testing it.


    1. It actually doesn't even need a different magic number for diff TFs or crosses. It automatically generates an MN based on symbol+period
    2. It trades a fixed lotsize of 0.01.
    3. SL and TP are fixed as per Johns rules mentioned earlier.

    As for the version of Kharmonics, at the moment it just uses the stripped down version ABCDslim.mq4 that John modified.

    The reason you need to load the indicator on the chart and the EA doesn't call the indicator with iCustom is because using iCustom with kharmonics in the backtester completely grinds it to a halt if you want to run it at quicker speeds. Grabbing the price levels from the objects the indicator is placing on the chart is a quick alternative when trying to test.

    An EA running on a realtime chart would probably be ok with iCustom, but may suffer in high volatility. I'd probably suggest leaving it as is, or porting the pattern code directly in to the EA.

    As Mentioned John just wanted to test the strategy. If anyone who doesn't have programming knowledge wants me to add stuff to it, inputs for lotsize, tp, sl etc more than happy to just let me know.

    Cheers
    Paul
    Last edited by fridaystreet; 02-12-2012 at 02:37 AM.

  2. #32
    Senior Member
    Join Date
    Oct 2011
    Posts
    129
    Friday- someone had the idea of multipul time frames of the one2one pattern on one chart, Is that possable ?

  3. #33
    Senior Member
    Join Date
    Nov 2011
    Location
    Norfolk (pining for the moors)
    Posts
    148
    Quote Originally Posted by joswald View Post
    Here is where I am up to with the ea, it enters at D and stoploss and take profit is at B and C pending the direction of the trade.

    Still needs alot of work as I'm getting mixed results in backtesting.

    You need to attach the indicator to backtesting chart for the ea to work.

    Attachment 326
    Attachment 327

    And please use at your own risk.
    Hi Joswald,
    What does Historytrain do?


    Mike

  4. #34
    Senior Member
    Join Date
    Nov 2011
    Location
    Norfolk (pining for the moors)
    Posts
    148
    Quote Originally Posted by fridaystreet View Post
    Hi Guys,

    Sorry maybe I can shed some light, I put together the EA for John very quickly so he could test the basic principles of his strategy. Couple of points that may help those testing it.


    1. It actually doesn't even need a different magic number for diff TFs or crosses. It automatically generates an MN based on symbol+period
    2. It trades a fixed lotsize of 0.01.
    3. SL and TP are fixed as per Johns rules mentioned earlier.

    As for the version of Kharmonics, at the moment it just uses the stripped down version ABCDslim.mq4 that John modified.

    The reason you need to load the indicator on the chart and the EA doesn't call the indicator with iCustom is because using iCustom with kharmonics in the backtester completely grinds it to a halt if you want to run it at quicker speeds. Grabbing the price levels from the objects the indicator is placing on the chart is a quick alternative when trying to test.

    An EA running on a realtime chart would probably be ok with iCustom, but may suffer in high volatility. I'd probably suggest leaving it as is, or porting the pattern code directly in to the EA.

    As Mentioned John just wanted to test the strategy. If anyone who doesn't have programming knowledge wants me to add stuff to it, inputs for lotsize, tp, sl etc more than happy to just let me know.

    Cheers
    Paul
    Thanks for the explanation Paul. Does the EA have a particular TF it likes?


    Mike
    senator likes this.

  5. #35
    Member
    Join Date
    Jan 2012
    Posts
    44
    No worries

    @blott: The EA will functionally work on any time frame, it isn't hard coded anywhere. As for a preference, I haven't personally tested it enough to say which works best. I guess if we can get some good principles in to the EA it should work well on any timeframe.

    @trademonster: Multiple TF's shouldn't be an issue from a code point of view. The problem comes again in the performance. It needs to do the same calculations over each additional TF you want to add. Do you want to use multiple TFs to increase the number of trading opportunities, or are you referring to trying to find confluence between TFs as a confirmation method? The latter would probably also add some additional performance overhead.

    Cheers
    Paul

  6. #36
    Senior Member
    Join Date
    Oct 2011
    Posts
    129
    Friday - yes Multi-Time frame for confluence, (not for more trades) __ it helps keep me out of a trade when conflicting signals/patterns appear on diff. Time frames.

    THX

  7. #37
    Member
    Join Date
    Jan 2012
    Posts
    44
    trademonster - I'm happy to have a stab at building some code which can identify confluence, I just need some concise rules to work with. Are you able to provide some examples of what conflicting patterns/signals you are having success with? and what time frames you use in conjunction with each other. For example if the EA is trading on 5 min does it really matter if the 4h/daily has a conflicting pattern? Obviously an EA has serious limitations to how much data it can compare in relation to us Humans :-)

    Cheers
    Paul

  8. #38
    Junior Member
    Join Date
    Feb 2012
    Posts
    5
    Confluence on the 15m 30m 1hr Time Frames usually works

  9. #39
    Senior Member
    Join Date
    Oct 2011
    Posts
    129
    Correct, when trading on the 5min TF, no need to look any higher than the 1hr.

  10. #40
    Senior Member
    Join Date
    Nov 2011
    Posts
    161

    Post 121 EA Update

    See Post#1 for files

    Ok, so this is where we are up to with the 121 EA.

    - ECN_Broker = True; //set to true if broker requires sl/tp to be set after placing order my broker is ECN, so have to send it without then use ordermodify to add SL & TP
    - Enable_ABCD = false; //enables trades on ABCD patterns
    - Enable_5_0 = True; //enables trades on 50 patterns (or reversal 121 - C is lower than O)
    - EntryBuffer = 10; //number of points above or below signal bar to enter.
    - TrailStartPercent = 60; //(0 disables trailing with pSAR) Percentage of target distance to move before starting to trail stop with PSAR
    - TrailShift = 2; //number of Bars back to use PSAR value from
    - pSAR_Step = 0.02; //standard pSAR settings
    - pSAR_Max = 0.2; //standard pSAR settings
    - BreakEvenPercent = 50; //(0 disables) Percentage of target distance to move before moving stop to breakeven
    - CommissionPoints = 10; //(0 disables) number of points broker charges for commission for breakeven. if I set sl to openprice, my trade is a loser. my broker charges 1pip (10 points). so it moves the stop to open+-1pip
    - tradeComment = "one2one EA v0.7";
    - ExitZone_Enabled - Enables exiting using time/fan fib rules
    - ExitZone_TimeFib - Value of timefib to start monitoring exit of failed pattern
    - ExitZone_FanFib - Fanfib level to exit failed pattern after price has passed TimeFib
    - ExitZone_MoveWithSignal - Move the exit zone if pattern expands (D Moves past origina signal)
    - CloseInvalidPending - Close pending orders if pattern is invalidated (ie the indicator has removed the pattern from the screen. Valid patterns should remain for the duration of the trade)
    - CloseInvalidOpen - Close open active orders as soon as pattern is invalidated (ie the indicator has removed the pattern from the screen. Valid patterns should remain for the duration of the trade)
    - RemoveExitZoneOnClose - If set to false exitzone lines won't be removed when trade is closed.
    - EnableScreenShots - saves screen shot of all order transactions (open orders, move pending orders, move stops)
    - EmailScreenShots - email screenshot when created using xpMail dll - only works via a gmail account for free version. dll goes in to experts/libraries folder
    - MinProfit_Points - this setting lets you avoid trades with small profit targets. eg 1min TF sometimes it picks up small invalid patterns
    - MinRewardRatio - allows specify minimum reward side of the risk/reward ratio ie risk = 1 / reward = MinRewardRatio
    - AlwaysUsePending - if the pending entry price violates the broker stoplevels then change the price of the pending entry to the minimum allowed. if false it will just enter the trade immediately rather than use a ending order
    Last edited by jtrader; 03-10-2012 at 04:46 AM.
    netpacman, enefao, micscal and 2 others like this.

Page 4 of 15 FirstFirst ... 2345614 ... LastLast

LinkBacks (?)

  1. 07-23-2013, 10:15 PM
  2. 09-26-2012, 12:50 PM
  3. 09-26-2012, 11:56 AM
  4. 07-19-2012, 04:09 PM
  5. 07-16-2012, 04:26 AM
  6. 07-14-2012, 04:35 PM
  7. 07-09-2012, 09:13 PM
  8. 07-01-2012, 07:28 PM
  9. 06-28-2012, 07:58 AM
  10. 06-16-2012, 06:53 PM
  11. 06-13-2012, 06:59 PM
  12. 05-30-2012, 11:35 PM
  13. 05-22-2012, 02:13 PM
  14. 05-22-2012, 02:09 PM
  15. 05-19-2012, 10:53 PM
  16. 05-19-2012, 09:57 AM
  17. 05-17-2012, 12:35 PM
  18. 05-15-2012, 05:32 PM
  19. 05-03-2012, 06:37 AM
  20. 04-23-2012, 01:40 PM
  21. 04-18-2012, 03:46 PM
  22. 04-17-2012, 02:13 PM
  23. 04-17-2012, 04:16 AM
  24. 04-16-2012, 05:20 PM
  25. 04-14-2012, 06:53 PM
  26. 04-14-2012, 12:25 PM
  27. 04-13-2012, 07:41 PM
  28. 04-13-2012, 11:05 AM
  29. 04-12-2012, 10:06 PM
  30. 04-02-2012, 02:37 PM
  31. 04-02-2012, 12:35 PM
  32. 04-01-2012, 10:13 AM
  33. 03-31-2012, 01:23 PM
  34. 03-23-2012, 09:53 PM
  35. 03-18-2012, 12:52 PM
  36. 03-08-2012, 10:29 PM
  37. 03-08-2012, 07:56 PM
  38. 03-06-2012, 07:44 PM
  39. 03-06-2012, 07:40 PM

Tags for this Thread

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41