what's the difference?
-
What's difference between server time and GMT under time filter ?
-
@tec-nacks said in what's the difference?:
What's difference between server time and GMT under time filter ?
nothing in backtest, supposedly.
But GMT is 0000 while server time will be your broker...most of which are GMT+2 -
@tipsywisdom ooh..which would you recommend is used/?
-
@tec-nacks said in what's the difference?:
@tipsywisdom ooh..which would you recommend is used/?
up to you and your strategy.
if its not time based, it doesnt matter.
-
@tipsywisdom i just want it to filter based on London and NewYork session
-
@tec-nacks said in what's the difference?:
@tipsywisdom i just want it to filter based on London and NewYork session
then the best resolution would be to use an hours filter. Find out from your broker what timezone that are on, and then use calculate the time from there.
My broker is GMT +2, that means 0930 EST, Ny Open = 1630 Server (GMT+2).
Now of course, depending on the time of the year you are in...its only valid for a few months out of the year on backtest history. Meaning...right now in real time, we are in daylights savings (november to april), that means for months in april to november on all backtest, you will offset 1 hour and must now figure out how to account for this difference in time, when using backtested data.
-
@tipsywisdom okay
-
@tec-nacks said in what's the difference?:
@tipsywisdom okay
the most reasonable solution to this, is to design the EA in 2 parts to be tested manually across those months separate from the years. Its a little cumbersome...but there isnt a great way to detect the "current" date, while in backtest, because while in backtest, the current date is today...not the date of the history, when using time in that regard.
-
@tipsywisdom said in what's the difference?:
@tec-nacks said in what's the difference?:
@tipsywisdom okay
the most reasonable solution to this, is to design the EA in 2 parts to be tested manually across those months separate from the years. Its a little cumbersome...but there isnt a great way to detect the "current" date, while in backtest, because while in backtest, the current date is today...not the date of the history, when using time in that regard.
at least, my current understanding and limitations says this. Im thinking now, perhaps using those block of "if testing," and "if real" may provide a time solution.
-
@tipsywisdom that's true, will test em out
-
Friends, how can you determine the sessions of New York, Asia and London with a robot?
For example, draw a vertical line every day at that time/ and a horizontal line from the beginning of the day to the end of the day! -
Do you need those lines for visual purpose only or you will need the values instead?