Change this line :
for(i=limit; i>=0; i--)
for(i=limit; i>0; i--)
Thank you, master
can someone take a look to the following indicators?
It needs "ZigZag" in order to work. Check if you have it in indicators folder
Yes I have zigzag in my custom indicator folder but 123 indicator does not work
Set the ZigZagDepth to 4 (it can not be less than or equal to 4)
That is the new metarader 4 zigzag rule
ooooooo...now it is ok!
another thing...can you modifies it in order to see only,for example, the last 100 bar of signal?
I prefer few objects on chart.
alarm does not work..may be because it refers to 1 in zigzag?...I dont know....
thank's in advance
Due to the way how it uses zigzag and how zigzag is calculated, it can not be done
PS: here is a zigzag that does not have that limitation (it works as the zigzag in older builds of metatrader) : zigzag.mq4 . Just replace the one you have with this one and all will work as before
thank you another time.....I will try it.
Can someone take a look at the attached indicator please?
That one needs a complete rewrite
Does not conform at all to new metatrader 4