Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

"The Pip Nailer" (EA - MTaboneWeb) ("The Pip Nailer" (EA - MTaboneWeb))

author EAcpu | 2 reads | 0 comments |
Original thread information:

This thread is dedicated to the continued development of the PipNailer EA I wrote. Please keep in mind that I did not develop the PipNailer strategy. Any questions about actual systems should be posted on the original thread. Please use this thread as a place to post positive suggestions, bugs, and general discussion of the EA and its results.

For information and discussion about the PipNailer system, see this thread here...

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

I've been asked to start my own thread, so I'd like to keep this one about an EA I develop. I don't want to start mixing different versions of EAs written by several other people. Hopefully in doing so, we'll all stay on track and work together, and I'll implement all the ideas I can into EA as long as they enhance the original system and stay true to its source. New EAs can be written for other ideas, so let's keep tracking each idea I develop.

Source code (very important):

Poll: Do I have to share my source code?

set up:
inserted code
 //+------------------------------------------------------------------+
//|Input variables|
//+------------------------------------------------------------------+
extern string TradingParameters = "-----------------------------------------------------------------------------";
External double Order01LotSize = 0.20; //Order lot size (if = 0, no order will be placed)
External int MaxDiffFromOpen = 0; //The maximum difference from the opening price of the current bar, that is, if it is long, it is not more than 10 points from the opening price, and vice versa extern string StopLossParameters = "------------------------------------------------------------------------";
extern bool TPBeforePSARTrail = false; //Does stop profit need to be reached before enabling PSAR tracking?
extern bool TrailWithPSAR = true; //Take the PSAR value of the previous bar, and update the stop loss if it is beneficial to the transactionextern int Order01TrailStopAmount = 30; //Once the stop profit is hit, the tracking pointextern string EmailParameters = "-------------------------------------------------------------";
extern bool EmailNewOrdersPlaced = false; //Send email whenever an order is placed (even limit and stop orders)
extern bool EmailProfitLossSummary = false; //Send profit/loss summary whenever order quantity changes (not counting pending orders)

extern string MiscParameters = "------------------------------------------------------------------------";
extern bool DisplayProfitLoss = true; //Display transaction history?
extern int order slippage = 3; //How many points can the order change?
External int EAMagicNumber = 20080709; //Used to determine the order placed by the EA

Revision Notes:
inserted code
 //+------------------------------------------------------------------+
//|Revision Notes|
//+------------------------------------------------------------------+
/*

Version 1.0a:

   * The EA will now only set breakeven version 1.0b if the stop loss is negative:

   * Added DisplayProfitLoss (display profit/loss on chart comments?)
   * Merge 2 orders into 1 (now close half when take profit is reached)
   * Wait for TP or SL before closing the position with AO/AC (once TP is reached, AO/AC can close the position at any time when the criteria is met)
   * Added TPBeforePSARTrail (does take profit need to be reached before enabling PSAR tracking?)
   * Added TrailWithPSAR (gets the PSAR value of the previous bar and updates the stop loss (if it is beneficial for the trade))
   * Added Order01TrailStopAmount (track amount once take profit is reached)
   * Send an email when a new order is placed * Send an email when the total order count changes (not counting pending orders)

Version 1.0c (160 downloads):

   * Fixed bug where orders were closed on take profit instead of being split Version 1.0d (34 downloads):

   * Fixed bug in version 1.0e (107 downloads) where order stop loss was set to 0 when order splitting:

   * Fixed bug in version 2.0 where indicators were not read as quickly as possible when restarting MT4:

   * Fixed bug in profit display midpoint calculation * Fixed email display text issue * Modified key areas to work with real accounts * Live version available Pending additions/changes:

   * EA's email status * Order modified, closed, deleted, etc.? (We don’t know yet how far we can go)
   *Management only*Trading only*/
String version = "PipNailer AutoTrader v2.0";

  1. It is extremely important to have MT4 running all week with the charts open and the EA attached. No EA can complete its mission unless everything is running. That's why you need an EA to trade for you.
  2. The EA can only be run on a demo account. If successful I will release a live version.
  3. I will try to post at least weekly updated results.

Currently supported brokers:

  1. all

Here are some of my other topics that may be of interest to you...

"The Pip Nailer" (EA - MTaboneWeb)
AshFX Daily (EA - MTaboneWeb)
DailyHighLow (EA - MtaboneWeb)
GrabMyOrders (EA - MTaboneWeb)
TossUp (EA - MTaboneWeb)
Open EA every week

Special thanks to everyone who has supported and continues to support this EA.

pipnailerhistory.gifpipnailerhistory.gifImage5.jpgpsar_settings.gif
pipnailerhistory.gifpipnailerhistory.gifImage5.jpgpsar_settings.gif
pipnailerhistory.gifpipnailerhistory.gifImage5.jpgpsar_settings.gif
pipnailerhistory.gifpipnailerhistory.gifImage5.jpgpsar_settings.gif
pipnailerhistory.gifpipnailerhistory.gifImage5.jpgpsar_settings.gif
pipnailerhistory.gifpipnailerhistory.gifImage5.jpgpsar_settings.gif

📦 Summary of post attachments (1)

Below are all the files shared in the reply (1).

Verification code Refresh