There hasn't been much activity on the "Old Dogs with New Tricks" thread save the posts which have begun to detract from the original topic. I have noticed in the tick collection logs that there were 110 unique users this week, so I guess these people are making money.
This is a newer concept EA which is programmed to find its own candle patterns. The pattern finding algorithm is simple: it checks the previous x closed bars and generates a string something like "LLDSSL" that means the bars from right (most recent) to left were long, short, short, doji, long, long.
The EA then scans the chart history looking for a pattern of bars with that exact same sequence. The EA checks x bars after the sequence to see if that bar was long or short. The results are then added to the statistics generated by the EA.
If the likelihood of an event happening is greater than the threshold, the EA will take the trade accordingly.
Settings:
This is a newer concept EA which is programmed to find its own candle patterns. The pattern finding algorithm is simple: it checks the previous x closed bars and generates a string something like "LLDSSL" that means the bars from right (most recent) to left were long, short, short, doji, long, long.
The EA then scans the chart history looking for a pattern of bars with that exact same sequence. The EA checks x bars after the sequence to see if that bar was long or short. The results are then added to the statistics generated by the EA.
If the likelihood of an event happening is greater than the threshold, the EA will take the trade accordingly.
Settings:
- extern string Remark1 = "== Main Settings ==";
- extern int MagicNumber = 0;
- This number should be unique when multiple EAs are attached to a terminal.
- extern bool SignalsOnly = False;
- If set to true, the EA will only alert you to a trade using any combination of the alerts below.
- extern bool Alerts = False;
- If set to true, the EA will send a pop-up alert when a trading signal arrives.
- extern bool SignalMail = False;
- If set to true, the EA will send you an e-mail (assuming you set up your mail in your MT4 Terminal.) when a trading signal arrives.
- extern bool PlaySounds = False;
- If set to true, the EA will play the file, "alerts.wav" when a trading signal arrives.
- extern bool ECNBroker = False;
- extern bool EachTickMode = True;
- If set to true, the EA will take a trade immediately if it sees a signal. If set to false, the EA will take a trade only if there is a signal at the end of the bar.
- extern double Lots = 0;
- Fixed lot size
- extern bool MoneyManagement = False;
- Enables/Disables the lot sizing function.
- extern int Risk = 0;
- The percent of your available margin that you are willing to put into a trade.
- extern int Slippage = 5;
- Maximum slippage allowed when placing an order.
- extern int StopLoss = 100;
- Hard Stoploss in pips.
- extern int TakeProfit = 60;
- Hard take profit in pips.
- extern string Remark2 = "== Pattern Settings ==";
- extern int NumberOfBars = 4;
- The number of bars to use when generating a pattern.
- extern int PredictionBar = 1;
- The number of bars after a pattern string to check a prediction.
- extern int HistoryBars = 500;
- The number of bars to check when searching for matching pattern strings. Set to 0 to use all bars.
- extern int TimeLimit = 10;
- The maximum number of seconds after the current bar opens to place a trade.
- extern int BarsClose = 1;
- The number of bars after a trade is opened to close a trade.
- extern double Threshold = 50.0;
- The minimum percentage required to place a trade.
- extern bool ReverseTrades = True;
- Changes long signals to short signals and short signals to long signals.
Note: This EA is highly experimental and has not yet been proven as profitable. Use at your own risk.
Attached File(s)
Pattern Finder [TD].mq4
28 KB
|
933 downloads