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
Wackena, I take it 60 is one hour. change for other time frames, ie 15 for 15 minutes, 240 for 4 hours, etc. Am I correct?
Yes, buy only if you use sufficient chart timeframe. Example: Max m value on M30 chart is M=30.
Wackena
Got it. m <= current tf on chart.
BTW, I see the variable g, but what is it used for? I don't see it used anywhere else in the calculations. But I'm guessing for hours left?
Yes, g is for hour ouput.
I use this code to comment remaining Bar time on chart with hour, minute, second.
Wackena / et al,
Where am I going wrong here? Take a look at this code:
It "should" kick out of the start() if it's not a new candle on the TF that I have the EA on (currently D1). But it's not exiting out of start. It's still running the rest of the code in start. Am I missing something? It does it for whomever's code for new bar I try.
THANKS IN ADVANCE FOR ALL YOUR HELP!!!!!!
Try this: I've not tested this, I hope it works.