Folks I want to use in script for showbar that a slow stochastic of 10 etc. periods crosses below say 25 in the last (eg.5 days/bars) and the gann 3 bar swing turns up within the (5 days/bars of crossing below the stoch 25 line . I know how to script for the the gann swing and stochs etc. as below, but I can’t work out effectively get the time frame since signal correct. any help appreciated
thanks in advance
a1 = gannswing()turnsup;
a2 = stochscan();
a1 and a2