General - page 1690

  Slope System EA  (35   1 2 3 4)
Hi guys, I'd like to make an EA based on the Slope Direction Line indicator. Very simple: at color change of SDL (red --> blue) : buy at beginning of the following candle at following change color (blue --> red) : buy close at beginning of the following candle then sell at following change color...
Hi there, I have noticed some apparent odd MT floating point math which I hope someone can help me explain. This is a very simple example just to illustrate the odd problem I seem to have found. Lets take a simple calculation. Spread = Ask - Bid If we assume that Ask is 1.0003 and Bid is 1.0000...
[Deleted]
  Post your code blocks here  (18   1 2)
Hello to all: I have read alot in these forums and thought it was time to jump in and start participating. I would like to start this thread with the idea of creating snippits of code so that all could use them in there indicators or EA's. For example a snippet of code would be just a buy or sell...
Hello all, Is there a way to PROGRAMATICALLY prevent a horz./vert./trend/ line object from being selected (moved) when on a chart? In other words, is there a setting I can invoke programatically that will LOCK the object? Thank you! -charlie
Using the latest version of MT, MessageBox does not work from within the Deinit() subroutine - is this deliberate, or another MessageBox bug? More specifically, what I am trying to do is create a user-prompt when an EA is removed from the chart, giving the option to either delete all global...
  Interactive Journal  (52   1 2 3 4 5 6)
Hi, I posted this thread before and it was deleted.. I dont know why. I not spamming or anything. Just making an interactive journal of my trades. Here's how it works: I will post my trades here as I make them on my $10000 demo account. But I know it is very hard to keep track of some one else's...
  What's new tsd?  (4)
I've been away for a while and I will be taking up writing EAs and INDs as a hobby once more so tell me: What's new? What's working? What's worth spending some time on? I appreciate your feedback!
Hello all, Can someone suggest the proper way to code the ability to RECURSIVELY POLL for for the existance of a FILENAME whenever there is NO TICK? I want to give the TICK routines priority... and POLL for a FILENAME using a sleep function... say every second. Obviously, when the TICK comes in I...
Hi, I am not a programmer, nor do I know all the ins and outs of Forex or MT4 software or the brokers that use it. But I've put this EA together and would like some feedback on it, please. It took me forever to get it to work properly (or at least the way I planned) and I borrowed a lot of code from...
  Pivot Points  (1)
Is there any default way in MT4 to get different pivot points calculated and updated automatically on my charts ? Any help much appreciated
Hi I would like someone to recommend good EA. If you are using it and it is perfoming, it higly welcome. please specify the features.
  Tro Dynamic Trend Indicator  (67   1 2 3 4 5 6 7)
TRO DYNAMIC TREND INDICATOR Just something I was messing with while I was banned last week. Oh yes, that's right, this is NOT a tease, because if I were teasing you then the code wouldn't be attached, right?
Sometimes when I see the Visual Results from the Metatrader Strategy Tester MT4 displays ONLY the price window (with the positions). Then sometimes a second window which includes the indicator i was testing, e.g. MACD, is displayed in a second window. How is this controlled? At random? Or is there...
My education background is civil engineering, hobby to computer software from the beginning of my university education, from that on, I made business application software, Experience give me more skill to analyze system. Using Pascal, FoxPro, Clipper, Basic, Delphi, and C, i write code for some...
when making my demo EA for an MACD i was turning stop losses of. now i tested my EA in MT4 and for some trades i get modifications of stop loss and my trades are sometimes interrupted without that i want this at all. why? (both private and company. company impressum at contact)
  General Inquiries and Tests.  (55   1 2 3 4 5 6)
This thread is for general inquiries and test about our platform: vBulletin. What's that mind?. Let's say you are new in to the forum and need to test something, like upload images or indicators, try something like include php code, smileys or whatever. Want to try some colors or fonts. Do it...
Why and When MT4 mobile can sopport EA or Script? thanks
i am beginner with making expert advisors. question: how can i get rid of too many macd signals. for example when i try to make a very simple demo ea - an macd 12,26,9. i get way too many signals. there might be two problems: 1) intracandle i want NOT MORE than 1 execution. but metatrader will give...
Hi, Would really appreciate code that can be inserted into a Script that, upon certain times during the course of the Scripts run, will take information from the script and write it to Windows Clipboard. Thanks, pipthis
im new here, just want to know,is there is a MA signal crossing 2 line and its will alert with sound, ex: 20 exponential/close with 80 exponential high when both of the line cross eac other - sound alerted maybe someone would say it not a good because of sideways problem, but i dont mind it because...
Hello I am in desperate need of a simple indicator for showing me the the total distance moved using two seperate pairs. The indicator would allow me to input two pairs, time frame and a MA period. For instance, Lets say I chose the the GBPUSD and the USDJPY and a time frame of 15m Lets say the
Hi Is it possible to compile a dll with MinGw for metatrader experts? I get many wrong prices in RateInfo struct array and I think I did it the way the sample dll did that. here is my simple function: DLLIMPORT void __stdcall getPrice(const struct RateInfo* rates,int size, int item){...
Hello, the pitchfork of MT4 is very basic and wrong. Is there a way to modify the pitchfork? I would like to change the starting point of the middle line and i would like to add 4 parallel lines.
I downloaded MT Mobile SE (Smart Phone Installer Version) directly from my phones (T Mobile SDA, with windows 5.0) browser. I did not purchase it, I wanted to try the 7 day trial period. Initially I had had no issues. I set it up using my existing FXDD demo account and everything worked great...
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...