Can someone please find the mistake, thanks
Whats the error?
zzuegg:
Whats the error?
Error Message 0: No error message in error message.
Whats the error?
Is it not compiling?
Not doing what you want?
Unless you say what it's not doing how can anyone guess what it should do?
May be i didnt write correctly the iMA() func?
dabbler:
Error Message 0: No error message in error message.
Error Message 0: No error message in error message.
- You're not printing any error messages so of course there is no error message in the journal.
if (counted_bars>0) counted_bars--;
is unnecessary drop.
Jay007:
Hi Jay!
Look here:
3SMA1= iMA(NULL,0,3,0,0,PRICE_TYPICAL,pos+1); 3SMA2= iMA(NULL,0,3,0,0,PRICE_TYPICAL,pos+2); 3SMA3= iMA(NULL,0,3,0,0,PRICE_TYPICAL,pos+2);
Should say: 3SMA3= iMA(NULL,0,3,0,0,PRICE_TYPICAL,pos+3);
acushnir:
Hi Jay!
Look here:
one more question, what if i dont want to compare it with given values, but with the values with one bar shift to the forward?
Jay007:
one more question, what if i dont want to compare it with given values, but with the values with one bar shift to the forward?
You can't read the future
one more question, what if i dont want to compare it with given values, but with the values with one bar shift to the forward?