| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack (2) | Thread Tools | Display Modes |
|
|||
|
Hello
How's everybody doing? I'm programming som simple things in MQL4, and i've a question about iBarShift The documentation defines it like this: Quote:
I'm sorry, i didn't get that. Is it refering to the time the bar opened? E.g the open price of the bar that opened 7.30 for example? I've got this line: i4h=iBarShift(NULL,PERIOD_H4,iTime(NULL,0,i),true) +1; but i'm not sure exactly what it does. Anyone care to help Last edited by irclay; 12-16-2007 at 10:03 AM. |
|
|||
|
how do i receive an alert when ever a trade is made?
I want to receive alerts, like the alerts that all windows close and there is a message box, when ever a trade is made. Even if I make a trade on any other computer, like at work, it should tell me on my home computer that a trade has been made along with all its details. Can this be done???
|
|
|||
|
Could this function be used to refresh a repainting indicator automatically within the program without readding the indicator manually to the graph?? If so, could you provide an example of how to code it?
Dave I do not understand how this function operates? |
|
|||
|
Need help
|
|
|||
|
Hi guys,
I've got a question. I'd like to learn to write my own indicators, but I don't really have any idea where I should start. I've got an idea in my head and the basics of how it should work, but I need a little help. I've like to create an indicator that shows the average high that a currency moves from the open every day, the same for the low and the same for the close. So they would all be the distance from the open of the day in terms of pips. I'd like the user the be able to specify over how many days he wants to calculate that average. So it would be something like lines drawn in the current days bar to represent the average high, low and close of the currency over x days, and it should keep the lines drawn on the chart. I tried using the moving average indicator as a baseline to start from, but it all looks pretty confusing. Can someone simplify it for me by breaking it all down into what I should be adding/deleting and where please? regards steve Last edited by stevex33; 12-21-2007 at 05:45 PM. |
|
|||
|
Quote:
Start at the beginning, i.e: learn MQL4. Download e-books by CodersGuru, print them if you are like me---not good at reading something from the screen, then read them. Read them again if you don't understand the first time. Do the practice. if you still don't understand, check out as many EA as possible, see if there's any similiraties with yours. Look for explanation of each line in CodersGuru book, then try to write your own. You may take some times to write your basic EA, but once you did, honing them is a matter of trying and keep trying. good luck. |
|
|||
|
what's wrong with these?
Hey, guys
My EA at first based its profit taking from trailing-stop. Then I add some fibo point and start trailing after the last fibo point is reached. But strategy-tester won't work with the latest development. Please help me find my own mistake in the following program. Thank you. Quote:
|
|
|||
|
MACDI on 4-Hr graph shows positive, but if I use it as an indicator I get a sell because the MACDI on 1-Min may go negative for a brief period of time, but is not reflected on the 4-Hr graph. How do I code this so that my program is receiving the hourly average and not the 1-Min results.
Dave |
![]() |
| Bookmarks |
| Tags |
| histogram, forex, ZUP_v1.mq4 |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/questions/270-ask.html
|
||||
| Posted By | For | Type | Date | |
| OzFx System:) - Page 639 | This thread | Refback | 06-21-2008 10:53 PM | |
| Forex SRDC Sidus Sibkis EA MT4 Forum OTCSmart | This thread | Refback | 12-08-2007 12:46 PM | |