MT4 EA Code Help

MQL4 Experts

Tâche terminée

Temps d'exécution 51 minutes
Commentaires de l'employé
Perfect customer!

Spécifications

 
    

 

I need some help with the code logic above, the EA uses the ASK and BID prices  to determine if to take a trade compared with the EMA High fro Long trades and EMA Low for Short trades. The EA sometimes initiates Long trades from a Bearish candle and sometimes initiates Short trades from a Bullish Candle.

What I need is to add a filter such that

If the  ASK > than the EMAHigh  and the Current price is greater than the CLOSE of the Previous Candle  && (((canTradeImmediately) && (buyGap >= dAsk)) || (New_Bar() == true)))  then the rest of the logic ..... for Long trades

 if the BID < than the EMALow and the current Price is Lower than the Close of the Previous Candle  &&  (((canTradeImmediately) && (sellGap <= dBid)) || (New_Bar() == true))) the the rest of the logic .....for Short trades

 

 

   if((dAsk > EMA34High) && (((canTradeImmediately) && (buyGap >= dAsk)) || (New_Bar() == true)))
      {
         if (checkStoch(OP_BUY) == true && checkRsi(OP_BUY) == true) DoOpenOrder(OP_BUY);
      }
   
  
    if((dBid < EMA34Low) && (((canTradeImmediately) && (sellGap <= dBid)) || (New_Bar() == true)))
        {
         if (checkStoch(OP_SELL) == true && checkRsi(OP_SELL) == true) DoOpenOrder(OP_SELL);
      }
   }
   
   return(0);

Répondu

1
Développeur 1
Évaluation
(1130)
Projets
1432
62%
Arbitrage
21
57% / 10%
En retard
43
3%
Gratuit
Commandes similaires
see trade open on every tick seconde ok forex pair us us30 if is current running at 40170.00 so open 2 trade buy stop and sell stop both in every tick pending order of buy stop will 40171.00 and sell stop pending order will be 40169.00 buy stop will open at 40171.00 and tp will be 40173.00 and SL will be 40169.50 ok if buy stop hit sell stop order automatically will be close now if sell stop order open at 40169.00 so
Hi Teams Looking for trading strategy or an EA, which can trigger trade, in XAUUSD, With fixed SL of 2 USD AND TP OF 3 TO 5 USD. Any strategy any time frames. Can work on lowest size
Looking for a programmer to code EA for Buy Stop/Sell Stop HFT Trading designed for Ger40 EA must be able to trade on live account and Dll must be used for EA speed slippage control and spread filter
I need an mt5 ea based on martingale strategy. Here I need a toggle function on the charts as well to activate and deactivate the ea manually. Developers who have previous experience on martingale and above function are preferred.Apply for more details
Close over MA EA 100+ USD
-Close over - market entry https://www.mql5.com/en/market/product/115942?source=Site+Market+MT5+Search+Rating006%3aehlers#description using this SL- entry wick, with ATR that can be added E.g. EW + 2 atr TP- Option for set RR + trail. E.g. 5RR TP, but also trails via -.1 ATR Close trade if closes back over Ehlers decycler, user input for period - for example, entry is a close over period 100, and a close back over
Sniper EA 70+ USD
I need some help to develop Sniper EA ZAR some one will know to create it please help Robot must trade all currency and any broker 1 to 5 trades daily
I am doing a project in fxdreema in which I am trying to make an EA that detects and draws the bos and choch and also allows the use of other indicators with buttons on the screen... but I can't get it to work correctly to detect the bos and choch and draw them on screen correctly
Telegram 30 - 79 USD
’m looking for a signal copier that automatically shares any position I open on my account through my phone directly to my Telegram channel. This tool should instantly send the details of each trade to the channel as soon as it's executed on my account
Trade methodology based on Red and Green lines entering Overbought / Oversold zone. Using confluence of Higher time frame a trade can enter when there is a strong slope angle. Designed to be an established trend scalping strategy on lower time frames. RSI and TSL must clearly cross, not just touch. Slope settings to be customisable see appropriate indicator for code. Attached indicators / EA · Synergy Traders
i want a forex robot that will read chats and enter trades on its oown. i want it to be able to use all trading strategies and partterns. good risky manegmemt, i want it to forcuse on Gold and and all major forex pairs. i want it to use stop loses and take profits as the market might change direction anytime. i want to work on both mt5 and mt4

Informations sur le projet

Budget
10 USD
Pour le développeur
9 - 9 USD
Délais
de 1 à 2 jour(s)