欢迎访问 外汇EA下载与MT4/MT5自动交易资源 - 聚合外汇EA、黄金EA、量化交易工具与自动化交易实战内容。
登录 注册

AshFX Daily(EA - MTaboneWeb) (AshFX Daily (EA - MTaboneWeb))

author emer | 0 人阅读 | 0 人评论 |
来源:ForexFactory · Trading Systems · 原帖链接
原帖作者:mtaboneweb
发布日期:First Post: Jul 14, 2008 10:25am | Edited Aug 23, 2008 5:43am
Original thread information:

This thread is dedicated to the on-going development of the AshFX Daily EA that I wrote. Please remember that I didn't develop the AshFX strategy. Any questions regarding the actual system should be handled on forexmoments original thread. Please use this thread as a place to post positive suggestions, bugs, and general discussion of the EA and it's results.

For information and discussion of the AshFX system please refer to this thread here...

http://www.forexfactory.com/showthread.php?t=91789

I was asked to start my own thread and so I would like to keep this thread about the EA I've developed. I would not like to start mixing different versions of EAs written by several others. Hopefully in doing this we all stay on track and of one mind and I will implement all the ideas I can for the EA as long as they enhance the original system and remain true to where it came from. New EAs can be written for other ideas so let's keep on track for each of the ones I've developed.

Source Code (Very Important):

Poll: Do I have to share my source code?

Settings:
Inserted Code
//+------------------------------------------------------------------+
//| Input variables                                                  |
//+------------------------------------------------------------------+
extern string     TradingParameters          = "------------------------------------------------------------";
extern double     Order01LotSize             = 0.20; //Order lot size (Not placed if = 0)
extern int        MaxDiffFromOpen            = 0; //Maximum difference from the open of the current bar, i.e. no greater than 10 pips higher from open if long and vice versa
extern bool       TakeSSTrades               = true; //Take second strength trades?

extern string     StopLossParameters         = "------------------------------------------------------------";
extern bool       TPBeforePSARTrail          = false; //Does take profit need to be reached before PSAR trailing is enabled?
extern bool       TrailWithPSAR              = true; //Take the value of the previous bar's PSAR and updates stop loss if beneficial to trade
extern int        Order01TrailStopAmount     = 30; //Pips to trail once take profit is hit

extern string     EmailParameters            = "------------------------------------------------------------";
extern bool       EmailNewOrdersPlaced       = false; //Send e-mail whenever an order is placed (even limit and stop orders)
extern bool       EmailProfitLossSummary     = false; //Send profit/loss summary anytime order count changes (does not count pending orders)

extern string     MiscParameters             = "------------------------------------------------------------";
extern bool       DisplayProfitLoss          = true; //Display history of trades?
extern int        OrderSlippage              = 3; //How many pips can the order placement vary?
extern int        EAMagicNumber              = 20080706; //Used to determine orders placed by this EA
Revision Notes:
Inserted Code
//+------------------------------------------------------------------+
//| Revision notes                                                   |
//+------------------------------------------------------------------+
/*

Version 1.0e:

   * EA will now only set to break even if stop loss is negative to order

Version 1.0f:

   * AO must comply on second strength trades
   * Combined 2 orders into 1 (now closes half when take profit is hit)
   * Wait for TP or SL before closing with AO (Once TP is hit AO can close trade anytime when criteria is hit)
   * TPBeforePSARTrail added (Does take profit need to be reached before PSAR trailing is enabled?)
   * TrailWithPSAR added (take the value of the previous bar's PSAR and updates stop loss if beneficial to trade)
   * Order01TrailStopAmount added (amount to trail once take profit is hit)

Version 1.0g (131 downloads):

   * DisplayProfitLoss added (Display Profit/Loss on Chart comments?)
   * Added ability to choose different time frames
   * Fixed bug: opens new trades if MT4 is closed and reopened
   * Send E-mail when new orders are placed
   * Send E-mail when order total changes (does not count pending orders)

Version 1.0h (46 downloads):

   * Fixed bug where order stop loss gets set to 0 when order is split

Version 1.0i (195 downloads):

   * Fixed bug where indicators where not being read soon enough when restarting MT4

Version 2.0:

   * Fixed bug with pip calculation on profit display
   * Fixed problem with E-mail display text
   * Modified key areas to work with live accounts
   * Live version made available

Pending additions/changes:

   * E-mail status of EA
      * Order modified, closed, deleted, etc.? (Not sure how far to go just yet)
   * Manage only
   * Place trades only

*/
string Version = "AshFX AutoTrader v2.0";

  1. It is extremely important that MT4 run all week with the charts open and EA attached. No EA can do its thing unless everything is running. That's why you have an EA to trade for you.
  2. The EA will only run on demo accounts. I will release a live version if it pans out to be something.
  3. I will try to post weekly updates at least of the results.

Currently supported brokers:

  1. All

Here are some of my other threads you might find interesting...

"The Pip Nailer" (EA - MTaboneWeb)
AshFX Daily (EA - MTaboneWeb)
DailyHighLow (EA - MTaboneWeb)
GrabMyOrders (EA - MTaboneWeb)
TossUp (EA - MTaboneWeb)
Weekly Open EA

A special thanks to all who have supported this EA and continue to support it.

📦 帖子附件汇总 (63)

以下是回帖中所有共享的附件(63 个,已去重)。

🔐
请登录后参与评论
注册满12小时后评论,即可解锁附件下载
立即登录