MQL4 and MetaTrader 4 - page 1053

To post a new topic, please log in or register
hello im trying an expert advisor witch will put a stop loss at every order we put in metatrader regardless of its type. The stop loss will be a standrad amount of pips for every order. 1)I want to be able able to modify the stopp loss after if want to, without it returning to the previous...
I am working on EA, I use two indicators iRSI and iStochastic. I would like to have them both shown in the same buffer. Is there any settings for it? Because by default it shows in two different windows. Thanks a lot for any suggestions whether it is possible or not. Jiri
Hello I have been attempting to convert a few line of VT code to MQL4 but have become stuck on the following. the yellow section is the part I am having trouble with. I think it means if the criteria onNodemand4 is met and NoDemand2 is not then signal is ok. there are 30 sets of criteria to meet...
Hi, Short quesiton... why it doesn't work ?    if (AccountProfit()>Profit) //Réalise de le profit   if (OrderSelect(Ticket1,SELECT_BY_TICKET)==true)   OrderClose(OrderTicket(),Lot,Bid, 3); It seems that AccountProfit doesn't work with "order select by ticket" . When I write orderselect(0,...
Could someone please take look at this code and tell me why it is moving the stoploss in both directions??? Could you also tell me how to correct this problem? I really appreciate your help! if (Bid - OrderOpenPrice() <= Point * TrailingStop) continue; if (OrderStopLoss >= Bid - Point *...
I need some one help to fix this EA Rule: Buy 1. EMA 16 cross EMA 48 UP 2. Laguerre Cross 0.8 Sell 1. EMA 16 cross EMA 48 DOWN 2. Laguerre Cross 0.2 My problem is when open position and close after signal opposit it is not open immediately but it will open after one late bar as the file I attached....
hi i have expert advisor realizing I 3000 pip on 2 day only and without any risk my forward test realizing 30% http://efxexp.mt4stats.com/ expert.fx@hotmail.com
Arithmetic expression or Boolean expression (...and why?) thanks!
double DollarsToRisk = (RiskPercent / 100.0) * AccountBalance();      double SpreadCost = Lots * MarketInfo(Symbol(),MODE_TICKVALUE) * MarketInfo(Symbol(),MODE_SPREAD);//In dollars,verified ok on all pairs!      double StoppLossCost = Lots * SL * MarketInfo(Symbol()...
Hi guys. A lot of person are asking me about the results of my EA. Somebody thinks that the EA is only profitable in backtest, but, I'm sharing the login and password for those that want accompany my results. login: 999337382 pass: t4mlzvw The broker is TadawulFX with 5k. I'm running the EA in an...
I do i write a code to search for the highest high of bar series between the opening of last trading seesion and the close of the last trading session.Thanks forum
  OrderPeriod (10)
Hi to all, In order to close orders in the same peiod I need a command like OrderSymbol OrderPeriod, ant idea ? thanks
Hello, I am new to EA, but would liek to use them on 5 minute bar trading. Issue is that my PC is 265 ms away from the forex server so I expect a massive slippage. So normally I work with limit order. For automated trading this seems to be difficult when I pass a trade, i.e. exit trade. On the...
Hello all, I am looking for some feedback here. I am not ready to dole out the secret recipe and this is still in rough draft mode, but I have been manually trading for the last two weeks with a new idea and well.... it works, at least for now. I am not particularly experienced with Forex, I have...
void LoadSnR(){// function searches the charts for support adn resitance and stores the level in global varibale SnR[] and the amount of times touched in// SnRCount. Global variable BarsPassed counts how many bars have passed since the last check for SnR levels and the function sets as many bars //...
Dear all After read the article of " Using Neural Networks In MetaTrader " . This excellent topic helps much beginer how to work with Fann2Mql.and I found a lot interest in it but .....I can't even download the Installer from the link of this article .(it seems that I could not connect with http...
hi folks! ist it possible to display a price divergence line in a macd indicator? i attached an image, the red line would be my goal. any ideas how to put this in a buffer? thank you, mike
hi guys im looking for a good ea or a ea programer. can you please send me the result and the backtest. i know there a cost to everything.
I look, for one for for MQL4 programmers con-good knowledge with Objects,I pay. pansa
AMBITIONZ
Please email me at :fukojuma@gmail.com.......thank you
AMBITIONZ
HI, FOLKS NEED A PROGRAMMER FOR AN EA!! WHO IS INTERESTED............PLEASE EMAIL ME@...fukojuma@gmail.com sincerely...........
  How to code? (1)
How do I code the stochastic cross above the zero line of my custom indicator?
Hi all, I am looking for help from someone who can code the following trading system: This trading system is an "always in the market" system: To signal a long trade: Short MA > Long MA, RSI > 50, and MACD Fast > MACD Signal To signal a short trade: Short MA < Long MA, RSI < 50, and MACD Fast < MACD...
Hi, I am trying to write a verys simple script that carries out an action on the order that you have selected. And by selected I mean the order that you have selected with the mouse and cursor. At the moment the only way i know how to do this is manually type in teh ticket number into my code and...
I have search all through the MQL4 for topics on auto optimization and have found only one but all download links do not work. Can someone post a link to some sample coding that shows how to optimize an Ea on the fly while it is running without re starting the trading platform. Help is really...
I am trying to use SummaryReport.mq4 from the article "How to Evaluate the Expert Testing Results" (https://www.mql5.com/en/articles/1403), but I get different results for absolute, max and relative drawdown... Most of the time they are zero when using SummaryReport.mq4, but are different in the...
How do you guys reduce volatility when trading mean reversion, is it just through diversification? Most MR systems have big stoplosses.
I want an EA for my MetaTrader where the indicator Bulls is used for my opening and closing logic. Is there a way to do this on my own? With the FSB? (I tried, desn't seem to work, even if compiling shows no errors) Through the MetaEditor? Thanks for all input, new at this as you can tell.
Looking for programmer for EA in MQL. Strategy already implemented in TradeStation EasyLanguage
i just started to learn froex trading plz i need you guys to help me or teach me how or give me materials that can help me learn how to study the froex trade plz,i need help.