Watch how to download trading robots for free. So post a link to it - let others appraise it. You liked the script? Try it in the MetaTrader 5 terminal. The indicator shows the beginnings and the ends of three trading sessions: Asian, European, and American. The sessions are displayed with the background rectangles. The length of the rectangle corresponds with the duration of a trading session, and its height is the trade range.
I was able to move the start time for the asian session up to the 5pm EST dateline on metatrader. However, when I tried to delay the US session one hour so that it would end at this date line instead of 4pm EST, the coding refused to extend this rectangle the extra hour to the dateline! The end of the US session is defaulted to " Then I tried entering " I like the indicator and request the author rework the code to fix it so the user can alter start and stop times without the indicator failing.
Or maybe have them displayed in a narrow band. Also, a change I would like to see is to make the height of the rectangles for the upcoming session s , or part s thereof, be the same as the height of the current session height of session at current bar instead of filling the whole screen from top to bottom, which I find distracting. Because this indicator paints over the bar representing the time you supplied as an argument, you want your session closing times to be xx: In frederick's case, his NY closing time should be This indicator doesn't handle the session opening bar correctly if it happens to be the highest or lowest of the session.
You can even see it in the sample picture above where both Asian session rectangles don't cover the session highs. To correct this problem, modify two lines inside DrawObjects as follows:.
If a session starts before midnight and ends after midnight it will be drawn incorrectly. I have this problem with the Asian session Last comments Go to discussion 5. MQL4 Comments 25 Sep at Obviously, the coding for this indicator is flawed. Any fixes and improvements will be appreciated. MQL4 Comments 24 Nov at To correct this problem, modify two lines inside DrawObjects as follows: MQL4 Comments 9 Jun at Do you know how to do it?
StepMA A "Moving" from the board http: A pause between trades The implementation of the pause between the trades for all EAs that are currently trading.More...