This thread is dedicated to the on-going development of the PipNailer EA that I wrote. Please remember that I didn't develop the PipNailer 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 PipNailer system please refer to this thread here...
http://www.forexfactory.com/showthread.php?t=63805
Source Code (Very Important):
Poll: Do I have to share my source code?
Want a version that will work on live and demo accounts?Send me an e-mail: [email protected]
Settings://+------------------------------------------------------------------+ //| 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 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 = 20080709; //Used to determine orders placed by this EA
Revision Notes:
//+------------------------------------------------------------------+ //| Revision notes | //+------------------------------------------------------------------+ /* Version 1.0a: * EA will now only set to break even if stop loss is negative to order Version 1.0b: * DisplayProfitLoss added (Display Profit/Loss on Chart comments?) * Combined 2 orders into 1 (now closes half when take profit is hit) * Wait for TP or SL before closing with AO/AC (Once TP is hit AO/AC 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) * Send E-mail when new orders are placed * Send E-mail when order total changes (does not count pending orders) Version 1.0c (160 downloads): * Fixed bug where order was being closed at the take profit rather than being split Version 1.0d (34 downloads): * Fixed bug where order stop loss gets set to 0 when order is split Version 1.0e (107 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 = "PipNailer AutoTrader v2.0";
- 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.
- The EA will only run on demo accounts. I will release a live version if it pans out to be something.
- I will try to post weekly updates at least of the results.
Currently supported brokers:
- 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.