MQL4 and MetaTrader 4 - page 1079

To post a new topic, please log in or register
Help me understand something. Let's say I am looking at 1 hour charts. I have RSI (14) indicator on the bottom. How can the indicator be a line chart? I mean for a particular hourly timeperiod, as the price varies, RSI also fluctuates in some range right? So doesn't it make more sense to have a...
I have an EA, which sets up 1 BUY and 1 SELL order every day. If one of the pending orders is opened and it hits either its TP or SL, I want the EA to pick this up and close any other existing pending orders. How can I check if an order has been closed today?
I occasionally //+------------------------------------------------------------------+//|                                    Manage open trades by ATR.mq4 |//|                      Copyright © 2009, MetaQuotes Software Corp. |//|                                        http://www.metaquotes.net...
  time working (16   1 2)
hi guys somebody know if it's possible to introduce a time working in each EA ?? for example.....if i want to work only beetwen 7:00 am and 5:00 pm ...... i have tried with some varables but it doesnt work . can you help me please?? thanksssssssssssss Giulio
I get this message when I try to modify a trade... Can anyone tell me what is going on?
Hi, I was wanting someone to help me by writing me a script which does the following: -Sell 0.1 lots at the current price. -then place the folowing series of pending sell limits: ---0.1 lots at 10 pips above initial sell price ---0.2 lots at 10 pips above previous sell limit ---0.2 lots at 9 pips...
How do you find the last high and low between certain times? For example every morning at 0700 GMT, I want to find the high and the low between 2200 the day before and 0659 and display it. I know the time I will be running the code so could count candle but I'd prefer exact times. if i use...
Hello I have been looking for an EA that opens a position every 1min. if the current price is above the open then buy if below then sell. Close all on the open of the new bar. Has anyone done anything like this before if so what where the results ? Cheers Kiwi
Hi, i konw there is a possibility to get the current time in mili seconds but i can't remeber how....
Why is chinkou_span always zero in the following: double kijun_sen=iIchimoku(NULL, 0, 9, 26, 52, MODE_KIJUNSEN, 1); double chinkou_span = iIchimoku(NULL, 0, 9, 26, 52, MODE_CHINKOUSPAN, 1); The kijun_sen value is correct, but chinkou_span always equals zero. Anyone else see this??
I am looking for a programmer to code my EA. I have developed my own mechanical trading system for day trading the M1 and M5 time frames. The system works extremely well on manual back testing and demo trading both of which I have done extensively. However, it's not feasible for me to day trade...
Hello All, This is my Weekly Pivots indicator. Please check the values if you wish use it. //+------------------------------------------------------------------+ //| Weekly Pivots.mq4 |...
  Weekly Pivots (1)
Hello. In the online database are some pivots indicators, and some of them let you setto use local time (or GMT correction) instead broker time. But there is no one one to calculate weekly pivots. There are some indicators code in another forums. I´d take some code, added some deleted some etc....
Does anyone know what exactly is the Profit Factor and the Expected Payoff? Or how is it calculated? What numbers would be accepted as a good EA? So far, those numbers are just numbers for me, but would like to know what they exactly mean, so if you have a idea, please share it.
  iMAonArray (1)
I have been trying to use iMAonArray function now. While looking at the following syntax, I am not very clear on how to set total and period parameter correctly. double iMAOnArray( double array[], int total, int period, int ma_shift, int ma_method, int shift) total -...
I'm using this line in my code: double yellow=iIchimoku(0,0,9,26,52,MODE_CHINKOUSPAN,0); and the result is always zero (0) in yellow variable. Can anyone help me with this issue? Thanks
I am trying to position a set of OBJ_TEXT objects in the centre of the chart space. i.e the Y postion set absolutely and not based on any reference to price. ObjectCreate(MyTEXT[i], OBJ_TEXT,0,Time[i],Open[i]; is what i have been playing with, but i dont want the text to show at the open, but in...
Hi All, I have just about exhausted the search function to look for a particular trades analysis script which looked back through the trade history and produced a well formatted report in a file, detailing a lot information about the trading system including profits, losses, max drawdown etc etc. I...
Hi Folks, Need some help please. I trade fully automated over 30 pairs. 500 or a 1000 trades a week is not unusual. Now to go work out which pairs are making a profit and which not, i have to go dump all of that in an excel spreadsheet and then sort the data by pairs, by time periods, by winners...
Please review our EA http://fpf123.mt4live.com/ Our Website: http://www.fpftrade.com http://www.fpftrade.net http://www.fpftrade.org
I have developed an EA that scalps the market with many trades with about 84% accuracy. Backtest of 4 months. Start Balance: $1,000 Total Profit: $53,000 Of course this is just a backtest... but it uses 90% modeling quality AND I have manually checked every trade it has taken to see if it makes...
hi all, i äm still learning coding. and i presently need help to write the following functions or code RSI 14,close on bar 1 Exponential Stochastics 5,3,3, main value, close-close, on bar 1. thanks for any helpful reply.
I manage over 200 MT4 platforms for clients, across 4 brokerage feeds, Each MT4 is forward testing a proprietary EA on demo accounts all standard installation updated to build 224 all one chart profiles all with same EA input parameters all 10K initial account The average memory usage for an MT4...
Hello, I have sometimes a problem with the High_Low ZigZag Indicator which Iuse. The problem is show on the pictures wich I attached here, sometimeswhen I shut down my terminal and restart it then the indicator drawsnot correct lines first when I restart the indicator it draws againcorrect. Has...
any one know what the problem here is? im doing a simple Dashboard indy that creates objects on the chart...i want the objects to change color accroding to differing market conditions...and i get this error half way thru coding!!! I know it says simplify the program but its only 814 lines of code.....
will try to explain this the best I can. I need an ea that will first close all orders at profit second a trailing stop added third a close orders at loss Here seems to be the tricky part when the ea hits the trailing stop atwhatever i input lets say 20 pips, now I want the option lets say themarket...
Hello everybody, is here somebody who can help me tweaking this EA? It is based on Heiken ashi smoothed indicator. My problem is that this Ea opens trades imediately, when it can and i want to change this. Can somebody tweak this Ea that way, it will open trades onlôy on the change of color? For...
I am just a newbie in programming mt4. Can somebody help me in changing the values of input variables... I've tried changing the values in the input tab inside the properties window(F7) before running the program but when I start to execute it, the value returns to the default value. I also tried...
  3800% ROI in 2 weeks (13   1 2)
This is my live result
Hello All. I am o.k. with creating a file and writing to it. handle1 = FileOpen ("details.csv", FILE_CSV, ',') ; handle2 = FileWrite ( handle1, ticket, lot); But if I try to write to the same file and add information to it, without deleting what is already there I...