try
code]TimeDay(Time[1]) != TimeDay(Time[0])[[/code]
code]TimeDay(Time[1]) != TimeDay(Time[0])[[/code]
cszoli - thanks for your response
Would i use it something like this ?
Would i use it something like this ?
Open[TimeDay(Time[1])]
not really!
try this.
try this.
//Check for 4Hr timeframe if (Period() != PERIOD_H4){ Alert("Attach ONLY 4Hr timeframe! EXIT..."); return(0); } if (TimeDay(Time[1]) != TimeDay(Time[0])){ //you can use open[0], as the new day open value... Alert(Open[0]);//for example show the open value for that day }
Thanks !
Thats just what i was looking for =)
Thats just what i was looking for =)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
eg. i wanted to get the hi and low of the first 3 bars every new day, i really dont know how i would go about doing this ?
Thanks