| 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 | Thread Tools | Display Modes |
|
|||
|
Expert Advisor running on Custom Timeframe.It's Possible?
Hello!
I woud like running expert advisor in 20M timeframe.I try the PeriodConverter indicator,but when i try to use the expert advisor nothing happend. The 20M chart is in live mode. Somebody tell me what is the problem,and what is the solution? Sorry for my English. Thanks, Br001 |
|
|||
|
i-FractalsEx EA
I hope someone can help me. I am trying to write an EA that includes this Indicator but I don't know how to include it in an EA. I have a start but it doesn't return any values. I'd like return a High and Low value at the time an arrow is drawn on the chart and open a trade.
FracHi=iCustom(NULL,0,"i-FractalsEx",Fr.Period,MaxBars,0,0); FracLow=iCustom(NULL,0,"i-FractalsEx",Fr.Period,MaxBars,1,0); It works when I use the built in Fractals: FracHi=iFractals(NULL, 0, MODE_UPPER, 3); FracLow=iFractals(NULL, 0, MODE_LOWER, 3); These return a High and Low value at the time an arrow is drawn on the chart. From this I can set it to open a trade. |
|
|||
|
Quote:
__________________
Need a professional MQL4 programmer? PM me |
|
|||
|
Quote:
What are the "TrailingStops" and "Pips" default value?
__________________
Need a professional MQL4 programmer? PM me |
|
|||
|
Close partial position?
Hi, this is my first post here, and I'm a MetaTrader newbie, so, if I ask a dumb question, sorry. I've looked through some of the newbie materials, and haven't yet found an answer to what should hopefully be a trivial question: how do you close part of a position?
If I right-click on a position, it has things like close or modify. And modify allows me to change stop and limit. But, I don't see it having an option to change the number of lots I have. So, I figured maybe if I put in a reverse order, like put in a sell order if I was going long or vise-versa. What I got in that case was two open positions, one long and one short for the same pair! I'm at FXDD if that makes any difference. Thanks. |
|
|||
|
Scripts actually work?
Another stupid newbie question, I'm sure. I've read through Coderguru's MQL4 tutorial. He has a sample advisor and a sample indicator. Didn't have much about scripts. But, MetaTrader came with a few scripts. Like, "trade". I attempt to run it, and I get a prompt that asks me if I'm sure I want to buy the pair. I say yes, and nothing happens. Or, I run "close". It asks me if I want to attach "close" to my chart. I say yes, and nothing happens. I attached it to a chart of an open position, so, I would think that it should have closed that position.
Which brings me to another question. Scripts seem to "attach" to charts. I was wondering if there was capability to "attach" to a position? Like, in my post of a minute ago, I asked how to close half a position. Although I'm sure there must be an easy way to do it without needing a script, but, if I wanted a script, would there be a way that I could click on a position that I have, tell it to run a "close_half" script and have it close half of the position? I'm at FXDD if that is of any relevance. Again, sorry for newbie question. |
![]() |
| Bookmarks |
| Tags |
| close, eas, learn mql4 video, profit, reach |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Learning Cycles For New Traders | Dan7974 | General Discussion | 350 | 01-18-2008 06:04 PM |
| Learning to code for autotrading | GoatT | Metatrader Programming | 8 | 01-10-2007 08:55 PM |
| Self learning expert | mrtools | Expert Advisors - Metatrader 4 | 32 | 10-22-2006 05:29 PM |