MQL4 and MetaTrader 4 - page 1085

To post a new topic, please log in or register
I have the following command in an EA. The EA is running on nine separate windows. The output of each is directed to its own file. FileWrite(handle,Symbol(),ticket,ordertype,TimeToStr(OrderOpenTime(),TIME_DATE|TIME_SECONDS), TimeToStr(TimeCurrent(),TIME_DATE|TIME_SECONDS)...
I am so dumb I haven't a clue what to do now that I have registered for a demo account. Can anyone advise in SIMPLE language please?
Hi, I'm having trouble creating an indicator that alerts me at the proper time. Goal: To have an indicator that sends and alert and places an arrow on the chart at the exact time that the alert occurs. Only one alert message should be sent. I'm working on creating a stochastic intersection...
Hello, I have good working stratgie and searching for a tradeing partner with enough capital on his account. I would like to get 50% of the win. The strategie is working fast, we can fast see if it dont work good enough, my test show me a drwadown smaller then 10% and a netto win bigger then 3...
Hi, Will you create a "Collection" class in MQL5 ?... One with proper indexing, RemoveAt, AddAt methods & Ordering and so on... This would be SO cool...
Hi guys. I'm new. I pulled some code out of an indicator I found floating around somewhere in order to include it in my EA, but I'm having trouble with it. It doesn't return the same value that the indicator does. I think it has something to do with the way I'm normalizing the doubles and...
Hi folk, was wondering to apply fuzzy logic to trading decsion by mql4 to make trading decsion. any good material to start from? guess many professionals here can provide suggestion. thanks
Hi, I want to attach this code in blue to the moving average EA in metatrader right under it.. Ive spent a whole day and a half trying to get it to work. Maybe you can help? The idea is that right after a trade loses, i want the next trade to increase its lot by x amount.. Thanks in advanced for...
Hi, I'm using the tester and it doesn't stop loading and removing indicator. What does that means? what is it doing? I used the tester for a few days, it was ok. From yesterday on, it takes a lot of time and it displays in the journal that it loads and remove the 2 indicators the EA is calling....
Please visit: http://autotrading-forex.blogspot.com/ Is that any problem? Beacuse the blog pages / links are direct to mql4.com. I'm affraid about legality. Thank's.
hi, does anybody know a good method to find the optimal stop loss? to set it fix seems to be a stupid idea because if you want to trade on different currencies 100 pips could be really much or really little. best regards, mike
Hello, I've been fooling around with the MQL API and I have made an indicator and a EA that uses information from the indicator. Indicator plots potential buy and sell levels but never both at the same time. The EA was made to scalp the M1. What I want the EA to do: Make 1 trade at a time. Set...
Is there a way to accept requotes in MQL4? I have refreshrates() in my script but I still get requotes
there are no compile error with my .mq4 and .cpp but there are a function which return string can't get correct parameter value from .ex4, i have use messagebox to output the parameter before passing to dll, and sure that the parameter value is 2 (integer), but after passing to dll, it change to...
Hi. I want to generate an audio alert based on the color of an indicator which I dont have the source code for. is this possible? It's very simple, just need 2 alerts added for either red or blue showing from the indicator. Thanks for any suggestions!
Hi, I'm looking for an EA for closing a current open position base on MA (SMA and EMA - interchangeable), meaning close position when candle closed above MA (for shorting trade) or when candle closed below MA (for long trade). Any can help me on this? Thanks.
Does any know the CuSum oscillator ??? HERE Cumulative Sum Chart (CUSUM) CUSUM charts are constructed by calculating and plotting a cumulative sum based on the data. Let X 1, X 2, …, X 24 represent 24 data points. From this, the cumulative sums S 0, S 1, …, S 24 are calculated. Notice that 24 data...
I need someone who is amazingly skilled in the MQL4 language for this task, since I have no desire to learn programming myself. So here is the task: I've been trading the Stealth Forex system for some time and have made excellent profits from it. I'm wondering if anyone out there can take the EX4...
I am a new in forex and in meta 4 trader. I was tring to get two different time frams of RSI ex. the daily RSI and the 4 hours RSI in one window. I would apprciate your help in this regard. Thanks
I was courious if there were a line of code I could place at the bottom of an EA script to make it pause for "X" ammount of time. For Example: My script can open up to 5 positions based on the entry rules but...I do not want entries to be too close. is there any way to either pause the EA, or make...
I am trying to create an indicator that pulls values from a *.csv file and displays them in an indicator window as histogram and lines. However it loads very slowly (it pulls the data then needs to match it with the corresponding bars). I understand creating a DLL the pushes the valuesin MT4 will...
Hi all, does anyone have any information on Phy? he used to be a regular contributor on this site. but i have not read any post of his for a long time. any information about him. pips.
Hi, I'm looking for a very simple EA based on candlestick. Te EA has to open a long position after the the close of 5 consecutive bearish candles and viceversa. Also an included martingale will be appreciate. Many thanks Netmastro
i'm trying to write a code that will open 6 trades, 3 buys, and 3 sells. I have a script set to place orders with a Ask/Bid-15, 20, and 25 stop loss, but i want to add a trailing stop with the same values as the stop loss. How do i do this? here's the script - int start() { OrderSend(Symbol()...
my trading systems made 50-150 pips per trade in my manual trading all pairs PM with your email if can code free for me, with proof that you are real EA programmer
I am trying to program an indicator that draws the MN Pivot, W1 Pivot and D1 Pivot, (or additional H4 and H1 pivot, if preferred). I want to also look back on the chart to see if the 'pivot confluence' area is valid. (The idea to program this came from the book FOREX Conquered) on any lower time...
after i code some EA, i believe the most important thing of MT5 is a debugger and when only some condition true, it interrupt the program, and show the variable value besides, how do u debug, besdies Print ?
Hello all, I have been trying to apply expert advisors to execute automatic trading, but for some reason it seems to be very complicated. Does it really need a separate script? Here is what I aim at: I would need your help in setting up expert advisors for auto trading in Meta Trader, for several...
Hello, Could you tell me what the problem may be? When I draw vertical and horizontal lines on e.g.: D1 time frame and change back to e.g.: H1, vertical and horizontal lines disappear. Thanks a lot!
Need Help to create an EA for my Strategy! NEED Help to create an EA for my Strategy! This is BEST Suited for scalping as the market is usually in sideways mode over 80% of the time. I think my strategy will work great, if the EA is implemented correctly. Here it is: Values: Lot Size = 0.01...