You are on page 1of 3

SwingTrading Pro

Screeners code examples

1. Trend change direction (new bullish or new bearish)

trend, ignored = CALL "SwingTrading Pro [gen]"[2, 0, 3, 0, 1](close)


signal=0
if trend<>trend[1] then
signal=trend
endif
SCREENER[signal<>0](trend as "1=↑/-1=↓")
2. SwingLine testing (potential rebound or breakout) in a well
established trend

trend, swingline = CALL "SwingTrading Pro [gen]"[2, 0, 3, 0, 1](close)

signal=0
if summation[60](trend=-1)[1]=60 and (close crosses over swingline) then
signal=-1
endif
if summation[60](trend=1)[1]=60 and (close crosses under swingline) then
signal=1
endif

SCREENER[signal<>0](signal as "swingline test")


3. New bullish trend (green)

trend, ignored = CALL "SwingTrading Pro [gen]"[2, 0, 3, 0, 1](close)

SCREENER[trend<>trend[1] and trend=1](trend as "1=↑")

4. New bearish trend (red)

trend, ignored = CALL "SwingTrading Pro [gen]"[2, 0, 3, 0, 1](close)

SCREENER[trend<>trend[1] and trend=-1](trend as "-1=↓")

And many other ones possible ! please ask


directly to : genesys@gmx.us for special coding
request.

You might also like