I have a mq4 indicator file that give a zero divide error on any currency pairs with price points that have a zero(0.72735) in front of them.
ie: AUDCAD, NZDUSD,AUDUSD
The trendline alert indicator works fine on any currency pairs with price points when price has no zero(1.32105) in front of the them.
What would be the code to not receive the zero divide error and still give the correct alert on the affected currency pairs when price cross the trendline?
Thanks in advance.
ie: AUDCAD, NZDUSD,AUDUSD
The trendline alert indicator works fine on any currency pairs with price points when price has no zero(1.32105) in front of the them.
What would be the code to not receive the zero divide error and still give the correct alert on the affected currency pairs when price cross the trendline?
Thanks in advance.
He who wanders, never gets lost.
No good deed goes unpunished.