Create a Expert Advisor that can use deepseek

명시

I want a EA that I can apply to a chart and it will evaluate the historical date using deepsaeek(deep thinks) ai but I want itnto take trade using the methodology in a pdf that I have https://acrobat.adobe.com/id/urn:aaid:sc:VA6C2:eaacada6-568e-4c5e-8574-9c423609413f . But I also want it to be some type of box to be able to type and talk to the ai while one the chart. https://github.com/deepseek-ai/DeepSeek-V3


Also I have a base


//+------------------------------------------------------------------+

//| WyckoffEA.mq5 |

//| Copyright 2023, Based on Wyckoff Method |

//+------------------------------------------------------------------+

#property copyright "Wyckoff MT5 EA"

#property version "1.00"

#property strict


#include <Trade\Trade.mql5>

CTrade trade;


// Input Parameters

input double RiskPercent = 1.0; // Risk per trade (%)

input int ATRPeriod = 14; // ATR Period

input int MinRangeBars = 20; // Min range bars

input double VolumeMulti = 2.0; // Volume multiplier

input int TrendMA = 200; // Trend MA period


// Global Variables

double lotSize;

ulong magicNumber = 20231001;

int atrHandle;


//+------------------------------------------------------------------+

//| Expert initialization function |

//+------------------------------------------------------------------+

int OnInit()

{

   atrHandle = iATR(_Symbol, _Period, ATRPeriod);

   trade.SetExpertMagicNumber(magicNumber);

   return(INIT_SUCCEEDED);

}


//+------------------------------------------------------------------+

//| Expert tick function |

//+------------------------------------------------------------------+

void OnTick()

{

   if(Bars(_Symbol, _Period) < 100 || !IsTradeAllowed()) return;

   

   CheckForWyckoffSignals();

}


//+------------------------------------------------------------------+

//| Main Wyckoff Logic Controller |

//+------------------------------------------------------------------+

void CheckForWyckoffSignals()

{

   MqlRates rates[];

   CopyRates(_Symbol, _Period, 0, 5, rates);

   

   // Check existing positions

   if(PositionSelect(_Symbol)) return;

   

   // Detect Accumulation Pattern

   if(IsAccumulationPhase(rates))

   {

      double springLow = DetectSpringLow(rates);

      double entry = rates[0].close;

      double sl = springLow - GetATRValue();

      double tp = entry + (entry - sl) * 3; // 1:3 RR

      

      if(entry > sl && entry - sl > _Point * 10)

         ExecuteTrade(ORDER_TYPE_BUY, entry, sl, tp);

   }

   

   // Detect Distribution Pattern (similar structure)

   // ...

}


//+------------------------------------------------------------------+

//| Accumulation Phase Detection |

//+------------------------------------------------------------------+

bool IsAccumulationPhase(MqlRates &rates[])

{

   // Check market context

   if(!IsDowntrend()) return false;

   if(!IsTradingRange(MinRangeBars)) return false;

   

   // Check Spring characteristics

   if(rates[1].low < rates[2].low && 

      rates[1].close > (rates[1].high + rates[1].low)/2 &&

      IsVolumeSpike(rates[1].tick_volume))

   {

      // Confirm SOS

      if(IsSignOfStrength(rates[0]))

         return true;

   }

   return false;

}


//+------------------------------------------------------------------+

//| Volume Spike Detection |

//+------------------------------------------------------------------+

bool IsVolumeSpike(long volume)

{

   long avgVolume[];

   CopyBufferTickVolume(_Symbol, _Period, 0, 20, avgVolume);

   

   double avg = 0;

   for(int i=0; i<20; i++) avg += avgVolume[i];

   avg /= 20;

   

   return volume > (avg * VolumeMulti);

}


//+------------------------------------------------------------------+

//| Sign of Strength Detection |

//+------------------------------------------------------------------+

bool IsSignOfStrength(MqlRates &currentRate)

{

   double bodySize = currentRate.close - currentRate.open;

   double candleRange = currentRate.high - currentRate.low;

   

   return (bodySize > candleRange * 0.7) && 

          (currentRate.close > currentRate.open) &&

          IsVolumeSpike(currentRate.tick_volume);

}


//+------------------------------------------------------------------+

//| Trade Execution |

//+------------------------------------------------------------------+

void ExecuteTrade(ENUM_ORDER_TYPE type, double price, double sl, double tp)

{

   double riskAmount = AccountInfoDouble(ACCOUNT_BALANCE) * RiskPercent / 100;

   double tickValue = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_VALUE);

   double pointValue = SymbolInfoDouble(_Symbol, SYMBOL_POINT);

   

   double riskPips = MathAbs(price - sl) / pointValue;

   lotSize = (riskAmount / (riskPips * tickValue));

   lotSize = NormalizeDouble(lotSize, 2);

   

   trade.PositionOpen(_Symbol, type, lotSize, price, sl, tp, "Wyckoff Accumulation");

}


//+------------------------------------------------------------------+

//| ATR Value Getter |

//+------------------------------------------------------------------+

double GetATRValue()

{

   double atr[];

   CopyBuffer(atrHandle, 0, 0, 1, atr);

   return atr[0];

}


//+------------------------------------------------------------------+

//| Trend Detection |

//+------------------------------------------------------------------+

bool IsDowntrend()

{

   double ma[];

   CopyBuffer(iMA(_Symbol, _Period, TrendMA, 0, MODE_SMA, PRICE_CLOSE), 0, 0, 2, ma);

   return Close(1) < ma[1] && Close(0) < ma[0];

}


//+------------------------------------------------------------------+

//| Range Detection |

//+------------------------------------------------------------------+

bool IsTradingRange(int bars)

{

   double highs[], lows[];

   CopyHigh(_Symbol, _Period, 0, bars, highs);

   CopyLow(_Symbol, _Period, 0, bars, lows);

   

   double rangeHigh = highs[ArrayMaximum(highs)];

   double rangeLow = lows[ArrayMinimum(lows)];

   

   return (rangeHigh - rangeLow) < (GetATRValue() * 2);

}

응답함

1
개발자 1
등급
(29)
프로젝트
33
27%
중재
20
10% / 50%
기한 초과
11
33%
무료
2
개발자 2
등급
프로젝트
0
0%
중재
1
0% / 100%
기한 초과
0
무료
비슷한 주문
i have existing EA but its decrypted i dont have its source code , i want you to decrypt the EA and give me the original source code of it
Hi gentlemen, I want MT5 market orders placed (open and close orders) on MEXC trading through web browser. MEXC doesnt allow algo trading. - Need source code budget: USD 50 (quote me your price and delivery time) I need this at the earliest and this job is only for mexc.com, not binance or any other exchange I look forward to your price offer and your suggestions. Appreciate
//+------------------------------------------------------------------+ //| UltraBot_MT5_EA.mq5 | //| Copyright 2026, UltraBot Algorithmic Engine | //| Brokers: RCG Markets & Razor Market | //+------------------------------------------------------------------+ #property copyright "UltraBot Automated Algo" #property link "https://ultrabot-mt5.app" #property version
https://www.youtube.com/watch?v=xMNx8f-aGQE&amp ;t=56s risk 1% per trade watch the video carefully and automate the trade setups in XAUUSD i prefer picking the least drawdown and good return expert advisor do not use overfitting(Strict) account type : hedging
Project: Custom MT5 Day Trading Expert Advisor I need a custom automated trading robot (EA) for MetaTrader 5, developed in MQL5. Markets: - Gold (XAUUSD) - Selected Forex pairs Trading style: Automated day trading. All positions should be closed according to predefined strategy rules and before the end of the selected trading session. Strategy: The developer should propose a clear trading strategy, explain its rules
Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit
1. Overview Build an MQL5 Expert Advisor for MetaTrader 5 that trades XAUUSD (Gold) as a scalper, using Heiken Ashi candles and a 50 EMA for entries. 2. Platform and symbol MetaTrader 5, Expert Advisor (.mq5 and compiled .ex5) Symbol: XAUUSD (must work with broker suffixes, e.g. XAUUSDm) Default timeframe: M5 (configurable; M1 to M15 should work) 3. Indicators Heiken Ashi candles, calculated inside the EA (no
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Description I need an Expert Advisor (EA) for MetaTrader 5 (MT5) that can automatically trade Gold (XAUUSD) and major Forex pairs. The EA must analyze market conditions, open and close trades automatically, manage risk effectively, and be fully compatible with the MT5 Strategy Tester
Hi i'm looking for a trading bot that will trade on mt5/MQL5. The bot must be able to follow trend and works on any pair,chart and symbol. All distance measured with ATR. Trend from a higher time frame (default H1) with a moving average;UP/DOWN. Support and resistance found automatically from recent swing highs and low nothing drawn on the chart. Two kinds of trades, each can be switched on/off. S/R trades; price
I am looking for an EA using MT5, trading XAUUSD on PuPrime-Live6, Standard account. LIMITATIONS No martingale, no grid. Start equity 1000 EUR. Leverate 1:500 Account in USD. PuPrime-Live6 All settings (risk, time, drawdown %, cooldown, lot size) shall be adjustable on init or backtest. VERIFICATIONS The EA needs to reach the profit goals on Actual Ticks, 100ms slippage in backtests for each month 2026. profit goal

프로젝트 정보

예산
30 - 100 USD