General - page 1718

Hello all! Is it possible to get a moving average indicator of the daily pivot points with a variable period? For example, it would be plotted as a line representing the average of the previous x number of daily pivot points. For instance. The last 3 days daily pivot points (as calculated at 1700
  Random Generator  (3)
Does anyone know how I can set a random variable? I'm trying to simulate a coin toss, so if variable = true, then buy, and if variable = false, then sell. I would imagine MathSrand and MathRand is used, but how?
Hello, I am working on modifying this code from "My first EA lesson" to return 1 the entire time the short moving average is above the long moving average, instead of only once at the crossing of the two. Any Ideas? Best Regards, Dale int Crossed (double line1 , double line2) { static int
I had to reinstall MT4 due to profiles not loading on opening up MT4. I zipped up the old directory before deleting it and now want to see if I can import the old charts with trendlines already drawn into the new installation. Is there a way to accomplish this? Thanks for any help.
[Deleted]
Anyone that thinks backtesting and optimization is useless doesn't know much about forex. If you don't understand the past how can you have any chance of forecasting the future? Anyone that thinks you can buy an EA and stick it on a live account and make money is a lazy, greedy idiot. Anyone that...
  TEMA  (5)
Dear friends I like to use TEMA in MT4.Do anybody knows how can install it ? Best regards
  Text messages  (4)
To All, I was wondering if it is possible to have a text message sent to my phone once an alarm is hit using the MT4 software. If not, is there any free software that I can use to send text messages to my phone. Thank you in advance for your time and help. Sincerely, Mike
Hi, This is a foward post from some forum,hope this strategy helped and please give some comment,i hope every body try this system and help us to improved this system.. I will tell you in plain english how you can make 20 pips on almost every trade you do. Here is an example you can try as much as...
It's gone off the face of my platform. I've tried taking all the charts and toolbars off and putting them back on, reinstalling, deleting profile files, everything I can think of. Any other ideas?
IT's possible to use the method of control point in the strategy to tester to approximate values of the variables (when there are a lot of variables to calculate) and then refining the values testing with Every Tick? Or it is not recommendable? Thank you.
I want my EA to call a function in a dll, but the MetaQuotes server does not allow my EA to call a function in a dll in my demo account. IsDllsAllowed() returns false. So why not, MetaQuotes?
  Other platforms  (18   1 2)
Before finding this forum, I had concluded that MetaTrader is the best platform. Obviously, with the programming capabilities and all. Some brokers charge for API support. There is Gain that has free API support, but, you are locked into Gain if you go that route. But, I have seen a few mentions...
I would like to open a new thread exploring time based pattern analysis. As a base for the thread we can start reading my article at mql4 which investigate best trading hours using metatrade 4 for analysis. Using MetaTrader 4 for a Time Based Pattern Analysis - MQL4 Articles Starting from this base...
Is there any possibility for Ord() and Asc() function without using importing dll?
  MA Candles  (66   1 2 3 4 5 6 7)
As requested let me know if you need anything else done with it - i have included a very simple Comment so you can see the MAs being used. 7/02/2008 Updated code to have shift values under the inputs. ma_candles.mq4 [attach]53834[/attach]
Hi Scorpion Hey I have what may be a great trading indicator in mind and I thought may be you would consider programming it into a MT4 indicator. Here's the thought. Take the SHI-Channel indicator and re-write the program to have two channels showing at once. For instance, a setting of zero (0)...
I tried asking this once already, and the admin moved the post to the programming forum. Its not a programming question, it is simply a question on how to use MetaTrader. Is there a better forum for simple MetaTrader usage questions? It should be an easy question, but I can't figure it out. Say I...
Hi, I have noticed that there are circumstances at the moment due to the significant interest rate differentials we have between various countries, whereby a hedged carry trade can be opened utilising 3x crosses. I opened a couple of demo accounts to trial my theory about two weeks ago and thus far...
for any of you who plan on moving to autotrading on Interactive Broker or who already are struggling: for beginners who has no prior language exposure, Excel VBA was a good pick. but its not easy! IB API is very poorly documented and DDE is virtually completely ignored in most cases by IB's support....
Hi, I downloaded, at history center, the data of EUR/USD 1M. It downloaded more than 3.500.000 bars and at history center it shows something like that: "65.000/3.500.000 records" When I export these records, it only exports 65.000... how can I export all of the downloaded data? thanks
I am looking for any mt4 brokers that offer USDEUR. Looking at ISE currency options are like this and a bit confusing when comparing to EURUSD on a real time basis--should I buy a call or a put
  Multi Dynamic Trend  (21   1 2 3)
This is not intended as a tease i just thought that i would post a screenshot of my latest TREND indicator, i am currently working on a security code to protect my investment in time and will post a trial version when that code is completed and tested to my satisfaction This Dynamic trend display
Any expert here can create/modify a Martingle code, that make pending order for buy/sell just only for size 0.10 not double it like .10,.20,.40,.80,1.60......? Thanks
  Probability indicator  (15   1 2)
Hi, I would like to ask you, if exist an indicator that have as input the number of pips that you want gain, and as output the percentage of success about target. I don't know which indicators could be used for this purpose. I'd like that this indicator worked on 5min time frame. If it don't exist,...
I put some info on the screen with OBJ_LABEL, but the values is hard to see due to the graph in tha background. So, I want to put a background right where the values are... and trying to do this with OBJ_RECTANGLE. Can I somehow get the rectangle "fixed"? Like using OBJPRO_XDISTANCE? My problem...
Hi I attached two charts. I need an alert whenever stochastic %K and %D lines cross each other above 80 or below 20 as shown in 4H picture by blue arrows. Also, I need another alert (seperate from the above - I need them to be two different indicator files), whenever both stochastic %K and %D lines
  What is 200SMA?  (3)
Hi all Does anyone know what is 200SMA and 3SMA? Thanks.
Hi, How i must understand this sentence that selects an order when it makes reference to the Magicnumber. This is the script (what it does?) // Order Management // for(cnt=OrdersTotal();cnt>=0;cnt--) { OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES); if( OrderSymbol()==Symbol() &&
Is there any restriction of max number of strategies which Meta Trader4 can monitor? It may be related to PC spec. Anyone who monitor and automated trade several strategies using Meta Trader4? Please help me!
  Trading basics  (21   1 2 3)
Hi I would like to enter the forex market in small way and I need some assistance. Can some one help? Thanks in advance Phil