Gator As filter

 

HI,

Im new to systems trading, ive traded manually for some time now. im trying to use a gator oscillator as a way to filter out wihpsaw/ranging markets. i want to code it so that it BUYs when gator is above 0.00060 Level and SELL when gator is below the -0.00060 Level.

can any one help out? with this?