MQL4 and MetaTrader 4 - page 1047

To post a new topic, please log in or register
If i had an Open Buy with SL is 150, how to make Open Sell based on that Open Buy when "floating Lost" reach 15? So first Buy doesn't liquid yet, but when reach -15 on profit table, open new Sell. Is there with same idea or higher knowledge can help me? Thank you so much. I love you, you love me, we...
Hi there, I have this code: int U() { double telo= MathAbs(Open[1]-Close[1]); double knothorni=High[1]-MathMax(Open[1],Close[1]); double knotdolni=-Low[1]+MathMin(Open[1],Close[1]); int res; double otevritza; int expiration=CurTime()+PERIOD_M15*2;...
i have some problems with an init() function when i test it on EUR/USD it acts like 123<123 is true and when i test it on USD/JPY is acts normal here is the code: #property copyright "" #property link "" extern double levelcount=30; extern int p = 3; double level[20];...
[URL=http://onix-trade.net/?act=monitoring_stat&xid=12175][IMG]http://www.onix-trade.net/ext/userbar/6871.gif[/IMG][/URL]
Hi all, I'm not able to compile any file, I get this msg, "metalang.exe has encountered a problem and needs to close. We are sorry for the inconvenience." The profile is empty or one chart with no custom indicators on the chart, still the same error. I'm using windows xp pro. Built 225 any...
Hi All, I am going to switch with MT4 testing/optimization from my 2.5 Centrino 2 duo laptop (4gb ram, 7200rpm hdd) to a desktop. What kind of configuration should I choose to boost my performance with testing? Is i7 platform worth going for. I read that i7 quad core processor is actually installing...
Hallo world! I'm trying to build an ea, it works fine but i'd like to plot on the chart the indicators used without insert manually each time so just for monitoring the right execution. Anyone can give me an hand? Regards Giancarlo
Hello Experts! I wont test expert AIS2TR from SAFIN but richt nothing-whot mien Take Factor=1.7 ?? i wont 25E whot value of Take Factor is that ??? Thanks pansa
  One Financal (1)
I’m now with One Financial – all seems pretty stable – fixed spreads, wide product range, plus they are doing an MT4 relaunch offer at 1 pip euro and 10% trading bonus. Will let you know how it goes but would appreciate any comments.
  Backtesting (1)
I did a search, but did not find the answer I need. Anyway, I am doing backtesting. I have imported a whole year of M1 data into the MT4 history center but NOT in the MT4 backtester yet. How long does it take backtester to completely get data from the MT4 history center? My computer is Intel Quad...
I have meta trader with the bulls and bears power indicators. The settings for each one allows the user to select open and close. Does this mean that for example if you were working on an hourly chart and you changed the setting to open for Bulls or Bears power, then you would see what the value...
Moving Average EA Logic: - Always in market and holding trade based on prevailing trend. - Check for signal once per new bar. ** I think this is not working. (See attached picture of backtest) - Signal triggered if Closing Price of Previous Bar crosses the 5 EMA in the opposite direction. - Action...
Hi, I was wondering if anyone could help me write an EA for a strategy that I've been messing around for a while. It's an "always-in" strategy where you go long when the 6-period EMA of close crosses above the 7-period EMA of open. You close the position and go short when the 6-period EMA of close...
Hello my name is Marlon and I'm from Spain I'm new to this the programming .. I'm trying to create a "script" simple, following the examples of the page, I did this: //+------------------------------------------------------------------+ //|...
dear forum, good morning from vienna, austria, europe szenario: i am tradinng a symbol and my accountcurrency is a different currency from the ones in the traded symbol so i want to to do some computations from the quote currency to my accountcurrency here some coding: //...somewhere in the init...
Was just doing some one shot/hotKeyed Buy,Sell scripts with TrailStops and thot would be fun to see comment area 'objects' which changed in sympathy to open trade. Was thinking how great to trim rightmost zero decimal digits. Unable to source it so... After a bit came up with below. Anyway... might...
Hi, Can I modify spread and symbol properties l? Thanks a lot.
Guys, I am quite a newbie in the world of programming. I have been trying to get myself familiar with MT4. I am at the beginning of the long journey I beleive. I have been following the path of https://book.mql4.com This morning I copied the program described here: https://book.mql4...
Is there anyway to list some HTML in an indicator? I have a calendar that I want to display in metatrader without having to go to the website every few hours.
who can sell me unifeeder. I already contaced MetaQuotes, but nor replay. I guess their spam filter have som problems. Regards, Fox
I find it interesting that when you read a published article here, written online, buy someone that appears brilliant, a true scientist, they never return emails. Are the brilliant so inundated with work, that they don't have time for the little guy anymore. If that indeed is the case, how does the...
Hi coders, there's an inquiry i have tried to solve without success: I need to exchange information between two different MT4 consoles. Let's say i want to compare the spreads on real time of two differents MT4 consoles: Steps: 1) I build the DLL_1 for MT4_1, which holds the necesary data for...
If I Had A Profitable Expert Advisor I Would Never Upload It To CodeBase . Who would???? muahhahahahahaaaaaa
itum
Hello! I have a business proposal for the trade! I have acommercial counselor EA. It follows you open the account (your choiceDealing center), give me a login and password. Then we will start totrade in shares will receive the money 60% of the proceeds to you, me40%. Here are my coordinates -...
Do yu need to use RefreshRates() before using MarketInfo(symbol,type)? Specifically, assuming that the EA is attached to EURUSD chart, if I use: bid_price = MarketInfo("EURUSD",MODE_BID); Will it be EXACTLY the same result as: RefreshRates(); bid_price = Bid; What is a more recommended method? Is...
Hi I am interested in putting some of my trading ideas into a EA. They are only based on price action no moving averages or indicators involved. Would like options to only trade 07.00 to 20.00 London time a funtion to only enter long or only enter short positions (in a trending market) or both in a...
hey!!!i'm new at this forum and I have the problem: int Crossed (double line1, double line2) { static int last_direction = 0; static int current_direction = 0; //Don't work in the first load, wait for the first cross! static bool first_time = true; if(first_time == true)...
Greetings to One & All, I am promoting the idea that everyone that is making good profits from successful AEs that others freely publish and share that we ALL start paying 1% of our net ForEx gains from these EAs to either the Authors of them or whomever else they would like it to go to. This small...
is there anybody who can tell me why this loop gives problem when backtesting : if(TP_ameliore==true && OrderSelect(ticket,SELECT_BY_TICKET)==true) if (Bid>(OrderOpenPrice()+takeprofit*Point) && OrderType()==OP_BUY) for(int i=0;i<=1000;i++) { double previous_tick_on_bid=Bid; while...
Hi Does anyone know where I can get an Elliot wave oscillator? Cheers, Kaz.