code to capture high & low of 5min bar

Post Reply
censura
Trader
Posts: 32
Joined: Wed Jun 06, 2012 12:52 pm

code to capture high & low of 5min bar

Post by censura »

Hope someone can help, I am trying to write an ea, the ea runs on the 30min timeframe but i need to apply a test on the high and low of the first 5min bar of the open, ca someone help in showing me how to do this

thank you
Bruce Flea
Trader
Posts: 18
Joined: Mon Feb 13, 2012 4:43 am

Re: code to capture high & low of 5min bar

Post by Bruce Flea »

So, on the hour, and half hour you want code that identifies the first closed bar?

So bar 1:00 to 1:05, and bar 1:30 to 1:35?
Post Reply

Return to “Coders Hangout”