MQL4 and MetaTrader 4 - page 1039

Hi there, second time this happens ? Trading halted ? I can't place orders ? Someone any idea why ?
Hi All, I have been trying to get my EA to place an order with the same previous stop loss size (it is based on a candle low/high) for hours now with no luck. Basically, I would have to store and use the last stop loss value and call it for the order below. Please note the order below is seperate...
Yes Im new that being said Im new to codeing as a rule I trade naked however the pivot points calculater i use has tags I so like its accuracy for my setups problem is the tags on the levels are interupting my vision i wish to have the lines not the tags that read h5 lb target,h4 long breakout
[Deleted]
I am trying to use the method of opening lots based of the percentage of equity I want to risk. Print("Calculating Lotsize");            Balance = AccountEquity();            StopLoss = multiplier*atr24;            Print("StopLoss"+ StopLoss);                     //LotSize =...
[Deleted]
Can you help? I am learning MQL4 and working through the MQL4 tutorials. I have been working on the ROC EA example and have made some tweaks to the code so all it takes for a trade to be made - either opening or closing - is the crossing of one specialised MA(Moving Average) over another. The MA's...
[Deleted]
I WANT TO BE AN IB OF FOREX,CAN ANY ONE PLZ GUIDE ME WHICH COMPANY IS GENUINE AND GIVING LOW SPREAD AND HVE NO SCAM TILL PLZZZ
Normally a bitwise shift operation of 32 bits gives 0x00000000, all bits being shifted out of the integer. I've noticed the code n = n>>32; m = m<<32; lefts n and m variables unchanged though they should be assigned 0x00000000 ! However n = n>>31>>1; m = m<<16<<16; z = z<<31<<31; does the job and...
New article Mechanical Trading System "Chuvashov's Fork" has been published: This article draws your attention to the brief review of the method and program code of the mechanical trading system based on the technique proposed by Stanislav Chuvashov. The market analysis considered in the article has...
Hello traders, I want to make my EA open a position only at the hour bar close price, after the condition has been met. Not immediately the next tick after the condition is met. I have tried using iClose(EURUSD, PERIOD_H1, 0) in place of Bid and Ask in OrderSend but it still opens the position in...
[Deleted]
Hello all, I am having and issue sending rate alerts to my email. I have the SMTP information and have entered my details and in the journal I am getting different error messages. I am getting - a "not enough space error in the journal". Mail:login to smtp.mail.yahoo.com failed If anyone knows...
[Deleted]
HEY GUYS M OPEN AN ACOUNT OF 10000$ BT I DNT HVE 80-90% ACCURACY INDICATOR CAN U PLZZ GUIDE WHICH INDICATOR IS BEST TO USE
[Deleted]
PLZ ANY KNW THAT PLZ GVE ME THANKS...
Hi All,, I have a strange situation as follow: MA1_DN=NormalizeDouble(MA1-ATR1,4); .................. if (OrderStopLoss()!=MA1_DN) { Print("MA1_DN=",MA1_DN," OrderStopLoss=",OrderStopLoss()); OrderModify(OrderTicket(),OrderOpenPrice(),MA1_DN,0,0,Red); } It returns : 15:25:40 2005.03.31 01:00...
After attacking the graphic indicator TrendLine were formed between the black lines and gray candles. It does not happen on all TF. they are formed on the market. I know what they mean? Thanks and sorry for the trivial request
[Deleted]
Hi, is there any way to get live commodity & financial futures charts into MetaTrader4? Ideally I'd like to feed this data in from InteractiveBrokers whilst using Oanda for FX AutoTrading, does anyone know if this is possible? Thanks a lot, Ye Ling
[Deleted]
Hi, I managed to setup an email alert and it works fine till today. I receive an error message "mail: not enough space...." Anyone knows how I can rectify this? A million thanks!
Hi, Do the Limitaions of the Backtest Expert-Setup window (it has three tabs: Testing, Inputs and Optimization) really work (and how)? I tried to use e.g. "Maximal drawdown". :( So I first enabled "Maximal drawdown" and then tried to change the default value 70 to 90. But as soon as I left the value...
  EA 2009  (4)
I have this EA, but know very little about programming. i would like it to turn on/off long and short orders based upon a certain ask/buy price. i know it is possible but do not know how to accomplish it. any help would be appreciated.
[Deleted]
I am using the bbsqueeze indicator as part of an EA I am building and yesterday a strange thing happen; at somepoint, while I was writing the EA the indicator, which has been working fine both on its own and as part of the EA stopped working correctly in the H1 time frame but only on the two pairs...
Hi folks How can I define that an indicator begins at the start of a month an ends with the last day of the month, then starts with a new illustration for the next month. For example: 1st of April: the maximum of the momentums (march to april) of two pairs is measured and for april the ATR of this
Hi, Im building my first ea and would like some help figuring out how to call the Forex King STS Indicator from the EA i want to use the MA1, MA2 values and also their "trend-range" module. Attached i have posted the indicator i pretend to use, the signal will indicate when to close my trades, if...
If I call a custom indicator in an EA using iCustom, what price is used (O,H,L,C) to calculate the indicator value? Is is 'close' price by default?
[Deleted]
  buffer issues :(  (24   1 2 3)
Hi guys... Im trying to learn how to use buffers properly in a custom indicator call... so I found an indicator that plots multiple HA on a single chart and I wanted to code an indy that will make an alarm when the color changes... here is where things get weird coz I can get it to work...
[Deleted]
hello guyz, i lost my money in forex market bcz i always always using new indicator bt plz plz plz can any having zig zag will not jump i want indicator which is fixed on zigzag plz anyone hve then plz gve me...
HI,I want to send some data to a php webpage and get the information there. I think that If i can do that with requesting a webpage and get the data with GET method.for example send a request to "http://www.test.com/index.php?a=1&b=2" .I need a code for that in metaeditor 4 . Thanks
New article Econometrics EURUSD One-Step-Ahead Forecast has been published: The article focuses on one-step-ahead forecasting for EURUSD using EViews software and a further evaluation of forecasting results using the programs in EViews. The forecast involves regression models and is evaluated by...
  Showing gaps  (6)
Hi, I tried the following code to show my gaps: for(counter = GapsDistance; counter >1; counter--){   if((iClose(NULL,PERIOD_D1,counter)-iOpen(NULL,PERIOD_D1,counter-1)) > GapsMin*pips2dbl && (iClose(NULL,PERIOD_D1,counter)-iOpen(NULL,PERIOD_D1,counter-1))<GapsMax*pips2dbl )...
  getting info from arrows  (14   1 2)
hi I am wondering if someone can point me to some info on how to get an arrow from an indicator to be read by EA while the code would be nice I would be happy with just a place with this sort of information I haven't found anything from my efforts so far Thanks in advance
[Deleted]
Hi, I am a newbie at this so please be patient. I am practising on an EA that uses an external indicator to pass variables to the EA. However, after coding the EA it will not compile as there is an error message stating "variables not defined". How can I get the EA to compile. Here is the relevant...
Hi, I tried calculate my MAs and my there indicators only with the prices from 9:00-17:30. Does anybody has an tip or an code example?