MQL4 and MetaTrader 4 - page 1036

To post a new topic, please log in or register
I put 3 pips of slippage A broker who works with 5 digits, as the slippage would be made correctly: 1/ tike=OrderSend("EURUSD", OP_BUY, lts, unoA, 3, 0, 0, " ", 1, 0, Blue); 2/ tike=OrderSend("EURUSD", OP_BUY, lts, unoA, 30, 0, 0, " ", 1, 0, Blue); thanks and greetings to all
If I wanted to open/close a short/long trade using the below criteria, what methodes and/or stratagies would you recommend to me to accomplish following candles: Tail is n % of total Hammer height - input=Minimum percentage of total Candle height represented by the Tail. Long Trade, Open Candle...
Hi there, I'm running the following code in my EA which is attached to EURUSDH1: Print("Trailing Stop is : ",TrailingStop); Print("Ask is : ",Ask); Print("Point is : ",MarketInfo(Symbol(),MODE_POINT)); Print("Ask+Point*TrailingStop is : "...
Hello! i've got some EAs and i installed them on my demo account, and i can't seem to make any of them trade automatically when i uncheck the "ask manual confirmation". if i check it, the order requests start appearing, and i guess it runs fine.. are some EA's built so that they won't work but...
I`m trying to customize the charts. Ran into problems on MetaTrader, Under custom I do not have an option of EMA Crossover, Donchian Channel or QQE Adv.
Dear Forum, I have a strange problem if my EA runs in realtime:after a pending order is changed in a market order I most of the timesget a 130 error. With backtesting this never happend ! I re-read the tutorial. The only obligatory limitation is the following : changing a sell Order: SL-ASK <=...
Experts opinions are always vital so do not loose your money and get assistance to beat the market . Get Trial of 30 Days For detail visit www.fortunatemanagement.com
  30sec chart (2)
anyway to get seconds chart? need to program into my EA for sharper entry.
Has anybody had a run in with the new NFA rule that hedging is not prohibited so its no longer possible to put in a buy and sell in one currecny pair. Does anyone still hedge? I wish I could hedge. Help!
Hello, I have some questions about how works the offline charts on mt4, i would like to receive some clues on how can i start doing this: 1) i need to import csv/txt to hst or offline chart. these will be new symbols, from other markets, not forex. 2) i need to update these charts every 200ms for...
Hi All, I am attempting to backtest an EA, however in order to do so efficiently I need to add a stop loss sunction. Can anyone please provide me with some code to add to my EA? I do have money management EA's, but I cannot run them simultaneously iwith my EA during backtesting. Many Thanks, Rich. P...
  TMA&Cycles (170   1 2 3 4 5 ... 16 17)
Hi, As mentioned in another section ,the intention of this thread is to explain how to use centered Triangular moving averages to gain an edge in the decision making process prior to entering or exiting a trade. Let`s start by the simplest and most important point...How to decide the Half length of...
im new with sigtrader 4 and i already deposite 10usd in my real account.but when i want to trade what should i put the amount in the volume?if i want to buy usd/jpy 2usd what should i put in volume box cause it say that i didnt have enough money....
I have an issue with this indicator... well, i think actually there are more issues about it, but the thing it really stresses me up is that it doesn't work after I put it on a chart. I have to always recompile it after I place it over chart....
Hi, MQL PROGRAMMING will be releasing an exclusive trade copier. The trade Copier known as WEB Copier. The trade copier will use internet interface so that you do not need to fill investor passwords anymore. It will also ideal for EA Sellers. Before the releasement, we would like to have anyone to...
During the last 24 hours, the demo account has stopped giving accurate volume information on the gold charts. The volume is near zero and steady, even during peak hours. This appears to be an error in the database. Any idea when this will get fixed?
I want to learn looping routines in MQL. The below is not about making money, it is about learning how to stick together programming components.. The EA places OP_BUYSTOP and OP_SELLSTOP orders either side of market, and also OP_BUYLIMIT/OP_SELLLIMIT orders either side of the market. The above I can...
Hi, How can I pass an array as a function parameter? There is no Array datatype, so I am lost in trying to do that. Ideally what I would like to do is (I realize that syntax is incorrect): int myCalledFunction([whatever datatype] myArray){ Alert(ArraySize(myArray)); } int callingFunction(){...
hi i have two question 1- how can stick an ea to a chart? 2- for automatic trading when an EA sticks to a chart the computer must be turn on ? thanks
Hello, I'm working on an EA that retrieves the closing price of the last closed bar i.e. bar[1] using the hour timeframe. My initial assumption was that once the hour changed lets say from 11:59:59 to 12:00:00 close price of the bar would be the opening price of the next bar unless a new tick came...
What is the status of order_magic_number when it has not been set? Does it = 0 or NULL or empty?
Say I draw a fibo or any other object on a Daily chart. When I switch to 1 hour ...I have to scroll through the chart and hunt for my object. I can manually click object>show...but that doesn't always work especially when I change to lower time frame. Is there some code I can use in my script that...
how to know what was my last order closed in EA. i want to know wether it is long or short closed
Hello, I`m getting this error : mail:553 5.5.4 <advisor> ... Domain name required for recipients address I've checked all my smtp parameters, etc .. all seems correct the recipients address works just fine ( it`s a yahoo one ) .  In the "to" section there is definitely "@yahoo.com" . Does anybody...
Does anyone know how to set up an ftp site like mt4stats.com ? and also how to set up a vps for hosting ea's? Any help would be great
Hi everyone. Can somebody help me on this? Here is the one of the good indicator JoeChalhoub's forecaster, I need to find in which arrays index those two histograms last bar values are stored. As I figured out, the pink histogram's values are stored in MA1Buffer[], and the last histogram bar's...
What are THESE about...what did I do wrong in my EA to get these journal errors/entries ?? They repeat at every tick...other than these, the EA runs fine.... HistoryBase: not enough memory for "EURUSD1" in AddTick() Memory handler: cannot allocate 155775576 bytes of memory
Guess I'm the newest guy on the block right now. Thing is I know nothing abt computer programing and all related stuff. Unfortunately, technology really makes life easy! I have some ideas I would like to program into a forex Robot but just don't know how. I tried reading the MQL4 manual that comes...
i down an ea,it has a set file, i do not understand what it mean,and how to choose the figures to fill in features box, may you tell me? thank you, setting file as follow : set file: mn=65488 mn,F=0 mn,1=88 mn,2=0 mn,3=0 tp=500.00000000 tp,F=0 tp,1=2000.00000000 tp,2=0.00000000 tp,3=0.00000000...
Hello ; I seen like this indicatoras in the Attachment and I need like this indicator is there any one can Help me please. Thank you