Hi
I would like to verify that eg iMA for close on current bar will always be recalculated for each incoming tick since each new tick is the new close value for that bar. Am I correct?
Thanks
PS. Is there an easy way to see the calculated values for each of my variables in an EA? I know there is data watch but it works for live data and I have my own tick data so I have not made any connection to the broker from my MT4
Hmm... Print(), Alert(), create your own GUI, or write to your own log files?
- www.mql5.com
[ use timer ]
datetime NextSave, LastActiontime;
string LastDate;
if(LastActiontime!=Time[0] || TimeCurrent() > NextSave) {
LastActiontime=Time[0];
NextSave = TimeCurrent() + 5;
// some code to execute
}
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi
I would like to verify that eg iMA for close on current bar will always be recalculated for each incoming tick since each new tick is the new close value for that bar. Am I correct?
Thanks
PS. Is there an easy way to see the calculated values for each of my variables in an EA? I know there is data watch but it works for live data and I have my own tick data so I have not made any connection to the broker from my MT4