hello community,
i developed an indicator which shows me an arrow on chart if MAFast cross MASlow and StochMain cross StochSignal at the same time. my wish is that one cross of both can happenend a specified amount of bars back to give the signal a "buffer". example: if ma cross occur check till five bars back if stoch was crossed (0,1,2,3,4,5). if the cross more than five bars back print no arrow.
i hope somebody understand and can help,
thanks, derox
i developed an indicator which shows me an arrow on chart if MAFast cross MASlow and StochMain cross StochSignal at the same time. my wish is that one cross of both can happenend a specified amount of bars back to give the signal a "buffer". example: if ma cross occur check till five bars back if stoch was crossed (0,1,2,3,4,5). if the cross more than five bars back print no arrow.
i hope somebody understand and can help,
thanks, derox