|
|||||||
| 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 |
|
||||
|
Yeh I didn't think of it either for a while.Then seen its the same thing just different settings.Many things on here you'll see look totally different but are the same as some old thing, with different colors and looks and settings.
__________________
Dont worry, bout a thing, cos every little thing, gonna be alright. ![]() The future has not been written. There is not fate, but what we make for ourselves. |
|
||||
|
Previous Tick Data?
Is there a way, more like what is the best way, to code into an EA access to previous tick data?
Just like you can access the high of the bar 3 bars ago by using High[3]; I would like to access previous ticks. Could you use the Bid for this? So you could have Bid[0], Bid[1], Bid[2] and so on? Thanks. |
|
|||
|
Quote:
ralph.ronnquist, thanks also.. but it is not what i need.. |
|
|||
|
What is "clock"? as far I know there's no "clock" function in MQL4.
You can try this Code:
if(TimeHour(TimeCurrent())==7)
{
if(TimeMinute(TimeCurrent())==15) B== 1;
if(TimeMinute(TimeCurrent())==30) B== 2;
if(TimeMinute(TimeCurrent())==45) B== 3;
}
if(TimeHour(TimeCurrent())==8)
{
if(TimeMinute(TimeCurrent())==0) B== 4;
if(TimeMinute(TimeCurrent())==15) B== 5;
if(TimeMinute(TimeCurrent())==30) B== 6;
}
__________________
Still learning.. |
|
|||
|
Quote:
datetime clocks = TimeCurrent(); in an earlier line. Robert |
|
|||
|
Quote:
That should be working. But in an hour, sometimes there will be some minutes missing due to your internet connection or server's lag.
__________________
Still learning.. |
|
|||
|
Looking for Programmer to convert indicator to EA
Hello All,
I am looking for a programmer to convert an indicator into an expert advisor (or a stand alone EA that works with the existing indicator). It simply needs to either buy or sell where the signal is generated, and have the following in the abilities in the presets: *Lot sizing *Stop loss setting *Trailing stop setting *Money management lot sizing based on account balance. Attached is a picture of the indicator. Please PM me if you are interested in the project, or know someone who is. Thanks in advance. |
|
|||
|
Quote:
Quote:
another problem code i need guys.. sorry if i ask too much.. my problem : i want that it will only open a max of 1 floating sell and 1 floating buy in a day.. but can open more than a lot of buy or sell in a day.. if the EA runs three days and everyday order conditions are met then it will have 3 floating buy/sell or 6 floating buy and sell.. example: DAy 1 = open a 1 buy hits Tp and open another buy = 1 buy still open Day 2 = previous buy still open and open another buy = 2 buys still open Day 3 = 2 buys still open and another buy open = 3 buys still open Quote:
Last edited by antone : 11-27-2007 at 04:18 AM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to code this? | iscuba11 | Metatrader 4 mql 4 - Development course | 1 | 08-03-2007 04:22 PM |