Hi everyone,
I need some help with a construction indicator: the indicator name is: Life2 Moving Average
website is: http://www.visualchart.com/esxx/ayuda_F1/Indicators/Medias/ML2.htm
Here is my code, but I have a error in loop calculation.
Anyone?
What error you are getting.?? Also I dont see any Print command. It will help you in debugging and to see how control flows..
Hi,
Its not a Error in Code, I use Comment not Print for debugging.
The error is in calculation loop, because in the original formulas, when you see (1-p), I think, I should have one more loop for this value, but I can't figure out, how to make this second loop.
Sorry for my bad english.
Comment() is useless for debugging, because, you only have the last error
But I don't have any error in the code.
I have problems in translation this mathematical equation to the indicator.
I need help in this matter not in coding.
do u really think that Print() or Alert() is used only for debugging the code, u can use them to find out where u r wrong in the mathematic 2
ok, let's move, can you help me with the code?
for (int shift=limit; shift>=0; shift--) { Buffer.Avlife2[shift]=0; } // At this point shift = -1 so what does your comment print? Comment(Buffer.Avlife2[shift]);
- 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 everyone,
I need some help with a construction indicator: the indicator name is: Life2 Moving Average
website is: http://www.visualchart.com/esxx/ayuda_F1/Indicators/Medias/ML2.htm
Here is my code, but I have a error in loop calculation.