Expert Advisor - Artificial Intelligence
Expert Advisor - Forex Expert Advisor
Artificial Intelligence Expert Advisor Forex usa una semplice imitazione della rete neurale per produrre i segnali buy/sell e trailing stop.
Non è una vera e propria rete neurale, perché non impara dal mercato.
Invece è necessario ottimizzare per mercato impostando i parametri più vari.
La sua funzione sensibile utilizza l'oscillatore Williams Bill 'acceleratore/decelleratore.
Expert Advisor esegue anche controlli sul margine ancora disponibile per tradare.Il test di questoExpert Advisor con Intelligenza Artificiale per MetaTrader ha fruttato 1.700 dollari
di profitto utilizzando il cambio GBP / USD su time frame orario utilizzando solo 0,1 lotti standard.
E 'stato realizzato su conto standard di $ 10.000 in un anno, con massimo drawdown di 20 $.
Questo Forx EA è stato anche testato su un periodo di tre anni con le stesse performances.MiniFAQ
Quali sono gli stop-loss e take-profit utilizzato da questo EA?
Si utilizza l'80 pip stop-loss, ma non viene usato alcun take-profit.
Si utilizza anche un trailing stop-loss per i suoi ordini.
La media dei trades vincenti è di circa 71 pips, le perdite medie di circa 82 pips.Quanto spesso fa trading?
Su time frame orario con GBP/USD (cambio ottimale) fa 17-18 trades al mese di media.
//+------------------------------------------------------------------+ //| ArtificialIntelligence.mq4 | //| Copyright © 2006, Yury V. Reshetov | //| http://reshetov.xnet.uz/ | //+------------------------------------------------------------------+ #property copyright "Copyright © 2006, Yury V. Reshetov ICQ:282715499 http://reshetov.xnet.uz/" #property link "http://reshetov.xnet.uz/" //---- input parameters extern int x1 = 120; extern int x2 = 120; extern int x3 = 19; extern int x4 = 100; // StopLoss level extern double sl = 80; extern double lots = 1; extern int MagicNumber = 888; static int prevtime = 0; double Poin; //+------------------------------------------------------------------+ //| expert initialization function | //+------------------------------------------------------------------+ int init() { //Checking for unconvetional Point digits number if (Point == 0.00001) Poin = 0.0001; //5 digits else if (Point == 0.001) Poin = 0.01; //3 digits else Poin = Point; //Normal return(0); } //+------------------------------------------------------------------+ //| expert deinitialization function | //+------------------------------------------------------------------+ int deinit() { //---- return(0); } //+------------------------------------------------------------------+ //| expert start function | //+------------------------------------------------------------------+ int start() { if (AccountFreeMargin() < (2*lots*1000)) return(0); if(Time[0] == prevtime) return(0); prevtime = Time[0]; int spread = 3; //---- if(IsTradeAllowed()) { RefreshRates(); spread = MarketInfo(Symbol(), MODE_SPREAD); } else { prevtime = Time[1]; return(0); } int ticket = -1; // check for opened position int total = OrdersTotal(); //---- for(int i = 0; i < total; i++) { OrderSelect(i, SELECT_BY_POS, MODE_TRADES); // check for symbol & magic number if(OrderSymbol() == Symbol() && OrderMagicNumber() == MagicNumber) { int prevticket = OrderTicket(); // long position is opened if(OrderType() == OP_BUY) { // check profit if(Bid > (OrderStopLoss() + (sl * 2 + spread) * Poin)) { if(perceptron() < 0) { // reverse ticket = OrderSend(Symbol(), OP_SELL, lots * 2, Bid, 3, Ask + sl * Poin, 0, "AI", MagicNumber, 0, Red); Sleep(30000); //---- if(ticket < 0) prevtime = Time[1]; else OrderCloseBy(ticket, prevticket, Blue); } else { // trailing stop if(!OrderModify(OrderTicket(), OrderOpenPrice(), Bid - sl * Poin, 0, 0, Blue)) { Sleep(30000); prevtime = Time[1]; } } } // short position is opened } else { // check profit if(Ask < (OrderStopLoss() - (sl * 2 + spread) * Poin)) { if(perceptron() > 0) { // reverse ticket = OrderSend(Symbol(), OP_BUY, lots * 2, Ask, 3, Bid - sl * Poin, 0, "AI", MagicNumber, 0, Blue); Sleep(30000); //---- if(ticket < 0) prevtime = Time[1]; else OrderCloseBy(ticket, prevticket, Blue); } else { // trailing stop if(!OrderModify(OrderTicket(), OrderOpenPrice(), Ask + sl * Poin, 0, 0, Blue)) { Sleep(30000); prevtime = Time[1]; } } } } // exit return(0); } } // check for long or short position possibility if(perceptron() > 0) { //long ticket = OrderSend(Symbol(), OP_BUY, lots, Ask, 3, Bid - sl * Poin, 0, "AI", MagicNumber, 0, Blue); //---- if(ticket < 0) { Sleep(30000); prevtime = Time[1]; } } else { // short ticket = OrderSend(Symbol(), OP_SELL, lots, Bid, 3, Ask + sl * Poin, 0, "AI", MagicNumber, 0, Red); if(ticket < 0) { Sleep(30000); prevtime = Time[1]; } } //--- exit return(0); } //+------------------------------------------------------------------+ //| The PERCEPTRON - a perceiving and recognizing function | //+------------------------------------------------------------------+ double perceptron() { double w1 = x1 - 100; double w2 = x2 - 100; double w3 = x3 - 100; double w4 = x4 - 100; double a1 = iAC(Symbol(), 0, 0); double a2 = iAC(Symbol(), 0, 7); double a3 = iAC(Symbol(), 0, 14); double a4 = iAC(Symbol(), 0, 21); return(w1 * a1 + w2 * a2 + w3 * a3 + w4 * a4); } //+------------------------------------------------------------------+
Articoli Correlati
- Forex Expert Advisor
- Come caricare gli EA nella Piattaforma MT4
- Indicatori Metatrader - Divergenza 2 Medie
- Free Expert Advisor - Envelope Breakout System
- Free Expert Advisor - Correlation-Hedge
- Free Expert Advisor - MakeGrid193
- Free Expert Advisor - KSRobot 1 5
- Free Expert Advisor - KSRobot 1 5
- Free Expert Advisor - Scalper GBP M5
- Free Expert Advisor - Price Channel
- Expert Advisor - Phoenix-5-6-03
- Expert Advisor - My Picky Breakout
- Expert Advisor - Adjustable MA
Expert Advisor MT4
Forex Expert Advisor - Forex Trading automatizzato con un trading system costruito con linguaggio Metaquotes MQL4. Strategy tester per testare le strategie forex. Si possono trovare expert advisor nella comunity.
Guida Server VPS e MT4
Come Configurare un Server VPS per Piattaforma MT4 in cui far girare degli EA su conti live?
Ecco una utile Guida da Scaricare Gratis!






