for(int i = Bars; i >= 0; i--){
double valueIndex0 = iCustom(Symbol(), 0, "3lMAcCrossdw_Alert", 1, 5, 1, 20, 1, 34, 0, 0, i){
if(valueIndex0 != EMPTY_VALUE ){
print("At bar # "+i+" I found a Cross Up arrow");
}
double valueIndex1 = iCustom(Symbol(), 0, "3lMAcCrossdw_Alert", 1, 5, 1, 20, 1, 34, 0, 1, i){
if(valueIndex1 != EMPTY_VALUE ){
print("At bar # "+i+" I found a Cross Down arrow");
}
}
Thank you very much. I'll give it a shot.
Thanks,
T
Thanks,
T
The value that I get back is always 0.0000. Any ideas why?
Thanks,
T
Thanks,
T
Change EMPTY_VALUE to 0 in the code above, try again
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
Can someone please help me with the code to detect the arrows placed on the chart from this indicator? I tried using iCustom and I can't get it to work.
Thanks in advance,
T