Thanks Markus, the code for my program first in the init() function set's up various values which will be used by the start() function when doing the analysis on each bar. When you said it should work, I tried the snippet of code above to describe the anomaly, and it worked, I then re-included that line of code in my program and it worked.
I have made so many changes to this program, I use the Comment() function a lot to test it as it progresses, so maybe the hard disk needs defragmenting, or is there a limit to the code size (number of lines)? Thanks again, Ted
I have made so many changes to this program, I use the Comment() function a lot to test it as it progresses, so maybe the hard disk needs defragmenting, or is there a limit to the code size (number of lines)? Thanks again, Ted
Btw, you can use the Print function to print to the Expert tab in the Terminal area ... I like it better than Comment because you can see the sequence of outputs.
Markus
Markus
Thanks Markus.
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
double dTest;
int init()
{
dTest=1.234;
return(0);
}
int start()
{
Comment( "dTest:", dTest ); // dTest:0
return(0);
}