Australian (ASX) Stock Market Forum

Expert Advisors - Q & A etc.

I wonder if there are any similar/same versions for free or are they easily coded?What determines the green or red arrow/uptrend or downtrend in each time frame? The multi time frame signal for entry/exit.

From your link:

"Metatrader Indicator TREND forecasts the possible direction of the trend based on 4 screens concept. 4 rows of this indicator represent data from four timeframes: M5, M15, M30, and H1. 7 columns represent 7 last bars of each timeframe. Bar color indicates its type bullish, bearish, or neutral. The rightmost column contains a summary of evaluation by poll. You should open a trade along the direction of the main trend determined by larger timeframes. Smaller timeframes allow determining when the trend retracement finishes."




wabbit :D
 
Time Stamping of Bars in MetaTrader 4.

Bars are time stamped at the END of the time interval.
One of the big problems associated with data is when the bar is time stamped. Some data providers time stamp on the Open of the bar, others on the Close. Because of this it is possible to get historical time data that is off by 1 time interval with another source of data.

After noting the bold section, does anyone see this as a serious or minor issue when backtesting on MT4? If using the same broker data, the timestamp would be be the same (bar close or open ) so no problem, yes.Only problem could be if using external data or switching brokers maybe.


"From your link:"

* I got that bit from the site, thanks wabbit.
 
I have a question regarding time being read by an Expert Advisor.

Does the time get read off the computer being traded from?
Does the time get read off the brokers server?
Does the time get read off the Virtual Private Server?(if using one)

Thanks if anyone knows.
 
datetime Time[]
Series array that contains open time of each bar of the current chart. Data like datetime represent time, in seconds, that has passed since 00:00 a.m. of 1 January, 1970.

So, it's the open time for the bar according to the data server. There are some aberrations of time according to brokers: e.g.

If the actual time is 10:00 GMT, most(?) brokers will report the most current bar open time as 10:00, although some will report the end of the period i.e. 10:01 on a one minute chart. One way to tell is to change periodicity of the chart to say 5 minutes, if the last bar time remain 10:00 then you have the first broker time stamping, else if the time is 10:05 then you have the second style.

There are a plethora of clock codes for MT4 which will show system times, server times and market times etc. Just google, or shout if you cannot find one.

wabbit :D
 
4rex Robot Factory.


This site appears to be new and it gives a supposed quote ..
"INDEPENDENT, impartial ‎and objective comparison system" of commercial forex robots.

Skepticism and thorough evaluation on all robot assessments is a good practice I think.
 
datetime Time[]

So, it's the open time for the bar according to the data server. There are some aberrations of time according to brokers: e.g.
There are a plethora of clock codes for MT4 which will show system times, server times and market times etc. Just google, or shout if you cannot find one.

wabbit :D

Hi, in reference to the time that is read by an EA. I have looked and can't find a firm answer on ... where the EA reads the time to start operating.

Most likely it would be the computer (set to Greenwich Median Time) but if using a VPS and the computer was switched off then the EA would start operating on the VPS time.

I can't see how an EA could read the time off the broker (server).

This has confused me somewhat as there are no definitive answers as to what time advice an EA reads to start and end.

I.E. start 1000 GMT, end 1600 GMT. start 2200 GMT end 0100 GMT.

Whose time would that be I wonder? Computer and/or VPS or Broker?

:)
 
time is the single most headachey thing in MT4. we have lost our marbles trying to get it correct.

may i suggest writing the time to the screen, then you can see what time it is picking up and can work from there.
 
Hi, in reference to the time that is read by an EA. I have looked and can't find a firm answer on ... where the EA reads the time to start operating.

Most likely it would be the computer (set to Greenwich Median Time) but if using a VPS and the computer was switched off then the EA would start operating on the VPS time.

I can't see how an EA could read the time off the broker (server).

This has confused me somewhat as there are no definitive answers as to what time advice an EA reads to start and end.

I.E. start 1000 GMT, end 1600 GMT. start 2200 GMT end 0100 GMT.

Whose time would that be I wonder? Computer and/or VPS or Broker?

:)

There is nothing to be confused about.

Unless you're using the Windows API to read the host computer system time, times are all taken from the data. Although I live in WA (GMT+8) my data is from GO (GMT+2) or IBFX(GMT).

When an EA uses variable such as startTradingTime and stopTradingTime based on Time[] or iTime(), these times will be compared to the data stream, unless as I mentioned earlier, you are reading the host computer system time by using Windows API functions.


Hope this helps.

wabbit :D
 
There is nothing to be confused about.

Unless you're using the Windows API to read the host computer system time, times are all taken from the data. Although I live in WA (GMT+8) my data is from GO (GMT+2) or IBFX(GMT).

When an EA uses variable such as startTradingTime and stopTradingTime based on Time[] or iTime(), these times will be compared to the data stream, unless as I mentioned earlier, you are reading the host computer system time by using Windows API functions.


Hope this helps.

wabbit :D

Yes so the broker time unless as Win. API mentioned above.Thanks everyone for your help.
 
There is nothing to be confused about.

Unless you're using the Windows API to read the host computer system time, times are all taken from the data. Although I live in WA (GMT+8) my data is from GO (GMT+2) or IBFX(GMT).

When an EA uses variable such as startTradingTime and stopTradingTime based on Time[] or iTime(), these times will be compared to the data stream, unless as I mentioned earlier, you are reading the host computer system time by using Windows API functions.


Hope this helps.

wabbit :D


Very Helpful wabbit, Thanks

Is there a way to poll the data provider to determine which GMT timezone they are actually in? I have been using IBFX and thought they were in GMT +2, but your comments earlier seem to suggest they are GMT0. It would be great to build the EA to work this out for you.

Thanks
 
You should know what timezone you are in, so have a look at a clock near you, then note the time of the last bar on the chart; compute the difference and evaluate the data GMT offset from your own clock.

It's 09:06 according to my oven clock (GMT +8)
IBFX last bar 01:06 so it's eight hours behind me i.e (GMT+0)
GO last bar 03:06 so it's six hours behind me i.e (GMT+2)




wabbit [:D]
 
You should know what timezone you are in, so have a look at a clock near you, then note the time of the last bar on the chart; compute the difference and evaluate the data GMT offset from your own clock.

It's 09:06 according to my oven clock (GMT +8)
IBFX last bar 01:06 so it's eight hours behind me i.e (GMT+0)
GO last bar 03:06 so it's six hours behind me i.e (GMT+2)

I must say.. it really annoying when the answer is so damn obvious it hurts!!!!

Thanks for helping me see the light :banghead::banghead::banghead:
 
i'm demoing Forex meta robot, anyone got any experience with this robot? i havent read much on pipcop about it?
 
i'm demoing Forex meta robot, anyone got any experience with this robot? i havent read much on pipcop about it?

Every one of the money trees say they are the best.Are you demoing the `Lightening` model? It turned $1k into $1mil. in 3 months. (LOL)
Looks like it makes too many double digit losses on the MT4 stats results.

The Find Me A Broker website is handy for quick reference to brokers so I added that here.

Would like to see your test results if possible.

-----------------------------

Another robot from Forex Robot Trader using a smoothed Heikin Ashi indicator across multiple time frames says `no losing trades`.

-----------------------------
 
First of all I know the Forex volume is only the tick data for a particular broker.

I wonder if a volume trigger after the trend direction has been opened would be a good way to pyramid into the trend trade. A ceiling that once penetrated would trigger another entry onto the initial trade.

A break above the average volume for a set period.


This chart shows what I`m trying to get at. By adding the trend pyramiding variable AFTER the initial trade is entered.The opening trade uses another condition to determine the probability of the trend direction and would have to be reliable.

I can visualise a number of trades riding the trend jumping on board at various stages with stop loss and trailing stop for profit.

--------------------
Start EA at 0730 GMT
Open probable trend trade when conditions met
Once trend trade opens then add position when volume bar breaches SMA.
Close EA at 1500 GMT
--------------------

All suggestions welcome.
 

Attachments

  • eurusd h1.gif
    eurusd h1.gif
    23.1 KB · Views: 4
Forex Phantom is one of the newer robots to be released and as usual the same story ... ours is the best yet. I reckon the delayed release is because the conditions have to be optimal for maximum release success.That or the writer is holidaying in the West Indies while the robot pulls in the bikkies. :cautious:


Forex Phantom May Be Delayed
By Forex Phantom Review on March 14, 2009

Forex Phantom, the upcoming super advanced Forex Robot that was scheduled to be available on March 24th, 2009, is rumoured to be delayed.

The comment came from one of the people working on the Forex Phantom project. Although no definite dates were mentioned, the nature of the comment was that the release of Forex Phantom Traders Advantage was that ‘it looks like it might be a bit delayed’.
 
First of all I know the Forex volume is only the tick data for a particular broker.
even though the following chart is 15 years old (perhaps they had a more relaxed lunch in the City of London back then), it shows the typical volume pattern which you must model, instead of using a SMA, because there is a cyclic pattern to volume.
source http://www.ny.frb.org/education/addpub/usfxm/
 

Attachments

  • vol.png
    vol.png
    32.8 KB · Views: 3
Top