MQL4 and MetaTrader 4 - page 1508

[Deleted]
Hi, I found nothing in this forum or code examples nor in the documentation, and tried lots of different writing. Here my problem: I try to calculate the data of two prices. But every time I get the same results/errors. Here the Code: 67 double Var1 = 0;68 double Var_high  = iHigh(NULL, 0, Current...
[Deleted]
Hi, I'm trying to code my own EA but I'm very new to this. These are few things that I want to do: 1. Calculate profit based on closed orders - better if it can be per trading session (from opening terminal until closing it) 2. Calculate number of lots per trading session 3. Turn off the EA...
[Deleted]
Hello guys!! i am currently working on my first ea. its using a custom indicator i attached. i am testing it in the strategy tester, but it seems like its not opening any trades! would be great if someone could look into it, maybe i just overlooked something! best regards
hi is it possible for anyone to help me to built a ea please? I dont think it will be very complicated for someone like you. in exchange, every one here will be able to use it an I will tell you how to use it, how to reject bad trade and how to find good one. cause I dont think a ea cant work alone,...
[Deleted]
Hi I am a Trader looking at converting a simple price movement Scalping Trading system into an EA No Indicators Required? Anyone interested please contact me via email dom1@e24.com.au Thanks Dom
[Deleted]
Hi, I am a newbie learning to write EA. here are the problem, can any one help? My logic is when MA3 more than MA8, then buy. when MA3 less than MA8, then sell. below is the code.I base on hourly chart. douMA3Current = iMA(NULL,0,3,0,MODE_EMA,PRICE_CLOSE,0); douMA3Previous...
[Deleted]
Just got a new Toshiba notebook with Vista. I moved an EA I've been testing on another NT computer to it. I download EUR/USD as normal but when I try to run the EA it says no data is found. I check the History folder under Tester and sure enough there is nothing in the folder, unlike on my NT
I´ve made a  few small changes, and I lowered the drawdown,  but still  It can be improved.   Also, Leverage can be lower for better drawdown or it can be raised and   get more  than  2000% Im looking for someone that can help me improve its win-lose ratio and also  to comercialize it.  my email:...
I would like to run script in the external file under Expert Advisor after the condition is done. Anybody knows how to write code in MQL ? For example: if (Period() == 5) { RUN SCRIPT SET_ORDER.MQ4 } How to modify above code ?
[Deleted]
Hi everybody, I've been trying to down load a file that has an MQ4 extension into my meta trader plat form indicator but its not accepting it. Friends tell me I need to down load an mQ4 soft ware. Please how can I go about this. My e-mail is carl-onugha@yahoo.ca. Thanks.
[Deleted]
  Excalibur V3  (3)
This EA has done extremely well over the past three months in beta testing. Excalibur V 3 I have combined a well-known indicator with some modifications, and programmedan EA that has show very good results since running it “live” starting October10. 2008. Excalibur V 3 has built in e-mailalerts and...
[Deleted]
Hi, I have written the code below for my custom indicator. When I insert it into MT4, a separate window is added as intended, but no line or anything appears. The custom indicator is supposed to compare EMAs, and if the EMAs are trending up, then it adds 1 to a running total. If the EMAs are...
I'm using Alpari who have just gone to 5 decimal places. The code: double slow = iMA(Symbol(),PERIOD_M15,14,0,MODE_SMA,PRICE_CLOSE,0); Printing the code will produce a number to four decimal places eg 0.8991 But the indicator on the chart prduces number to 5 decimal places 0.089937 which is...
[Deleted]
Hi, you will find here-attached my last EA. It is coded exactly on the same scheme as all my others EA that are running correctly. This one has no alert and no error but does not trade or stops after the first trade. There is something somewhere that I do not see and that makes it fail. It's only a
[Deleted]
I am having problem with . It returns ZERO value when the MODE_SIGNAL (value of 1) - is used with SLOWING as a variable. extern int stoch1k = 14 ; extern int stoch1s = 3 ; extern int stoch1d = 3 ; double stoch1s = iStochastic (NULL,0, stoch1k,stoch1d,stoch1s, 0,0,1,0) ; always return a ZERO...
I am using forex autopilot as an indicator as to when to trade manually, if you have used this EA you will know that as soon as it puts an order in, the market generally goes in the opposite direction. so a great indicator when used with minimal lot size the autopilot order can be cancelled straight...
[Deleted]
  invalid stops  (3)
Please confirm if correct: Sell order - stop = NormalizeDouble(Ask+Point*TrailingStop,Digits) Buy order - stop = NormalizeDouble(Bid-Point*TrailingStop,Digits) I am not sure why I'm getting error 130. Stops are in the ordermodify function. Rudy
  zero divide  (2)
i have this message in journal tab,and i don't know the meaning, zero divide, can anybody help me
[Deleted]
i need help converting my stochasting crossing custom indicator into an EA. it points direction on the main chart so i want to model that into an EA, but i have no programming experience. please help Thanks
[Deleted]
Hello, Hello i would like have some question regarding proper backtesting using strategy tester.. correct me if i'm wrong regaring my perspective/procedure of doing backtesting: 1. I should use offline/different mt4 to do backtesting 2. I should acquire at least 90% of modeling data using old...
I was changing a colour of my trend line, and I have no idea what I did wrong, but the icon disappeared from my toolbar. I re-installed my charts, but it did not help. Can somebody have any idea what to do? thanks, Bozena Radvenis@gmail.com
[Deleted]
I've sent several requests to my forex-support with absolutely no reply--and the requests involve serious issues (1)I want specific information on how to add to my account using a credit card; and (2)I want to get increase the "build" to 220 or higher. I'm frankly mystified about what to do. Any...
[Deleted]
How does one place an order between the spreads? If I have this code how can it be changed to do such a thing. Ex if the spreads is 18 how do we place the trade in the midlle of that like 9 or at the actual trade price. So, if the price is 90.18 and the spreads is 18. the robot should send a order...
[Deleted]
I am testing various aspects of my EA. What I would like to achieve is: 1. Set a fixed Stop Loss without setting a Take Profit level when I open a trade position, i.e: Result=OrderSend(Symbol(),OP_BUY,Lots,Ask,slippage,stoploss,0,"",MAGICNUMBER,0,Red); This part works well in my code. 2. For the...
[Deleted]
Hello, i got pivot indicator, there's no error in visual, but unfortunately it logs for error in Expert Tabs. i looked at the source code.. the error located in here: ArrayInitialize(Weekly_Price, 0); ArrayCopyRates(Weekly_Price, Symbol(), 10080); anybody coud help me trace what's wrong and how it...
Good Day I am trading multiple pairs with many entry points. Sorting them can be difficult since there are sometimes 50 open trades at a time. I know there are some custom indicator writers out there. I have been looking for something that does the following. 1. It should be place in the TOP...
[Deleted]
if there any function to check when a MA or indicator is turning down or up ? my rule is very simple buy when 50 MA is turn up sell when 50 MA is turn down
I'll write a couple of indicators/advisors for free as a warm-up and feedback. And then we'll see :)
[Deleted]
Pls if you can design and develop a custom trading platform. Kindly send e-mail to mofaloks@yahoo.com. Send in your company profile and proposal. or Call +2348064512547. Thanks.
anbei ein Link zu einem Forex Handelssystem, welches immer mit dem Aktuellen Trend geht. Das System habe ich bereits in der Demo getestet und es lief sehr gut. Man kann alle Parameter einstellen und muss jedoch einen weiten Stop setzen. Sobald der aktuelle Trade einmal im Gewinn ist,,, wird die...