Indicator help
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");
}
}
Thanks,
T
Thanks,
T
Change EMPTY_VALUE to 0 in the code above, try again
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