hello..anyone here...
joetrader:
You could use the 1 hour chart and put this at the beginning of your start() function:
if(Volume[0]>1) return;
Bring Up My post...
The solution above will do that if you use the one hour chart because it will trade only the first tick of every new candle. If you use the one hour chart, it will automatically chart one hour candles.
void start() { //---- go trading only for first tick of new bar if(Volume[0]>1) return; int ticket=OrderSend(...); }Otherwise, you could use this on any chart:
void start() { //---- go trading only for first tick of new bar if( iVolume(Symbol(), Period_H1,0)>1); return int ticket=OrderSend(...); }
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
the requirement is the order will enter for every hours 24 time a day.can anyone help me?thanks in advance